HTML5 Rocks – In contemporary browsers, including a movie to your page can be as effortless as including a picture.

HTML5 Rocks – In contemporary browsers, including a movie to your page can be as effortless as including a picture.

not do you’ll want to handle unique plug-ins or need crazy markup, you can take action by having an element that is single.

The Markup

Let us leap in with an example that is really simple

That is all you have to embed a easy movie on your web page and show the basic settings in order that a person can play, pause or otherwise control the video clip.

Indicating Sources

You are able to specify numerous supply files using the element. The origin element lets you specify multiple platforms as a fallback just in case an individual’s web web browser does not help one of these. As an example:

If the browser parses the tag, it utilizes the type that is optional to greatly help determine which file to down load and play. Read more