HTML and CSS Reference
In-Depth Information
25
inserting Video
The rise of online video has had a significant impact on the Web. Video has transitioned from
the jerky, postage-stamp size and tinny-sounding implementation of just a few years back to
full-screen, high-definition quality, complete with an immersive soundtrack. With the inclu-
sion of a <video> tag in HTML5, video on the Web is bound to continue to expand and
become even more ubiquitous. In this lesson, you learn all about the different video formats,
the most common way to show video via a plug-in, and how to apply the new plug-in free
approach in HTML5.
workinG wiTH Video TyPes
Online video is among the most complex topics facing the web designer today. As with audio,
a great number of incompatible formats are available — and they keep coming. Moreover, the
very nature of video, which can combine both sight and sound, requires a sophisticated pack-
aging system that can deliver synchronized video and audio tracks in a compressed file.
To handle multiple tracks required by most videos, video container formats were developed.
Among the most popular container formats are:
: Developed by Adobe for use in its Flash Player plug-in, the .flv (and related
.f4v ) formats enjoy wide-spread use on the Web in sites including YouTube, Hulu,
Google Video, and others.
.flv
: A video compression format developed by the Motion Pictures Expert Group —
LA, often used in conjunction with Apple's QuickTime Player.
.mp4
: A container format developed by the Xiph open source foundation for use in the
HTML5 <video> tag.
.ogg
: A royalty-free, high-quality video container pioneered by Google, also for use in
the <video> tag.
.webM
Search WWH ::




Custom Search