初学者遇到的一个关于 rm 播放器的问题,热心人请进来一看 ————
我下载了一些 rm 文件,刻录在了光盘上的一个文件夹下,比如文件夹名为:Item,我想在 Item 文件夹的同级目录下做一个 html 文件,来管理放在 Item 下的 rm 文件。
具体就是:
网页上方是一个 rm 播放器,下方是一个表格,表里放着 Item 下的所有 rm 文件名,我想做到在表里每点一个标题,就在 rm 播放器里播放与该标题相关的 rm 文件。
偶试了多次,仍然不得其解,请路过高手支招,谢谢——
------解决方案-------------------- <object id= "myMovie " classid= "clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA " width= "540 " height= "100 ">
<param name= "src " value= "rtsp://realmedia.uic.edu/itltv/bbintro.30jan02.smil ">
<param name= "console " value= "video1 ">
<param name= "controls " value= "All ">
<param name= "autostart " value= "false ">
<param name= "loop " value= "false ">
<embed name= "myMovie " src= "http://realmedia.uic.edu/ramgen/itltv/bbintro.30jan02.smil?embed " height= "100 " width= "540 " autostart= "false " loop= "false " nojava= "true " console= "video1 " controls= "All "> </embed>
<noembed> <a href= "http://realmedia.uic.edu/ramgen/itltv/bbintro.30jan02.smil "> Play first clip </a> </noembed>
</object>
<br>
<object id= "myMovie " classid= "clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA " width= "540 " height= "36 ">
<param name= "src " value= "rtsp://realmedia.uic.edu/itltv/bbtips.6feb02.smi ">
<param name= "console " value= "video2 ">
<param name= "controls " value= "ControlPanel ">
<param name= "autostart " value= "false ">
<param name= "loop " value= "false ">
<embed name= "myMovie " src= "http://realmedia.uic.edu/ramgen/itltv/bbtips.6feb02.smi?embed " height= "36 " width= "540 " autostart= "false " loop= "false " nojava= "true " console= "video2 " controls= "ControlPanel "> </embed>
<noembed> <a href= "http://realmedia.uic.edu/ramgen/itltv/bbtips.6feb02.smi "> Play second clip </a> </noembed>
</object>
<table>
<tr>
<td> xx.rm </td> <td> <input onclick= "playTD( 'xx.rm ') " value=play type=button/> </td>
</tr>
</table>
<script>
function playTD(url)
{
document.all.myMovie.Souce=url
}
</script>