From the course: Delivering Video in Web Experiences

Unlock the full course today

Join today to access over 24,700 courses taught by industry experts.

Alternate content sources

Alternate content sources

- [Instructor] As you learned earlier, the web's reach is practically universal and that you have no control over which browser and browser version is being used to view your video. This is why you need to create MP4, Web M and AUGV versions of your video. Thankfully, HTML5 lets you solve this dilemma by giving you the opportunity to specify alternative source files. So let's see how that works. And to get yourself started, open the file you saved from the previous exercise or open the alternate source .HTML file found in the chapter download. And what we're going to do is going to add a little space here right above the alternative text. Just a couple of lines, just like that. And then we're going to come back up to line 45. And in that space we can add the alternate content used by the other browsers. Obviously inputting a list of video elements is inefficient, but HTML5 contains a source element that lets you add the…

Contents