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. <audio>/<video> for Publishers > HTML5 Audio/Video Compatibility in the Brow...

HTML5 Audio/Video Compatibility in the Browser and Ereaders

HTML5 Audio/Video is currently supported across most major Web browsers (including Firefox, Safari, Google Chrome, and even [finally!] Internet Exporer), the specific audio/video formats supported vary from platform to platform, as the HTML5 spec itself is currently format-agnostic. Wikipedia has some nice tables tracking the current status of HTML5 audio and video support across the different browsers, but here’s a quick summary of audio formats you should supply to ensure good compatibilty:

  • HTML5 Audio: WAV, MP3, Ogg

  • HTML5 Video: H.264 MPEG-4, Ogg

On EPUB ereaders, HTML5 audio/video support is more widespread than support for either Canvas or Geolocation, but is still limited to a few platforms. Here’s a rundown of formats supported by HTML5 Audio/Video–compliant ereaders:


  

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