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

网页中插入rmvb视频播放不了
下面是源代码:
<tr> <td><object classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" height="285" width="356"> <param name="SRC" value="../UpLoadFile/1.rmvb"> <param name="CONSOLE" value="Clip1"> <param name="CONTROLS" value="imagewindow"> <param name="AUTOSTART" value="true"> <embed src="../UpLoadFile/1.rmvb" autostart="true" controls="ImageWindow" console="Clip1" width="356" height="285" pluginspage="http://www.real.com"/’ target="_blank" >http://www.real.com"> </embed> </object> </td> </tr> <tr> <td> <object classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" height="27" id="video1" width="356"> <param name="_ExtentX" value="7276"> <param name="_ExtentY" value="1058"> <param name="AUTOSTART" value="0"> <param name="SHUFFLE" value="0"> <param name="PREFETCH" value="0"> <param name="NOLABELS" value="0"> <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="#ffffff"> <embed type="audio/x-pn-realaudio-plugin" console="Clip1" controls="ControlPanel" height="27" width="356" autostart="0" _extentx="7276" _extenty="1058" shuffle="0" prefetch="0" nolabels="0" loop="0" numloop="0" center="0" maintainaspect="0" backgroundcolor="#ffffff"> </embed> </object> </td> </tr>
网页执行结果只显示realplayer的界面,不播放。<param name="SRC" value="../UpLoadFile/1.rmvb"> 这个路径到底怎么回事,网上找了很多代码,都说可以运行,可到了我的电脑就是播放不了。。。。各位帮帮忙啊。。。。先谢了。。。。。挺急的。。。。。。。。

------解决方案--------------------
UpLoadFile如果是网站根目录下的文件,其实这样就行了,value="/UpLoadFile/1.rmvb">
------解决方案--------------------
HTML code

<OBJECT id=player height=300 width=500 border=0 classid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA name=player>
<param name="_ExtentX" value="13229">
<param name="_ExtentY" value="7938">
<param name="AUTOSTART" value="0">
<param name="SHUFFLE" value="0">
<param name="PREFETCH" value="0">
<param name="NOLABELS" value="0">
<param name="SRC" value="加入你电影的途径">
<param name="CONTROLS" value="