雄杰独倚 发表于 2008-1-16 07:56

试试播放器

<DIV style="LEFT: 22px; WIDTH: 480px; POSITION: relative; TOP: 10px"><IFRAME marginWidth=0 marginHeight=0 src="http://j.99081.com/ch365/p1/p1.html" frameBorder=0 width=480 scrolling=no height=330></IFRAME></DIV><BR>

渐行渐淡 发表于 2008-4-14 08:10

不会做~

梦儿 发表于 2008-5-27 21:23

不会做,连怎么盗用都不会,

雄杰独倚 发表于 2008-5-27 22:38

你们还能看见啊?

小樓£聽雨 发表于 2008-7-15 07:41

楼主好,这是怎样做出来的呀?期待教程!

一剑飘香红 发表于 2008-7-24 08:20

呵呵,当然看的见,请斑竹 指教

bakon 发表于 2008-7-26 23:21

&lt;!--
document.write(unescape(\\&quot;&lt;html&gt;&lt;HEAD&gt;&lt;TITLE&gt;小二音画^_^3D现场HI曲&lt;/TITLE&gt;
&lt;META http-equiv=Content-Type content=\\&quot;text/html; charset=gb2312\\&quot;&gt;
&lt;META content=\\&quot;MSHTML 6.00.2900.2668\\&quot; name=GENERATOR&gt;&lt;/HEAD&gt;
&lt;BODY style=\\&quot;TEXT-ALIGN: center\\&quot; text=#ffffff vLink=#008000 aLink=#ff0000 link=#808000 bgColor=#ffffff leftMargin=0 topMargin=0 onload=muinit();&gt;
&lt;DIV align=center&gt;&lt;SPAN onmousedown=TrackPosition() id=position title=谢谢欣赏 style=\\&quot;Z-INDEX: 2; LEFT: 308px; VISIBILITY: hidden; CURSOR: hand; COLOR: white; POSITION: absolute; TOP: -31px\\&quot; ; onfucus=\\&quot;this.close()\\&quot;&gt;&lt;/SPAN&gt;
&lt;TABLE id=table1 style=\\&quot;BORDER-RIGHT: #990000 16px ridge; BORDER-TOP: #990000 16px ridge; BORDER-LEFT: #990000 16px ridge; BORDER-BOTTOM: #990000 16px ridge\\&quot; cellSpacing=10 cellPadding=0 width=480 bgColor=#000000 border=0&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD align=middle bgColor=#000000&gt;
&lt;TABLE id=table6 style=\\&quot;BORDER-RIGHT: #ffffb0 8px ridge; BORDER-TOP: #ffffb0 8px ridge; BACKGROUND-IMAGE: none BORDER-LEFT: #ffffb0 8px ridge; BORDER-BOTTOM: #ffffb0 8px ridge\\&quot; cellSpacing=1 cellPadding=0 width=400 bgColor=#666666 border=0&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width=400&gt;
&lt;DIV align=center&gt;
&lt;STYLE&gt;
TD {
FONT-SIZE: 9pt; COLOR: #FFFFFF; LINE-HEIGHT: 180%; FONT-FAMILY: dadum10
}
DIV {
FONT-SIZE: 9pt
}
INPUT {
HEIGHT: 16px
}
.syes {
BORDER-TOP-WIDTH: 1px; BORDER-LEFT-WIDTH: 1px; FONT-SIZE: 9pt; BORDER-LEFT-COLOR: #ffffff; BORDER-BOTTOM-WIDTH: 1px; BORDER-BOTTOM-COLOR: #ffffff; WIDTH: 77px; CURSOR: hand; COLOR: #000000; BORDER-TOP-COLOR: #ffffff; HEIGHT: 17px; BACKGROUND: #cccccc; BORDER-RIGHT-WIDTH: 1px; BORDER-RIGHT-COLOR: #ffffff
}
table {WORD-BREAK: break-all;}
&lt;/STYLE&gt;

&lt;SCRIPT language=Javascript&gt;
//BLYU
var url_str=\\&quot;HI到你晕=http://1ting.qq750.com/music_tt9004/0192/486915.wma,喜力之夜2002=http://1ting.qq750.com/music_tt9004/0192/729678.wma,Baby Mix (正野来枷)=http://1ting.qq750.com/music_tt9004/0192/657183.wma,Daddy-DJ(听下就知啦)=http://1ting.qq750.com/music_tt9004/0192/923603.wma,happy boy &amp; Lady=http://1ting.qq750.com/music_tt9004/0192/100507.wma,DU BI (推介)=http://1ting.qq750.com/music_tt9004/0192/580249.wma,超激电子串烧=http://1ting.qq750.com/music_tt9004/0192/955735.wma,Kelly Dance=http://1ting.qq750.com/music_tt9004/0192/796652.wma,深圳加勒比海=http://1ting.qq750.com/music_tt9004/0192/398535.wma,3D现场HI曲=http://1ting.qq750.com/music_tt9004/0192/45417.wma\\&quot;
//BLYU

var je=\\&quot;=\\&quot;;
var url=\\&quot;,\\&quot;;
var subject_arr = new Array();var url_arr = new Array();var sel_arr = new Array();
var inx=0, old_inx=0;var now_song=0;var max_count=0;var tm=null;var tm_cnt=0;var err_stat=false;
function p_play(){tm_cnt++;if((SyesPlayer.filename==url_arr)&amp;&amp;(!err_stat)) {
SyesPlayer.play();clearTimeout(tm);tm=null;tm_cnt=0;}
if(tm_cnt==5){clearTimeout(tm);tm=null;tm_cnt=0;}}
function one_play(i){if(tm != null) clearTimeout(tm);old_inx=inx;
inx=i;SyesPlayer.filename=url_arr;tm_cnt=0;err_stat=false;tm=setTimeout(\\&quot;p_play()\\&quot;,1000);
stat.innerHTML=\\&quot;&lt;marquee bgcolor=ffffff scrollamount=2 width=230&gt;&lt;font color=000033&gt;\\&quot;+subject_arr+\\&quot; --小二编制\\&quot;+\\&quot;&lt;/font&gt;&lt;/marquee&gt;\\&quot;;
eval(\'m\'+old_inx).style.color=\'\';eval(\'m\'+inx).style.color=\'0066cc\';}
function onlistover(src){src.style.color=\\&quot;ff0000\\&quot;}function onlistout(src){src.style.color=\\&quot;\\&quot;}
function syes_next(){if(now_song&lt;(max_count-1)) now_song++;else now_song=0;one_play(sel_arr);}
function listen_check(){
var songlist = \\&quot;\\&quot;
var chk = false
var i, url;
for(i=0; i&lt;document.list_form.elements.length; i++) {
var e=document.list_form.elements;
if(e.name == \'chk\') {
if(e.checked == true) {
chk = true;
songlist = songlist + e.value + \\&quot;,\\&quot;;}}}
if(chk == true ){
sel_arr=songlist.split(\',\');
now_song=0;
max_count=sel_arr.length-1;
one_play(sel_arr);
}else{
max_count=0;
alert(\\&quot;请选定歌曲-honglizi!\\&quot;);}}
function all_check(){
var i;
for(i=0; i&lt;document.list_form.elements.length; i++) {
var e=document.list_form.elements;
if(e.name == \'chk\') {
if(e.checked != true)e.checked = true;}}}
function one_check(k){
var i;
for(i=0; i&lt;document.list_form.elements.length; i++) {
var e=document.list_form.elements;
if((e.name == \'chk\')&amp;&amp;(e.value == k)) {
e.checked = true;break;}}}
function un_check(){var i;
for(i=0; i&lt;document.list_form.elements.length; i++) {
var e=document.list_form.elements;
if(e.name == \'chk\') {
if(e.checked == true) e.checked = false}}}
function set_list(){
var i, cnt, str;
cnt=url_str.split(url).length;
str=\\&quot;&lt;form name=list_form&gt;&lt;table&gt;\\&quot;;
for(i=0;i&lt;cnt;i++){
subject_arr=(i+1)+\'. \'+url_str.split(url).split(je);
url_arr=url_str.split(url).split(je);
str+=\\&quot; &lt;tr id=m\\&quot;+i+\\&quot;&gt;\\&quot;+\\&quot;&lt;td&gt;&lt;input type=checkbox onfocus=\'this.blur()\' name=\'chk\' value=\\&quot;+i+\\&quot;&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=cursor:hand onmouseover=\'onlistover(this)\' onmouseout=\'onlistout(this)\' onclick=\'one_play(\\&quot;+i+\\&quot;)\'&gt;\\&quot;;
str+=subject_arr+\'&lt;/span&gt;\';}+\\&quot;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/form&gt;\\&quot;;document.all[\\&quot;list_tbl\\&quot;].innerHTML=str;}
var trackPositionSts;var positionSet = false;
var varlength=500;var varstartpoint=54;
function SyesPlayerSetPosition() {
if(positionSet == true) {antiauto=30;
positionSet=false;dragapproved = false;
per = (document.all[\\&quot;position\\&quot;].style.pixelLeft - varstartpoint)/varlength;
psit = Math.floor(document.all.SyesPlayer.Duration * per);
setPosition(psit)}}
function TrackPosition() {
positionSet = true;iex = event.clientX;iey = event.clientY;
tempx = document.all.position.style.pixelLeft;
tempy = document.all.position.style.pixelTop;
dragapproved=true;
document.onmousemove=positionDragControl;
if(document.all) document.onmouseup = SyesPlayerSetPosition}
function positionDragControl(){
if(dragapproved == true){
var mov = tempx + event.clientX - iex;
if(mov &gt;= varstartpoint &amp;&amp; mov &lt;= varstartpoint+varlength)
{document.all[\\&quot;position\\&quot;].style.pixelLeft = tempx + event.clientX - iex}return false}}
function setPosition(psit){document.all.SyesPlayer.CurrentPosition = psit}
function setTrackIcon() {
if(positionSet == false){
var nowposition = Math.floor(document.all[\\&quot;SyesPlayer\\&quot;].CurrentPosition);
var totalposition = Math.floor(document.all.SyesPlayer.Duration);
if (nowposition &gt; 0){
document.all[\\&quot;position\\&quot;].style.pixelLeft = varstartpoint + (varlength * (nowposition / totalposition));}}}
function muinit(){trackPositionSts = setInterval(\'setTrackIcon()\',400)}
&lt;/SCRIPT&gt;

&lt;CENTER&gt;
&lt;TABLE id=table7 borderColor=#000000 cellSpacing=0 cellPadding=0 width=400 border=0&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P align=center&gt;&lt;/P&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P align=center&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;TABLE id=table8 style=\\&quot;BORDER-RIGHT: #f9fee2 8px ridge; BORDER-TOP: #f9fee2 8px ridge; BORDER-LEFT: #f9fee2 8px ridge; BORDER-BOTTOM: #f9fee2 8px ridge\\&quot; height=225 cellSpacing=0 cellPadding=0 width=399 background=http://pdjm01.mofile.com/p/1/2007/8/23/QR/QRRQ42FFLP_204.gif border=0&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD align=left width=\\&quot;95%\\&quot;&gt;
&lt;DIV style=\\&quot;MARGIN-TOP: 10px; MARGIN-BOTTOM: 20px; MARGIN-LEFT: 50px\\&quot;&gt;
&lt;P&gt;&lt;INPUT class=syes style=\\&quot;FLOAT: left; COLOR: #ffff00; BACKGROUND-COLOR: #000000; TEXT-ALIGN: center\\&quot; onfocus=this.blur() onclick=all_check() type=button value=选定&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;INPUT class=syes style=\\&quot;COLOR: #ffff00; BACKGROUND-COLOR: #000000\\&quot; onfocus=this.blur() onclick=un_check() type=button value=反选&gt;&amp;nbsp; &amp;nbsp; &lt;INPUT class=syes style=\\&quot;COLOR: #ffff00; BACKGROUND-COLOR: #000000\\&quot; onfocus=this.blur() onclick=listen_check() type=button value=播放&gt; &lt;/P&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;DIV id=list_tbl style=\\&quot;PADDING-RIGHT: 10px; OVERFLOW-Y: auto; PADDING-LEFT: 10px; SCROLLBAR-FACE-COLOR: #000000; FONT-SIZE: 10pt; PADDING-BOTTOM: 0px; SCROLLBAR-HIGHLIGHT-COLOR: #000000; OVERFLOW: auto; WIDTH: 320px; SCROLLBAR-SHADOW-COLOR: #000000; COLOR: #000000; SCROLLBAR-3DLIGHT-COLOR: #000000; LINE-HEIGHT: 165%; SCROLLBAR-ARROW-COLOR: #ff0000; PADDING-TOP: 0px; SCROLLBAR-TRACK-COLOR: #000000; FONT-FAMILY: 楷体; SCROLLBAR-DARKSHADOW-COLOR: #000000; LETTER-SPACING: 2pt; HEIGHT: 100px; TEXT-ALIGN: center\\&quot;&gt;
&lt;script&gt;set_list();all_check();listen_check();&lt;/script&gt;
&lt;script event=EndOfStream for=SyesPlayer language=javascript&gt;syes_next();&lt;/script&gt;
&lt;script language=javascript for=SyesPlayer Event=Error&gt;
var subject=subject_arr;SyesPlayer.stop();
if(max_count==1) {err_stat=true;}else {syes_next()}
&lt;/script&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD align=middle height=85&gt;
&lt;DIV style=\\&quot;POSITION: relative\\&quot;&gt;
&lt;DIV id=stat style=\\&quot;LEFT: -116px; POSITION: absolute; TOP: 6px\\&quot;&gt;
&lt;MARQUEE scrollAmount=2 width=180 bgColor=#ffffff&gt;&lt;FONT color=#000000&gt;【小二】专用&lt;/FONT&gt;&lt;/MARQUEE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;object id=\\&quot;SyesPlayer\\&quot; classid=\\&quot;CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95\\&quot; width=\\&quot;298\\&quot; height=\\&quot;22\\&quot; style=\\&quot;filter:invert();margin-top:6px;\\&quot;&gt;
&lt;param name=\\&quot;AutoStart\\&quot; value=\\&quot;-1\\&quot;&gt;&lt;param name=\\&quot;volume\\&quot; value=\\&quot;0\\&quot;&gt;&lt;PARAM NAME=\\&quot;ShowPositionControls\\&quot; VALUE=\\&quot;0\\&quot;&gt;
&lt;param name=\\&quot;ShowControls\\&quot; value=\\&quot;-1\\&quot;&gt;&lt;param name=\\&quot;ShowStatusBar\\&quot; value=\\&quot;-1\\&quot;&gt;
&lt;param name=\\&quot;AudioStream\\&quot; value=\\&quot;-1\\&quot;&gt;
&lt;param name=\\&quot;AutoSize\\&quot; value=\\&quot;0\\&quot;&gt;
&lt;param name=\\&quot;AnimationAtStart\\&quot; value=\\&quot;-1\\&quot;&gt;
&lt;param name=\\&quot;AllowScan\\&quot; value=\\&quot;-1\\&quot;&gt;
&lt;param name=\\&quot;AllowChangeDisplaySize\\&quot; value=\\&quot;-1\\&quot;&gt;
&lt;param name=\\&quot;AutoRewind\\&quot; value=\\&quot;0\\&quot;&gt;
&lt;param name=\\&quot;Balance\\&quot; value=\\&quot;0\\&quot;&gt;
&lt;param name=\\&quot;BaseURL\\&quot; value&gt;
&lt;param name=\\&quot;BufferingTime\\&quot; value=\\&quot;5\\&quot;&gt;
&lt;param name=\\&quot;CaptioningID\\&quot; value&gt;
&lt;param name=\\&quot;ClickToPlay\\&quot; value=\\&quot;-1\\&quot;&gt;
&lt;param name=\\&quot;CursorType\\&quot; value=\\&quot;0\\&quot;&gt;
&lt;param name=\\&quot;CurrentPosition\\&quot; value=\\&quot;-1\\&quot;&gt;
&lt;param name=\\&quot;CurrentMarker\\&quot; value=\\&quot;0\\&quot;&gt;
&lt;param name=\\&quot;DefaultFrame\\&quot; value&gt;
&lt;param name=\\&quot;DisplayBackColor\\&quot; value=\\&quot;0\\&quot;&gt;
&lt;param name=\\&quot;DisplayForeColor\\&quot; value=\\&quot;16777215\\&quot;&gt;
&lt;param name=\\&quot;DisplayMode\\&quot; value=\\&quot;0\\&quot;&gt;
&lt;param name=\\&quot;DisplaySize\\&quot; value=\\&quot;4\\&quot;&gt;
&lt;param name=\\&quot;Enabled\\&quot; value=\\&quot;-1\\&quot;&gt;
&lt;param name=\\&quot;EnableContextMenu\\&quot; value=\\&quot;-1\\&quot;&gt;
&lt;param name=\\&quot;EnablePositionControls\\&quot; value=\\&quot;-1\\&quot;&gt;
&lt;param name=\\&quot;EnableFullScreenControls\\&quot; value=\\&quot;0\\&quot;&gt;
&lt;param name=\\&quot;EnableTracker\\&quot; value=\\&quot;-1\\&quot;&gt;
&lt;param name=\\&quot;Filename\\&quot; value&gt;
&lt;param name=\\&quot;InvokeURLs\\&quot; value=\\&quot;-1\\&quot;&gt;
&lt;param name=\\&quot;Language\\&quot; value=\\&quot;-1\\&quot;&gt;
&lt;param name=\\&quot;Mute\\&quot; value=\\&quot;0\\&quot;&gt;
&lt;param name=\\&quot;PlayCount\\&quot; value=\\&quot;1\\&quot;&gt;
&lt;param name=\\&quot;PreviewMode\\&quot; value=\\&quot;0\\&quot;&gt;
&lt;param name=\\&quot;Rate\\&quot; value=\\&quot;1\\&quot;&gt;
&lt;param name=\\&quot;SAMILang\\&quot; value&gt;
&lt;param name=\\&quot;SAMIStyle\\&quot; value&gt;
&lt;param name=\\&quot;SAMIFileName\\&quot; value&gt;
&lt;param name=\\&quot;SelectionStart\\&quot; value=\\&quot;-1\\&quot;&gt;
&lt;param name=\\&quot;SelectionEnd\\&quot; value=\\&quot;-1\\&quot;&gt;
&lt;param name=\\&quot;SendOpenStateChangeEvents\\&quot; value=\\&quot;-1\\&quot;&gt;
&lt;param name=\\&quot;SendWarningEvents\\&quot; value=\\&quot;-1\\&quot;&gt;
&lt;param name=\\&quot;SendErrorEvents\\&quot; value=\\&quot;-1\\&quot;&gt;
&lt;param name=\\&quot;SendKeyboardEvents\\&quot; value=\\&quot;0\\&quot;&gt;
&lt;param name=\\&quot;SendMouseClickEvents\\&quot; value=\\&quot;0\\&quot;&gt;
&lt;param name=\\&quot;SendMouseMoveEvents\\&quot; value=\\&quot;0\\&quot;&gt;
&lt;param name=\\&quot;SendPlayStateChangeEvents\\&quot; value=\\&quot;-1\\&quot;&gt;
&lt;param name=\\&quot;ShowCaptioning\\&quot; value=\\&quot;0\\&quot;&gt;
&lt;param name=\\&quot;ShowAudioControls\\&quot; value=\\&quot;-1\\&quot;&gt;
&lt;param name=\\&quot;ShowDisplay\\&quot; value=\\&quot;0\\&quot;&gt;
&lt;param name=\\&quot;ShowGotoBar\\&quot; value=\\&quot;0\\&quot;&gt;
&lt;param name=\\&quot;ShowTracker\\&quot; value=\\&quot;-1\\&quot;&gt;
&lt;param name=\\&quot;TransparentAtStart\\&quot; value=\\&quot;0\\&quot;&gt;
&lt;param name=\\&quot;VideoBorderWidth\\&quot; value=\\&quot;0\\&quot;&gt;
&lt;param name=\\&quot;VideoBorderColor\\&quot; value=\\&quot;0\\&quot;&gt;
&lt;param name=\\&quot;VideoBorder3D\\&quot; value=\\&quot;0\\&quot;&gt;
&lt;param name=\\&quot;WindowlessVideo\\&quot; value=\\&quot;0\\&quot;&gt;
&lt;/object&gt;

&lt;CENTER&gt;&lt;B&gt;专辑:《3D现场HI曲》; 编辑:小二&lt;/B&gt;&lt;/CENTER&gt;&lt;INPUT class=syes style=\\&quot;COLOR: #ffff00; BACKGROUND-COLOR: #000000\\&quot; onfocus=this.blur() onclick=document.SyesPlayer.pause() type=button value=暂停&gt; &lt;INPUT class=syes style=\\&quot;COLOR: #ffff00; BACKGROUND-COLOR: #000000\\&quot; onfocus=this.blur() onclick=document.SyesPlayer.stop() type=button value=\\&quot; 停止 \\&quot;&gt; &lt;INPUT class=syes style=\\&quot;COLOR: #ffff00; BACKGROUND-COLOR: #000000\\&quot; onfocus=this.blur() onclick=document.SyesPlayer.play() type=button value=\\&quot; 播放\\&quot;&gt; &lt;INPUT class=syes style=\\&quot;COLOR: #ffff00; FONT-FAMILY: 黑体; BACKGROUND-COLOR: #000000\\&quot; onfocus=this.blur() onclick=syes_next() type=button value=下一首&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;SCRIPT&gt;set_list();all_check();listen_check();&lt;/SCRIPT&gt;

&lt;SCRIPT language=javascript event=EndOfStream for=SyesPlayer&gt;syes_next();&lt;/SCRIPT&gt;

&lt;SCRIPT language=javascript event=Error for=SyesPlayer&gt;
var subject=subject_arr;SyesPlayer.stop();
if(max_count==1) {err_stat=true;}else {syes_next()}
&lt;/SCRIPT&gt;
&lt;/CENTER&gt;&lt;/DIV&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/DIV&gt;
&lt;/BODY&gt;&lt;/html&gt;
\\&quot;));
//--&gt;
&lt;/SCRIPT&gt;
页: [1]
查看完整版本: 试试播放器