HTML5 and CSS3, Second Edition

(singke) #1

Figure 23—Our video in Internet Explorer using Video.js


html5_video/videojs_index.html
<sectionclass="downloads">
<header>
<h3>Downloads</h3>
</header>
<ul>
<li><ahref="video/h264/01_blur.mp4">
H264,playableon mostplatforms</a></li>
<li><ahref="video/theora/01_blur.ogv">OGG format</a></li>
<li><ahref="video/webm/01_blur.webm">WebMformat</a></li>
</ul>
</section>

We could use Modernizr to detect video support like we saw in Tip 20, Working
with Audio, on page 137. But in many cases it makes more sense to let people
download these videos for offline use so they can watch them later on a tablet

Chapter 7. Embedding Audio and Video • 144


Download from Wow! eBook <www.wowebook.com> report erratum • discuss

Free download pdf