- Java code
<object id="RAOCX" name="rmplay" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" width="175" height="125"> <param name="_ExtentX" value="24262"> <param name="_ExtentY" value="15425"> <param name="AUTOSTART" value="-1"> <param name="SHUFFLE" value="0"> <param name="PREFETCH" value="0"> <param name="NOLABELS" value="0"> <param name="SRC" value="fff.wmv"> <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>
我想在jsp上来播放视频,但是点击这个页面时,显示RealPlayer更新找不到,不能播放,请问可以用其他来播放的吗?
或者还有什么方法能播放视频的呢?
我是把视频上传到空间里面的指定文件夹里面,那怎样播放呢?
还有怎样控制播放和暂停那些按钮呢?
------解决方案--------------------------------------------------------
<embed src="http://localhost:8080/WebModule1/movie.rm" autostart="true" loop="true" width="200" height="150" >
将src的值换成你的视频文件url就行了。
------解决方案--------------------------------------------------------
额。。。。红色没显示出来
<OBJECT id=video1 style="LEFT: 100px; TOP: 100px" height=352 width=350
classid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA>
<PARAM NAME="_ExtentX" VALUE="12118">
<PARAM NAME="_ExtentY" VALUE="7938">
<PARAM NAME="AUTOSTART" VALUE="1">
<PARAM NAME="SHUFFLE" VALUE="0">
<PARAM NAME="PREFETCH" VALUE="0">
<PARAM NAME="NOLABELS" VALUE="0">
<PARAM NAME="SRC" VALUE="<%=izb_xx.getVideo_url() %>">
<PARAM NAME="CONTROLS" VALUE="StatusBar,Imagewindow,ControlPanel">
<PARAM NAME="CONSOLE" VALUE="RAPLAYER">
<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">
<PARAM NAME="EnableFullScreenControls" VALUE="0">
<embed src="<%=izb_xx.getVideo_url() %>" width="350" height="352" autostart="1" loop="0" _extentx="12118" _extenty="7938" shuffle="0" prefetch="0" nolabels="0" controls="StatusBar,Imagewindow,ControlPanel" console="RAPLAYER" numloop="0" center="0" maintainaspect="0" backgroundcolor="#000000" enablefullscreencontrols="0"></embed>