With subtitler you can add subtitler to your HTML5 videos based on standard srt format subtitles. You can use HTML tags to add some styling your subtitles. And the look of the subtitles can be customized with CSS .
How to use
To use the script you add the following script to your page after loading jQuery and the subtitler plugin:
$('#video').subtitle("subtitles.srt", {style:{'background': '#000', 'opacity': 0.8}, width: 400, height: 300});