Objects: Video (§13.3)

<object> may be used to embed video clips as well as still images.

The <param> element defines a parameter to pass information to an object when it runs.

Your Web browser may require you to download and install plugins to play the following.

QuickTime

QuickTime is a proprietary streaming video format frequently used on the Web. The official content type for QuickTime is video/quicktime.

Apple provides free plugins to play QuickTime for MacOS and Windows operating systems.

Example:

If your Web browser supports QuickTime, the following may play an “uncommercial”. Otherwise, it should render an image of three still frames from the video clip and a transcript of its message.

Setting an autoplay parameter to false tells the QuickTime plugin not to play the movie automatically as soon as it loads.

Though this movie is 320×240, the dimensions 320×256 are used because the plugin controls take up an additional 16 pixels.

<object data="/video/gdp.mov" type="video/quicktime" width="320" height="256" standby="Loading&hellip;">
<param name="autoplay" value="false">
<object data="/video/un-gdp.jpg" type="image/jpeg" width="420" height="130"></object>

<blockquote>
<p><q>For years, economists have defined the economic health of a country by its Gross Domestic Product. Trouble is, every time a forest falls, the <abbr>GDP</abbr> goes up. With every oil spill, the <abbr>GDP</abbr> goes up. Every time a cancer patient is diagnosed, the <abbr>GDP</abbr> goes up. Is this how we measure economic <em>progress</em>? Economists &hellip; must learn to subtract.</q></p>
</blockquote>
</object>

Your Web browser renders it like this:

For years, economists have defined the economic health of a country by its Gross Domestic Product. Trouble is, every time a forest falls, the GDP goes up. With every oil spill, the GDP goes up. Every time a cancer patient is diagnosed, the GDP goes up. Is this how we measure economic progress? Economists … must learn to subtract.

This message was brought to you by Adbusters.

Windows Media Player

Microsoft also has a proprietary streaming video format for its Windows Media Player. Microsoft recommends using the content type video/x-ms-wmv for Windows Media Player files that contain audio and video.

Example:

Here is an embedded Windows Media Player video clip. You may have to download and install a plugin before you can play the movie.

If your Web browser supports Windows Media, the following may play a clip from Face the Nation. Otherwise, it should render a still image and a transcript of the clip.

Setting an autostart parameter to 0 tells the Windows Media Player plugin not to play the movie automatically as soon as it loads. Different plugins use different parameter names.

Though this movie is 320×240, the dimensions 320×285 are used because the plugin controls take up an additional 45 pixels.

<object data="/video/rumsfelddeny4.wmv" type="video/x-ms-wmv" width="320" height="285" standby="Loading&hellip;">
<param name="autostart" value="0">
<object data="/video/rumsfeld-caught-lying.jpg" type="image/jpeg" width="250" height="187"></object>

<blockquote cite="http://www.cbsnews.com/htdocs/pdf/face_031404.pdf" title="Face the Nation (14 March 2004)">
<p><em>Schieffer:</em> Well, let me just ask you this. If they did not have these weapons of mass destruction, though, granted all of that is true, why then did they pose an immediate threat to us, to this country?</p>

<p><em>Rumsfeld:</em> Well, you&rsquo;re the&mdash;you and a few other critics are the only people I've heard use the phrase <q>immediate threat</q>. I didn&rsquo;t. The president didn&rsquo;t. And it&rsquo;s become kind of folklore that that&rsquo;s&mdash;that&rsquo;s what&rsquo;s happened. The president went&mdash;</p>

<p><em>Schieffer:</em> You&rsquo;re saying that nobody in the administration said that.</p>

<p><em>Rumsfeld:</em> I&mdash;I can&rsquo;t speak for nobody&mdash;everybody in the administration and say nobody said that.</p>

<p><em>Schieffer:</em> Vice president didn&rsquo;t say that? The&mdash;</p>

<p><em>Rumsfeld:</em> Not&mdash;if&mdash;if you have any citations, I&rsquo;d like to see &rsquo;em.</p>

<p><em>Friedman:</em> We have one here. It says <q>some have argued that the nu</q>&mdash;this is you speaking&mdash;<q>that the nuclear threat from Iraq is not imminent, that Saddam is at least five to seven years away from having nuclear weapons. I would not be so certain.</q></p>

<p><em>Rumsfeld:</em> And&mdash;and&mdash;</p>

<p><em>Friedman:</em> It was close to imminent.</p>

<p><em>Rumsfeld:</em> Well, I&rsquo;ve&mdash;I&rsquo;ve tried to be precise, and I&rsquo;ve tried to be accurate. I&rsquo;m s&mdash;suppose I&rsquo;ve&mdash;</p>

<p><em>Friedman:</em> <q>No terrorist state poses a greater or more <em>immediate threat</em> to the security of our people and the stability of the world and the regime of Saddam Hussein in Iraq.</q></p>

<p><em>Rumsfeld:</em> Mm&#8208;hmm. It&mdash;my view of&mdash;of the situation was that he&mdash;he had&mdash;we&mdash;we believe, the best intelligence that we had and other countries had and that&mdash;that we believed and we still do not know&mdash;we will know.</p>
</blockquote>
</object>

Your Web browser renders it like this:

Schieffer: Well, let me just ask you this. If they did not have these weapons of mass destruction, though, granted all of that is true, why then did they pose an immediate threat to us, to this country?

Rumsfeld: Well, you’re the—you and a few other critics are the only people I've heard use the phrase immediate threat. I didn’t. The president didn’t. And it’s become kind of folklore that that’s—that’s what’s happened. The president went—

Schieffer: You’re saying that nobody in the administration said that.

Rumsfeld: I—I can’t speak for nobody—everybody in the administration and say nobody said that.

Schieffer: Vice president didn’t say that? The—

Rumsfeld: Not—if—if you have any citations, I’d like to see ’em.

Friedman: We have one here. It says some have argued that the nu—this is you speaking—that the nuclear threat from Iraq is not imminent, that Saddam is at least five to seven years away from having nuclear weapons. I would not be so certain.

Rumsfeld: And—and—

Friedman: It was close to imminent.

Rumsfeld: Well, I’ve—I’ve tried to be precise, and I’ve tried to be accurate. I’m s—suppose I’ve—

Friedman: No terrorist state poses a greater or more immediate threat to the security of our people and the stability of the world and the regime of Saddam Hussein in Iraq.

Rumsfeld: Mm‐hmm. It—my view of—of the situation was that he—he had—we—we believe, the best intelligence that we had and other countries had and that—that we believed and we still do not know—we will know.

Matroska

Matroska is an open, cross‐platform, patent‐free multimedia file format. It supports advanced media features like chapters, menus, and multiple video, audio, and subtitle tracks.

Example:

This embedded Matroska video clip has 16 subtitle tracks.

If your Web browser can’t play this clip from Tokyo Mew Mew (東京ミュウミュウ), it should render a still image and present a link to download it.

<object data="/video/mewmew-vorbis-ssa.mkv" type="application/x-matroska" width="320" height="240" standby="Loading&hellip;">
<object data="/video/mkvtmm-a.jpg" type="image/jpeg" width="320" height="240"></object>

<p>Download a <a href="/video/mewmew-vorbis-ssa.mkv" type="application/x-matroska">Matroska demo</a> (7.8 <abbr title="mebibytes">MiB</abbr>).</p>
</object>

Your Web browser renders it like this:

Download a Matroska demo (7.8 MiB).