HTML5 video

HTML5 video is an element introduced in the HTML5 draft specification for the purpose of playing videos or movies, partially replacing the object element.
Adobe Flash Player is widely used to embed video on web sites such as YouTube, since the majority of web browsers have Adobe's Flash Player installed (with exceptions such as the browsers on the Apple iPhone and iPad and on Android 2.1 or less). HTML5 video is intended by its creators to become the new standard way to show video online, but has been hampered by lack of agreement as to which video formats should be supported in the video tag.

The following HTML5 code fragment will embed a WebM video into a web page.

<video src="movie.webm" controls>
This is fallback text to display if the browser does not support the video element.
</video>

0 comments:

Post a Comment