Lo here is an example of what is not being hypocryte and also not be out of topic,
Playing Videos in HTML
Example
<video width="320" height="240" controls>
<source src="movie.mp4" type="video/mp4">
<source src="movie.ogg" type="video/ogg">
<source src="movie.webm" type="video/webm">
<object data="movie.mp4" width="320" height="240">
<embed src="movie.swf" width="320" height="240">
</object>
</video>
Try it yourself »
Problems, Problems, and Solutions
Displaying videos in HTML is not easy!
You must add a lot of tricks to make sure your video will play in all browsers (Internet Explorer, Chrome, Firefox, Safari, Opera) and on all hardware (PC, Mac , iPad, iPhone).
In this chapter W3Schools summarizes the problems and the solutions.
The <embed> Element
The purpose of the <embed> tag is to embed multimedia elements in HTML pages.
The following HTML fragment displays a Flash video embedded in a web page:
Example
<embed src="intro.swf" height="200" width="200">
Try it yourself »
Problems
If the browser does not support Flash, the video will not play
iPad and iPhone do not support Flash videos
If you convert the video to another format, it will still not play in all browsers
Using The <object> Element
The purpose of the <object> tag is to embed multimedia elements in HTML pages.
The following HTML fragment displays a Flash video embedded in a web page:
Example
<object data="intro.swf" height="200" width="200"></object>
Try it yourself »
Problems:
If the browser does not support Flash, the video will not play
iPad and iPhone do not support Flash videos
If you convert the video to another format, it will still not play in all browsers
Using the HTML5 <video> Element
The HTML5 <video> tag defines a video or movie.
The <video> element works in all modern browsers.
The following HTML fragment displays a video in OGG, MP4, or WEBM format:
Example
<video width="320" height="240" controls>
<source src="movie.mp4" type="video/mp4">
<source src="movie.ogg" type="video/ogg">
<source src="movie.webm" type="video/webm">
Your browser does not support the video tag.
</video>
Try it yourself »
Problems:
You must convert your videos to many different formats
The <video> element does not work in older browsers
The Best HTML Solution
The example below uses 4 different video formats. The HTML 5 <video> element tries to play the video either in MP4, OGG, or WEBM format. If this fails, the code "falls back" to try the <object> element. If this also fails, it "falls back" to the <embed> element:
HTML 5 + <object> + <embed>
<video width="320" height="240" controls>
<source src="movie.mp4" type="video/mp4">
<source src="movie.ogg" type="video/ogg">
<source src="movie.webm" type="video/webm">
<object data="movie.mp4" width="320" height="240">
<embed src="movie.swf" width="320" height="240">
</object>
</video>
Try it yourself »
by op VEGAS