换种问法,下面是我写的一个播放器代码,是把视频添加到项目中的一个文件夹中,但这个播放器必须是绝对路径才会播放,只要地址不对就播放不了,有哪位高手帮忙解决!
<object classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" height="285" id="RAOCX" name="rmplay" width="356">
<param name="SRC" value='<%=url %>'>
<param name="CONSOLE" value="Clip1">
<param name="CONTROLS" value="imagewindow">
<param name="AUTOSTART" value="true">
</object>
</td>
</tr>
<tr>
<td align="center">
<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>