日期:2014-05-17  浏览次数:20661 次

有段关于在网页上嵌入Media Player 的代码看不懂,请大家指教.....



<body>
<object   id= "WMP7 "     classid= "CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95 "  
        width= "640 "   height= "525 "   standby   =   "Loading   MicrosoftR   WindowsR   Media   Player   components... "  
        type= "application/x-oleobject ">
    <param   name= "FileName "   value= "mov/abcd.rm "   />
    <param   name= "ShowControls "   value= "True "   />
    <param   name= "ShowAudioControls "   value= "True "   />
    <param   name= "Volume "   value= "0 "   />
    <param   name= "ShowDisplay "   value= "False "   />
    <param   name= "ShowGotoBar "   value= "False "   />
    <param   name= "ShowPositionControls "   value= "True "   />
    <param   name= "ShowStatusBar "   value= "False "   />
    <param   name= "ShowTracker "   value= "True "   />
    <param   name= "AutoStart "   value= "true "   />
    <param   name= "EnableContextMenu "   value= "False "   />
</object>
</body>


请问是每个name代表什么意思,

另请播发另一个网站的媒体,该怎么做,




------解决方案--------------------
这些name都是来控制你要加载的这个播放器的样式或者播放方式的,
最简单的比如:
<param name= "AutoStart " value= "true " />
就是加载播放器后,就再动播放,aytostart不就是自动开始嘛

------解决方案--------------------
1.avi格式
代码片断如下:
<object id= "video " width= "400 " height= "200 " border= "0 " classid= "clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA ">
<param name= "ShowDisplay " value= "0 ">
<param name= "ShowControls " value= "1 ">
<param name= "AutoStart " value= "1 ">
<param name= "AutoRewind " value= "0 ">
<param name= "PlayCount " value= "0 ">
<param name= "Appearance value= "0 value= " " ">
<param name= "BorderStyle value= "0 value= " " ">
<param name= "MovieWindowHeight " value= "240 ">
<param name= "MovieWindowWidth " value= "320 ">
<param name= "FileName " value= "/Mbar.avi ">
<embed width= "400 " height= "200 " border= "0 " showdisplay= "0 " showcontrols= "1 " autostart= "1 " autorewind= "0 " playcount= "0 " moviewindowheight= "240 " moviewindowwidth= "320 " filename= "/Mbar.avi " src= "Mbar.avi ">
</embed>
</object>
2.mpg格式
代码片断如下:
<object classid= "clsid:05589FA1-C356-11CE-BF01-00AA0055595A " id= "ActiveMovie1 " width= "239 " height= "250 ">
<param name= "Appearance "