日期:2014-05-16  浏览次数:20441 次

网页插入的播放器代码 ,播放不了AVI的视频.
我调用的的是real的播放器     我机器里下载的是real   10.6   版本的播放器.
可是测试页面就是显示   无可用信息

我的代码入下


-----------------------
<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= "http://www.huhumao.com/111/tang.avi ">
<embed   width= "400 "   height= "200 "   border= "0 "   showdisplay= "0 "   showcontrols= "1 "   autostart= "1 "   autorewind= "0 "   playcount= "0 "   moviewindowheight= "240 "   moviewindowwidth= "320 "   filename= "http://www.huhumao.com/111/tang.avi "   src= "http://www.huhumao.com/111/tang.avi ">  
</embed>  
</object>

测试页面是   www.huhumao.com/111/avi.htm

希望好心的朋友帮帮我
小弟先谢谢了


------解决方案--------------------
最好转成rm或者用MediaPlayer播放
或者
<embed src= "xx.avi "> </embed> 根据客户端的播放器自动选择
------解决方案--------------------
你可以试一下嵌入Windows Media Player ,可以播放.avi和rmvb的视频。这个我做过。如果出现只有视频没有声音的话 ,建议你安装ffdshow这个解码器。
<object classid= "clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95 " width= "600 " height= "400 " hspace= "0 " vspace= "0 " id= "MusicBox " >
<param name= "AudioStream " value= "-1 ">
<param name= "AudioStream " value= "-1 ">
<param name= "AutoSize " value= "-1 ">
<param name= "AutoStart " value= "-1 ">
<param name= "AnimationAtStart " value= "-1 ">
<param name= "AllowScan " value= "-1 ">
<param name= "AllowChangeDisplaySize " value= "-1 ">
<param name= "AutoRewind " value= "0 ">
<param name= "Balance " value= "0 ">
<param name= "BaseURL " value>
<param name= "BufferingTime " value= "5 ">
<param name= "CaptioningID " value>
<param name= "ClickToPlay " value= "-1 ">
<param name= "CursorType " value= "0 ">
<param name= "CurrentPosition " value= "-1 ">
<param name= "CurrentMarker " value= "0 ">
<param name= "DefaultFr