视频播放器代码

 

1. Google Video and YouTube FLASH视频代码格式:<object type="application/x-shockwave-flash" 
data="swf视频文件地址
width="400" height="326" id="VideoPlayback">
<param name="movie" 
value="swf视频文件地址" />
<param name="allowScriptAcess" value="sameDomain" /><param name="quality" value="best" />
<param name="bgcolor" value="#FFFFFF" /><param name="scale" value="noScale" /><param name="salign" value="TL" />
<param name="FlashVars" value="playerMode=embedded" />
</object>

    2.Windows Media Player 视频代码格式:<object type="video/x-ms-wmv" 
data="wmv视频文件地址
width="320" height="260">
<param name="src" 
value="wmv视频文件地址" />
<param name="autostart" value="true" />
<param name="controller" value="true" />
</object>

   3.QuickTime movies 视频代码格式:<object classid="clsid:02BF25D5-8C17-4B23-BC80- » D3488ABDDC6B" 
codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="320" height="260">
<param name="src" value="mov视频文件地址" />
<param name="controller" value="true" /><param name="autoplay" value="false" />
<!--[if !IE]>-->
<object type="video/quicktime" data="mov视频文件地址
width="320" height="260">
<param name="autoplay" value="false" /><param name="controller" value="true" />
</object><!--<![endif]--></object>

4.RealPlayer视频代码格式:

<object id="vid" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA"  width=495 height=370>
<param name="_ExtentX" value="11298"> <param name="_ExtentY" value="7938"> <param name="AUTOSTART" value="0">
<param name="SHUFFLE" value="0"> <param name="PREFETCH" value="0"> <param name="NOLABELS" value="-1">
<param name="SRC" value= " RM视频文件地址";>
<param name="CONTROLS" value="Imagewindow"> <param name="CONSOLE" value="clip1"> <param name="LOOP" value="0">
<param name="NUMLOOP" value="0"> <param name="CENTER" value="0"> <param name="MAINTAINASPECT" value="0">
<param name="BACKGROUNDCOLOR" value="#000000"> </object> <object id="vid2" classid= "clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA"  width=495 height=30> <param name="_ExtentX" value="11298"> <param name="_ExtentY" value="794">
<param name="AUTOSTART" value="0"> <param name="SHUFFLE" value="0"> <param name="PREFETCH" value="0"> <param name="NOLABELS" value="-1">
<param name="SRC" value= " RM视频文件地址";>
<param name="CONTROLS" value="ControlPanel"> <param name="CONSOLE" value="clip1"> <param name="LOOP" value="0">
<param name="NUMLOOP" value="0"> <param name="CENTER" value="0"> <param name="MAINTAINASPECT" value="0">
<param name="BACKGROUNDCOLOR" value="#000000">
</object>

你可能感兴趣的:(播放器)