藍森林首頁 | 返回主頁 | 本站地圖 | 站內搜索 | 聯繫信箱 |
 您目前的位置:首頁 > 自由軟件 > 技術交流 > 應用編程


    

藍森林 http://www.lslnet.com 2006年8月25日 8:28

請教關於網頁中視頻播放的問題?

我想做個頁面,播放的連接內容和播放器插件安排在同一個窗口。
也就是說我點一個連接,不需要跳出新窗口,而在同一個頁面內置的插件來直接播放。代碼應該怎麼寫,需要建立數據庫嗎?需要用ASP嗎?
望大家能提供個最簡單有效的辦法。謝謝,在線等待中

[html]
  <object classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6" id="phx" width="430" height="64">
    <param name="URL" value="http://202.99.168.198/mp3/gn2/group/s.h.e/02.mp3">
    <param name="rate" value="1">
    <param name="balance" value="0">
    <param name="currentPosition" value="0">
    <param name="defaultFrame" value>
    <param name="playCount" value="1">
    <param name="autoStart" value="-1">
    <param name="currentMarker" value="0">
    <param name="invokeURLs" value="-1">
    <param name="baseURL" value>
    <param name="volume" value="91">
    <param name="mute" value="0">
    <param name="uiMode" value="full">
    <param name="stretchToFit" value="0">
    <param name="windowlessVideo" value="0">
    <param name="enabled" value="-1">
    <param name="enableContextMenu" value="-1">
    <param name="fullScreen" value="0">
    <param name="SAMIStyle" value>
    <param name="SAMILang" value>
    <param name="SAMIFilename" value>
    <param name="captioningID" value>
    <param name="enableErrorDialogs" value="0">
    <param name="_cx" value="11377">
    <param name="_cy" value="3625"><embed src="http://202.99.168.198/mp3/gn2/group/s.h.e/02.mp3" width="430" height="220" autostart="-1" url="http://202.99.168.198/mp3/gn2/group/s.h.e/02.mp3" rate="1" balance="0" currentposition="0" defaultframe="value" playcount="1" currentmarker="0" invokeurls="-1" baseurl="value" volume="50" mute="0" uimode="full" stretchtofit="0" windowlessvideo="0" enabled="-1" enablecontextmenu="-1" fullscreen="0" samistyle="value" samilang="value" samifilename="value" captioningid="value" enableerrordialogs="0" _cx="6482" _cy="6350">
  </object>

<table width="98%" border="1" cellspacing="4" cellpadding="0" align="center" height="136" bgcolor="#FFcccc">
<tr>
<td width="12%" height="9"><font color="#0000FF">1</font></td>
<td width="88%" height="9"><a href="javascript:phx.URL='http://www.fysf.com/38du/bcq/mp3/nbcqkl.mp3';phx.controls.play()"><font color="#0000FF">你比從前快樂</font></a></td>
</tr>
<tr>
<td width="12%" height="14"><font color="#0000FF">2</font></td>
<td width="88%" height="14"><a href="javascript:phx.URL='http://www.fysf.com/38du/bcq/mp3/dfp.mp3';phx.controls.play()"><font color="#0000FF">東風破</font></a></td>
</tr>
<tr>
<td width="12%" height="14"><font color="#0000FF">3</font></td>
<td width="88%" height="14"><a href="javascript:phx.URL='http://www.fysf.com/38du/bcq/mp3/jda.mp3';phx.controls.play()"><font color="#0000FF">簡單愛</font></a></td>
</tr>
<tr>
<td width="12%" height="14"><font color="#0000FF">4</font></td>
<td width="88%" height="14"><a href="javascript:phx.URL='http://www.fysf.com/38du/bcq/mp3/kanr.mp3';phx.controls.play()"><font color="#0000FF">可愛女人</font></a></td>
</tr>
<tr>
<td width="12%" height="10"><font color="#0000FF">5</font></td>
<td width="88%" height="10"><a href="javascript:phx.URL='http://www.fysf.com/38du/bcq/mp3/1943.mp3';phx.controls.play()"><font color="#0000FF">上海一九四三</font></a></td>
</tr>
<tr>
<td width="12%" height="16"><font color="#0000FF">6</font></td>
<td width="88%" height="16"><a href="javascript:phx.URL='http://www.fysf.com/38du/bcq/mp3/yy.mp3';phx.controls.play()"><font color="#0000FF">爺爺泡的茶</font></a></td>
</tr>
<tr>
<td width="12%" height="14">7</td>
<td width="88%" height="14"></td>
</tr>
<tr>
<td width="12%" height="14">8</td>
<td width="88%" height="14"></td>
</tr>
<tr>
<td width="12%" height="22">9</td>
<td width="88%" height="22"></td>
</tr>
<tr>
<td width="12%" height="15">10</td>
<td width="88%" height="15"></td>
</tr>
</table>

[/html]

請教朋友:
   以下代碼很好,但是不能播放RM格式的音頻文件;你能否告訴我像以下同樣形式但是
是播放RM格式音樂的播放器代碼嗎?
   我用以下代碼做了一個網頁請你給於指教,地址: http://www.sdlyw.com/ylcb.html


panliu888在上個帖子中說

請教朋友:
   以下代碼很好,但是不能播放RM格式的音頻文件;你能否告訴我像以下同樣形式但是
是播放RM格式音樂的播放器代碼嗎?
   我用以下代碼做了一個網頁請你給於指教,地址: http://www.sdlyw.com/ylcb.html




Copyright © 1999-2000 LSLNET.COM. All rights reserved. 藍森林網站 版權所有。 E-mail : webmaster@lslnet.com