Publishers of technology books, eBooks, and videos for creative people

Home > Articles > Web Design & Development > HTML/XHTML

  • Print
  • + Share This
From the author of Legacy Browsers

Legacy Browsers

Legacy browsers, by which we usually mean older versions of Internet Explorer (8 and below), don't support HTML5 and therefore are unable to understand any of the HTML5 code in the previous examples. In order to serve the same audio/video content to these browsers, it is also possible to provide a fallback such as a third-party plugin (for example Adobe Flash) or even a simple link to the media file in question for the user to download:

<audio controls>
   <source src="audio.ogg" type="audio/ogg">
   <source src="audio.mp3" type="audio/mp3">
   <a href="audio.mp3">Download the MP3 file</a>
</audio>

Older versions of Internet Explorer will simply ignore the audio and source elements in the example above and only display the download link. An alternative Flash player could also be provided in place or in addition to the download link, and this would be used instead.

  • + Share This
  • 🔖 Save To Your Account