一句话在firefox5.0中播放视频
新建一个video.html文件,内容如下:
<html xmlns="http://www.w3.org/1999/xhtml"> <body spellcheck="false" style="background:#ccc; font-size:30px;"> <video id="v0" src="http://people.mozilla.com/~prouget/demos/resources/videos/billyBrowsers.ogg" controls="" poster="http://people.mozilla.com/~prouget/demos/DynamicContentInjection/firefox.png"> <p>Sorry, your browser does not support the video element.</p> </video> </body> </html>
放到一个站点下面,用firefox5.0打开:video.html,就可以看到火狐播放这个视频了。没有flash,没有插件。的确是firefox自己在播放。这就是html5吧。很酷。