Get Started With HTML5 by Matthew Hughes

Get Started With HTML5 by Matthew Hughes

Author:Matthew Hughes
Language: eng
Format: epub
Tags: Reference
Published: 2013-07-11T16:00:00+00:00


The next thing we're going to want to do is create a fallback. What does this mean? So, suppose you're using one of the older, less awesome browsers out there. Lots of these older browsers do not support HTML5 video and therefore cannot play HTML5 video. You're going to want to leave them a message informing them that they're going to want to upgrade their browser and that until they do so, they will not be able to watch your video.

To do that, you just write your message inside of your video tags. Nothing else is required. Once you've done that, you're going to be left with some code that looks like this.

Now, let's add some video. I'm going to test this on Google Chrome, so I'm going to link to an MP4 film. To do that, I create a Source tag and give it an attribute of src which has a value of the video I want to include.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.