How to embed video like Firefox page?

firefox3.5, html, video

Solution

Quoting from developer.mozilla.org:

Firefox 3.5 introduced support for the HTML 5 audio and video elements, offering the ability to easily embed media into HTML documents. Currently, Ogg Theora, Ogg Vorbis, and WAV format media is supported.

You can embed video in the same way like this:

<video src="http://v2v.cc/~j/theora_testsuite/320x240.ogg" autoplay>  
  Your browser does not support the <code>video</code> element.  
</video>

Note however that currently only Firefox 3.5 supports following tag and only with Ogg Theora/Vorbis content. Other browsers will get only: Your browser does not support the `video` element..

Moreover Firefox 3.5 doesn't handle incorrect videos very well. If the video is not in supported format, it will just display blank area. I suggest reading more on the issues and workarounds at the source

No one really knows how will standardization of `<video>` tag go, but let's cross our fingers.

Problem

I just updated Firefox 3.5. When I visited Firefox website there is a video. When you click it, it enlarges and plays. I wonder if anyone knows how you can do it. Does it use any plug-in?

Original source