Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

3. Multimedia Hacking > Hack 32. Add Subtitles to Your HTML5 Video Element

Hack 32. Add Subtitles to Your HTML5 Video Element

Video can be a powerful communications tool for the Web, but to fully reach your user base, your <video> and <audio> tags need to be accessible. HTML5 provides you with easy-to-implement subtitles through the new <track> tag, and WebVTT files.

Subtitles can be amazingly beneficial for web-based video files. Primarily, subtitles are important for hearing-impaired users who may be able to watch your video, but without subtitles wouldn’t know what was being said. Subtitles can also be used to provide multilingual assistance. If your video is in English, you can provide Spanish, French, and German subtitles to allow non-English speakers the opportunity to enjoy the content as well.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint