曲阿论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1932|回复: 0

专辑播放器02代码实例

[复制链接]
发表于 2011-12-9 19:56:24 | 显示全部楼层 |阅读模式 来自 中国江苏镇江
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  4. <title>网络媒体播放器</title>
  5. <TABLE style="LEFT: 0px; POSITION: relative; TOP: 0px" height=400 cellSpacing=0 cellPadding=0 width=1000 background="http://bbs.danyangnet.com/data/attachment/forum/201112/05/0837166qxgxh4eiipzg4ws.jpg" tuborder="0">
  6. <TBODY>
  7. <TR>
  8. <TD>
  9. </TD></TR></TBODY></TABLE>
  10. <STYLE TYPE="text/css">
  11. <!--
  12. A {
  13. COLOR: silver; TEXT-DECORATION: none
  14. }
  15. A:link {
  16. COLOR: silver; TEXT-DECORATION: none
  17. }
  18. A:visited {
  19. COLOR: silver; TEXT-DECORATION: none
  20. }
  21. A:active {
  22. COLOR: white; TEXT-DECORATION: none
  23. }
  24. A:hover {
  25. COLOR: white; TEXT-DECORATION: none
  26. }
  27. BODY {
  28. MARGIN: 0px; OVERFLOW: hidden; CURSOR: crosshair
  29. }
  30. BODY {
  31. FONT-SIZE: 9pt; FONT-FAMILY: 'Tahoma','Verdana','Arial'
  32. }
  33. TD {
  34. FONT-SIZE: 9pt; FONT-FAMILY: 'Tahoma','Verdana','Arial'
  35. }
  36. .title {
  37. BORDER-RIGHT: silver 0px solid; BORDER-TOP: silver 0px solid; FONT-SIZE: 9pt; BORDER-LEFT: silver 0px solid; COLOR: #ffffff; BORDER-BOTTOM: silver 0px solid; FONT-FAMILY: 'Tahoma','Verdana','Arial'; BACKGROUND-COLOR: #000000
  38. }
  39. .time {
  40. BORDER-RIGHT: silver 0px solid; BORDER-TOP: silver 0px solid; FONT-SIZE: 9pt; BORDER-LEFT: silver 0px solid; COLOR: #ffffff; BORDER-BOTTOM: silver 0px solid; FONT-FAMILY: 'Tahoma','Verdana','Arial'; BACKGROUND-COLOR: #000000
  41. }
  42. .buttons {
  43. BORDER-RIGHT: silver 0px solid; BORDER-TOP: silver 0px solid; FONT-SIZE: 9pt; BORDER-LEFT: silver 0px solid; COLOR: #ffffff; BORDER-BOTTOM: silver 0px solid; FONT-FAMILY: 'Tahoma','Verdana','Arial'; BACKGROUND-COLOR: #000000
  44. }
  45. BODY {
  46. BACKGROUND-COLOR: #000000
  47. }
  48. //-->
  49. </STYLE>
  50. <script language="JavaScript" src="http://www.hlx912.cn//xfz912/yy/exobud.js"></script>
  51. <script language="JavaScript">
  52. var blnAutoStart = true;
  53. var blnRndPlay = false;
  54. var blnShowTitle = true;
  55. var blnShowTime = true;
  56. var blnStatusBar = true;
  57. var blnShowVolCtrl = true;
  58. var blnShowPlist = true;
  59. var blnUseSmi = false;
  60. var blnLoopTrk = true;
  61. var blnShowMmInfo = false;
  62. var btnOffColor = "black";
  63. var btnOnColor = "black";
  64. //-->
  65. </script>
  66. <script language="JavaScript">
  67. <!--
  68. mkList("http://storage.live.com/items/B5849A8C3C39F646%21826?3Ffilename%3D/01.mp3","离弦");
  69. mkList("http://storage.live.com/items/B5849A8C3C39F646%21827?3Ffilename%3D/02.mp3","呼吸");
  70. mkList("http://storage.live.com/items/B5849A8C3C39F646%21828?3Ffilename%3D/03.mp3","升");
  71. mkList("http://storage.live.com/items/B5849A8C3C39F646%21829?3Ffilename%3D/04.mp3","千寻");
  72. mkList("http://storage.live.com/items/B5849A8C3C39F646%21830?3Ffilename%3D/05.mp3","未来城市");
  73. mkList("http://storage.live.com/items/B5849A8C3C39F646%21831?3Ffilename%3D/06.mp3","光");
  74. mkList("http://storage.live.com/items/B5849A8C3C39F646%21832?3Ffilename%3D/07.mp3","完美");
  75. mkList("http://storage.live.com/items/B5849A8C3C39F646%21833?3Ffilename%3D/08.mp3","媒");
  76. mkList("http://storage.live.com/items/B5849A8C3C39F646%21834?3Ffilename%3D/09.mp3","掠-未完成");
  77. mkList("http://storage.live.com/items/B5849A8C3C39F646%21835?3Ffilename%3D/10.mp3","夜提琴");
  78. //-->
  79. </script>
  80. <script language="JScript" for="Exobud" event="openStateChange(sf)">evtOSChg(sf);</script>
  81. <script language="JScript" for="Exobud" event="playStateChange(ns)">evtPSChg(ns);</script>
  82. <script language="JScript" for="Exobud" event="error()">evtWmpError();</script>
  83. <script language="JScript" for="Exobud" event="Buffering(bf)">evtWmpBuff(bf);</script>
  84. <script language="JavaScript">
  85. toggleKey = new Object();
  86. toggleKey[0] = "_off";
  87. toggleKey[1] = "_on";
  88. toggleKey[2] = "_ovr";
  89. toggleKey[3] = "_out";
  90. toggleKey[4] = "_mdn";
  91. toggleKey[5] = "_mup";
  92. function imgChange(id,act){
  93. if(document.images){ document.images[id].src = eval("img." + id + toggleKey[act] + ".src");}
  94. }
  95. if(document.images){
  96. img = new Object();
  97. img.scope_off = new Image();
  98. img.scope_off.src = "http://bbs.danyangnet.com/data/attachment/forum/201112/04/112901xvjve9y3zuv6o666.gif";
  99. img.scope_on = new Image();
  100. img.scope_on.src = "http://bbs.danyangnet.com/data/attachment/forum/201112/04/112901qs0215qq7qq4vv7l.gif";
  101. }
  102. //-->
  103. </script>
  104. </head>
  105. <body onLoad="initExobud();" onDragStart="return false" onSelectStart="return false" topmargin=0 leftmargin=0 marginwidth=0 marginheight=0>
  106. <object id="Exobud" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
  107. type="application/x-oleobject" width="0" height="0"
  108. style="position:relative;left:0px;top:0px;width:0px;height:0px;">
  109. <param name="autoStart" value="true">
  110. <param name="balance" value="0">
  111. <param name="currentPosition" value="0">
  112. <param name="currentMarker" value="0">
  113. <param name="enableContextMenu" value="false">
  114. <param name="enableErrorDialogs" value="false">
  115. <param name="enabled" value="true">
  116. <param name="fullScreen" value="false">
  117. <param name="invokeURLs" value="false">
  118. <param name="mute" value="false">
  119. <param name="playCount" value="1">
  120. <param name="rate" value="1">
  121. <param name="uiMode" value="none">
  122. <param name="volume" value="100">
  123. </object>
  124. <DIV id=item1 style="LEFT: 357px; WIDTH: 660px; POSITION: absolute; TOP: 410px; HEIGHT: 33px">
  125. <table height=20 align=center cellpadding=0 cellspacing=0 border=0>
  126. <form name="exobudform">
  127. <tr>
  128. <td height=20>
  129. <input type="text" class="title" id="disp1" value="" readonly style="height:18;width:240;cursor:crosshair">
  130. <input type="button" class="time" id="disp2" value="" title="时间长度显示方式 (正常/倒数)"onClick="chgTimeFmt()" style="width:80;height:18;cursor:hand">
  131. </td>
  132. <td width=30 height=20 align=center>
  133. <img name="scope" src="http://bbs.danyangnet.com/data/attachment/forum/201112/04/112901qs0215qq7qq4vv7l.gif" width=17 height=16 onClick="vizExobud()" style="cursor:help" title="访问梦回云阳"></td><td height=20 nowrap><input type="button" class ="buttons" name="vmute" value="静音" title="静音模式" onClick="wmpMute()" style="height:18;cursor:hand"><input type="button" class ="buttons" name="vdn" value="音降" title="减小音量" onClick="wmpVolDn()" style="height:18;cursor:hand"><input type="button" class ="buttons" name="vup" value="音升" title="增大音量" onClick="wmpVolUp()" style="height:18;cursor:hand"><input type="button" class ="buttons" name="pmode" value=""title="播放順序 (S=循序 R=随机)" onClick="chgPMode()" style="height:18;cursor:hand"><input type="button" class ="buttons" name="rept" value="L" title="切换是否重复播放" onClick="chkRept()"style="height:18;cursor:hand"><input type="button" class ="buttons" name="prevt" value="上首" title="上一首歌曲" onClick="playPrev()"style="height:18;cursor:hand"><input type="button" class ="buttons" name="pauzt" value="暂停" title="暂停·继续" onClick="wmpPP()"style="height:18;cursor:hand"><input type="button" class ="buttons" name="stopt" value="停止" title="停止" onClick="wmpStop()" style="height:18;cursor:hand"><input type="button" class ="buttons" name="playt" value="播放" title="播放" onClick="startExobud()" style="height:18;cursor:hand"><input type="button" class ="buttons" name="nextt" value="下首" title="下一首歌曲" onClick="playNext()" style="height:18;cursor:hand"></td>
  134. </tr>
  135. <tr>
  136. <td colspan=3 height=0>
  137. <div id="capText" style="width:100%;height:0;color:white;background-color:#555555;padding-top:3px;padding-left:5px;display:none">ExoBUD MP(II) 字幕显示系统(SMI)</div>
  138. </td>
  139. </tr>
  140. </form>
  141. </table>
  142. </DIV>
  143. <DIV id=item1 style="LEFT: 5px; WIDTH: 327px; POSITION: absolute; TOP: 413px; HEIGHT: 18px">
  144. <font color="#FFFFFF">常静古筝作品·离弦◆◆素材:网络◆◆编辑:梦回云阳</font>
  145. </DIV>
  146. <EMBED style="LEFT: 0; POSITION: absolute; TOP: 0; width:1000px; height:400px" align=right src="http://www.hlx912.cn//xfz912/yy/x.swf" type=application/x-shockwave-flash quality="high" wmode="transparent"> </CENTER>
  147. </body>
  148. </html>
复制代码

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|小黑屋|手机版|Archiver|丹阳新闻网(https://www.dy001.cn) ( 苏ICP备05003163号 )

GMT+8, 2024-11-22 10:32 , Processed in 0.048610 second(s), 18 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc. Template By 【未来科技】【 www.wekei.cn 】

快速回复 返回顶部 返回列表