HTML and CSS Reference
In-Depth Information
N OTE If you are using XHTML5, given that controls is an occurrence style attribute, use
controls="controls" to be conforming.
You should note the included content in the tag that nonsupporting browsers fall back
to. The following shows Internet Explorer displaying the alternative content:
However, even if a browser supports the video element, it might still have problems
displaying the video. For example, Firefox 3.5 won't load this particular media format directly:
HTML5 open video has, as it currently stands, brought back the madness of media
codec support that Flash solved, albeit in a less than stellar way. To address the media
support problem, you need to add in alternative formats to use by including a number of
<source> tags:
<video width="640" height="360" controls poster="loading.png">
<source src="html_5.mp4" type="video/mp4">
<source src="html_5.ogv" type="video/ogg">
<strong> HTML5 video element not supported </strong>
</video>
Search WWH ::




Custom Search