html5中使用标签支持视频播放

    <!--定义视频-->
<!-- <video src="E:/ext-4.2.1.883/learnHtml5/Wildlife.wmv" controls="controls">video</video>-->
<!--定义音频-->
<!-- <audio src="Wildlife.wmv">audio</audio>-->
<!--引入视频、音频-->
<!-- <embed src="北半球某地太阳周日视运动.swf"/>--> <!--<video width="320" height="240" controls="controls" autoplay="autoplay">
<source src="/i/movie.ogg" type="video/ogg" />
<source src="/i/movie.mp4" type="video/mp4" />
<source src="/i/movie.webm" type="video/webm" />
<source src="E:/ext-4.2.1.883/learnHtml5/Wildlife.wmv" type="video/wmv">
<object data="E:/ext-4.2.1.883/learnHtml5/Wildlife.wmv" width="320" height="240">
<embed width="320" height="240" src="E:/ext-4.2.1.883/learnHtml5/Wildlife.wmv" />
</object>
</video>--> <!-- <OBJECT id="Player" classid="clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6" width="1000" height="500">
<param name="URL" value="E:/ext-4.2.1.883/learnHtml5/Wildlife.wmv" />
<param name="AutoStart" value="true" />
<param name="ShowStatuBar" value="true"/>
</OBJECT> 支持IE-->

希望给大家灵感!

html所支持的视屏格式:

http://www.ruanyifeng.com/blog/2010/05/html5_codec_fight.html

上一篇:DOM之节点|属性


下一篇:Django 配置总结