HTML5 Video Subtitles Experiment

Well, isn’t this pretty awesome? This little lab experiment enables you to place .srt subtitles in your video. You just have to link to them with ajax and it will get the correct captions and place them in an array. Every time the video tag sends the ontimeupdate event, it checks if there is a subtitle line available for that time and places it in the video.

Here’s an iframe for you:

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Identi.ca
  • Reddit
  • StumbleUpon
  • Twitter
14/02/2010
Filed Under: Coding, HTML5

Leave a Reply