HTML and CSS Reference
In-Depth Information
<video width="320" height="240">
<source src="trailer.webm" type='video/webm; co-
decs="vp8, vorbis"' />
<source src="trailer.mp4" type='video/mp4; codec-
s="avc1.4D401E, mp4a.40.2"' />
<source src="trailer.ogv" type='video/ogg; codec-
s="theora, vorbis"' />
<object type="application/x-shockwave-flash"
data="videoplayer.swf" width="320"
height="240">
<img src="poster.jpg" width="320" height="240"
alt="" title="Movie trailer" />
<p><strong>Movie trailer.</strong><br
/>
Download
video
files
as:
<a
href="trailer.webm">WebM</a>,
<a href="trailer.mp4">MPEG-4</a>, or <a
href="trailer.ogv">Ogg</a>.
</p>
</object>
</video>
In a browser that didn't support the video element and didn't have the Flash Player
installed, the browser would display the fallback text ( Figure 5-5 ) .
Search WWH ::




Custom Search