试试播放器
<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> 不会做~ 不会做,连怎么盗用都不会, 你们还能看见啊? 楼主好,这是怎样做出来的呀?期待教程! 呵呵,当然看的见,请斑竹 指教 <!--document.write(unescape(\\"<html><HEAD><TITLE>小二音画^_^3D现场HI曲</TITLE>
<META http-equiv=Content-Type content=\\"text/html; charset=gb2312\\">
<META content=\\"MSHTML 6.00.2900.2668\\" name=GENERATOR></HEAD>
<BODY style=\\"TEXT-ALIGN: center\\" text=#ffffff vLink=#008000 aLink=#ff0000 link=#808000 bgColor=#ffffff leftMargin=0 topMargin=0 onload=muinit();>
<DIV align=center><SPAN onmousedown=TrackPosition() id=position title=谢谢欣赏 style=\\"Z-INDEX: 2; LEFT: 308px; VISIBILITY: hidden; CURSOR: hand; COLOR: white; POSITION: absolute; TOP: -31px\\" ; onfucus=\\"this.close()\\"></SPAN>
<TABLE id=table1 style=\\"BORDER-RIGHT: #990000 16px ridge; BORDER-TOP: #990000 16px ridge; BORDER-LEFT: #990000 16px ridge; BORDER-BOTTOM: #990000 16px ridge\\" cellSpacing=10 cellPadding=0 width=480 bgColor=#000000 border=0>
<TBODY>
<TR>
<TD align=middle bgColor=#000000>
<TABLE id=table6 style=\\"BORDER-RIGHT: #ffffb0 8px ridge; BORDER-TOP: #ffffb0 8px ridge; BACKGROUND-IMAGE: none BORDER-LEFT: #ffffb0 8px ridge; BORDER-BOTTOM: #ffffb0 8px ridge\\" cellSpacing=1 cellPadding=0 width=400 bgColor=#666666 border=0>
<TBODY>
<TR>
<TD width=400>
<DIV align=center>
<STYLE>
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;}
</STYLE>
<SCRIPT language=Javascript>
//BLYU
var url_str=\\"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 & 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\\"
//BLYU
var je=\\"=\\";
var url=\\",\\";
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)&&(!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(\\"p_play()\\",1000);
stat.innerHTML=\\"<marquee bgcolor=ffffff scrollamount=2 width=230><font color=000033>\\"+subject_arr+\\" --小二编制\\"+\\"</font></marquee>\\";
eval(\'m\'+old_inx).style.color=\'\';eval(\'m\'+inx).style.color=\'0066cc\';}
function onlistover(src){src.style.color=\\"ff0000\\"}function onlistout(src){src.style.color=\\"\\"}
function syes_next(){if(now_song<(max_count-1)) now_song++;else now_song=0;one_play(sel_arr);}
function listen_check(){
var songlist = \\"\\"
var chk = false
var i, url;
for(i=0; i<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 + \\",\\";}}}
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(\\"请选定歌曲-honglizi!\\");}}
function all_check(){
var i;
for(i=0; i<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<document.list_form.elements.length; i++) {
var e=document.list_form.elements;
if((e.name == \'chk\')&&(e.value == k)) {
e.checked = true;break;}}}
function un_check(){var i;
for(i=0; i<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=\\"<form name=list_form><table>\\";
for(i=0;i<cnt;i++){
subject_arr=(i+1)+\'. \'+url_str.split(url).split(je);
url_arr=url_str.split(url).split(je);
str+=\\" <tr id=m\\"+i+\\">\\"+\\"<td><input type=checkbox onfocus=\'this.blur()\' name=\'chk\' value=\\"+i+\\"></td><td><span style=cursor:hand onmouseover=\'onlistover(this)\' onmouseout=\'onlistout(this)\' onclick=\'one_play(\\"+i+\\")\'>\\";
str+=subject_arr+\'</span>\';}+\\"</td></tr></table></form>\\";document.all[\\"list_tbl\\"].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[\\"position\\"].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 >= varstartpoint && mov <= varstartpoint+varlength)
{document.all[\\"position\\"].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[\\"SyesPlayer\\"].CurrentPosition);
var totalposition = Math.floor(document.all.SyesPlayer.Duration);
if (nowposition > 0){
document.all[\\"position\\"].style.pixelLeft = varstartpoint + (varlength * (nowposition / totalposition));}}}
function muinit(){trackPositionSts = setInterval(\'setTrackIcon()\',400)}
</SCRIPT>
<CENTER>
<TABLE id=table7 borderColor=#000000 cellSpacing=0 cellPadding=0 width=400 border=0>
<TBODY>
<TR>
<TD>
<P align=center></P>
<TR>
<TD>
<P align=center></P></TD></TR></TBODY></TABLE>
<TABLE id=table8 style=\\"BORDER-RIGHT: #f9fee2 8px ridge; BORDER-TOP: #f9fee2 8px ridge; BORDER-LEFT: #f9fee2 8px ridge; BORDER-BOTTOM: #f9fee2 8px ridge\\" height=225 cellSpacing=0 cellPadding=0 width=399 background=http://pdjm01.mofile.com/p/1/2007/8/23/QR/QRRQ42FFLP_204.gif border=0>
<TBODY>
<TR>
<TD align=left width=\\"95%\\">
<DIV style=\\"MARGIN-TOP: 10px; MARGIN-BOTTOM: 20px; MARGIN-LEFT: 50px\\">
<P><INPUT class=syes style=\\"FLOAT: left; COLOR: #ffff00; BACKGROUND-COLOR: #000000; TEXT-ALIGN: center\\" onfocus=this.blur() onclick=all_check() type=button value=选定>&nbsp;&nbsp;&nbsp; <INPUT class=syes style=\\"COLOR: #ffff00; BACKGROUND-COLOR: #000000\\" onfocus=this.blur() onclick=un_check() type=button value=反选>&nbsp; &nbsp; <INPUT class=syes style=\\"COLOR: #ffff00; BACKGROUND-COLOR: #000000\\" onfocus=this.blur() onclick=listen_check() type=button value=播放> </P></DIV></TD></TR>
<TR>
<TD>
<DIV id=list_tbl style=\\"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\\">
<script>set_list();all_check();listen_check();</script>
<script event=EndOfStream for=SyesPlayer language=javascript>syes_next();</script>
<script language=javascript for=SyesPlayer Event=Error>
var subject=subject_arr;SyesPlayer.stop();
if(max_count==1) {err_stat=true;}else {syes_next()}
</script></DIV></TD></TR>
<TR>
<TD align=middle height=85>
<DIV style=\\"POSITION: relative\\">
<DIV id=stat style=\\"LEFT: -116px; POSITION: absolute; TOP: 6px\\">
<MARQUEE scrollAmount=2 width=180 bgColor=#ffffff><FONT color=#000000>【小二】专用</FONT></MARQUEE></DIV></DIV><object id=\\"SyesPlayer\\" classid=\\"CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95\\" width=\\"298\\" height=\\"22\\" style=\\"filter:invert();margin-top:6px;\\">
<param name=\\"AutoStart\\" value=\\"-1\\"><param name=\\"volume\\" value=\\"0\\"><PARAM NAME=\\"ShowPositionControls\\" VALUE=\\"0\\">
<param name=\\"ShowControls\\" value=\\"-1\\"><param name=\\"ShowStatusBar\\" value=\\"-1\\">
<param name=\\"AudioStream\\" value=\\"-1\\">
<param name=\\"AutoSize\\" value=\\"0\\">
<param name=\\"AnimationAtStart\\" value=\\"-1\\">
<param name=\\"AllowScan\\" value=\\"-1\\">
<param name=\\"AllowChangeDisplaySize\\" value=\\"-1\\">
<param name=\\"AutoRewind\\" value=\\"0\\">
<param name=\\"Balance\\" value=\\"0\\">
<param name=\\"BaseURL\\" value>
<param name=\\"BufferingTime\\" value=\\"5\\">
<param name=\\"CaptioningID\\" value>
<param name=\\"ClickToPlay\\" value=\\"-1\\">
<param name=\\"CursorType\\" value=\\"0\\">
<param name=\\"CurrentPosition\\" value=\\"-1\\">
<param name=\\"CurrentMarker\\" value=\\"0\\">
<param name=\\"DefaultFrame\\" value>
<param name=\\"DisplayBackColor\\" value=\\"0\\">
<param name=\\"DisplayForeColor\\" value=\\"16777215\\">
<param name=\\"DisplayMode\\" value=\\"0\\">
<param name=\\"DisplaySize\\" value=\\"4\\">
<param name=\\"Enabled\\" value=\\"-1\\">
<param name=\\"EnableContextMenu\\" value=\\"-1\\">
<param name=\\"EnablePositionControls\\" value=\\"-1\\">
<param name=\\"EnableFullScreenControls\\" value=\\"0\\">
<param name=\\"EnableTracker\\" value=\\"-1\\">
<param name=\\"Filename\\" value>
<param name=\\"InvokeURLs\\" value=\\"-1\\">
<param name=\\"Language\\" value=\\"-1\\">
<param name=\\"Mute\\" value=\\"0\\">
<param name=\\"PlayCount\\" value=\\"1\\">
<param name=\\"PreviewMode\\" value=\\"0\\">
<param name=\\"Rate\\" value=\\"1\\">
<param name=\\"SAMILang\\" value>
<param name=\\"SAMIStyle\\" value>
<param name=\\"SAMIFileName\\" value>
<param name=\\"SelectionStart\\" value=\\"-1\\">
<param name=\\"SelectionEnd\\" value=\\"-1\\">
<param name=\\"SendOpenStateChangeEvents\\" value=\\"-1\\">
<param name=\\"SendWarningEvents\\" value=\\"-1\\">
<param name=\\"SendErrorEvents\\" value=\\"-1\\">
<param name=\\"SendKeyboardEvents\\" value=\\"0\\">
<param name=\\"SendMouseClickEvents\\" value=\\"0\\">
<param name=\\"SendMouseMoveEvents\\" value=\\"0\\">
<param name=\\"SendPlayStateChangeEvents\\" value=\\"-1\\">
<param name=\\"ShowCaptioning\\" value=\\"0\\">
<param name=\\"ShowAudioControls\\" value=\\"-1\\">
<param name=\\"ShowDisplay\\" value=\\"0\\">
<param name=\\"ShowGotoBar\\" value=\\"0\\">
<param name=\\"ShowTracker\\" value=\\"-1\\">
<param name=\\"TransparentAtStart\\" value=\\"0\\">
<param name=\\"VideoBorderWidth\\" value=\\"0\\">
<param name=\\"VideoBorderColor\\" value=\\"0\\">
<param name=\\"VideoBorder3D\\" value=\\"0\\">
<param name=\\"WindowlessVideo\\" value=\\"0\\">
</object>
<CENTER><B>专辑:《3D现场HI曲》; 编辑:小二</B></CENTER><INPUT class=syes style=\\"COLOR: #ffff00; BACKGROUND-COLOR: #000000\\" onfocus=this.blur() onclick=document.SyesPlayer.pause() type=button value=暂停> <INPUT class=syes style=\\"COLOR: #ffff00; BACKGROUND-COLOR: #000000\\" onfocus=this.blur() onclick=document.SyesPlayer.stop() type=button value=\\" 停止 \\"> <INPUT class=syes style=\\"COLOR: #ffff00; BACKGROUND-COLOR: #000000\\" onfocus=this.blur() onclick=document.SyesPlayer.play() type=button value=\\" 播放\\"> <INPUT class=syes style=\\"COLOR: #ffff00; FONT-FAMILY: 黑体; BACKGROUND-COLOR: #000000\\" onfocus=this.blur() onclick=syes_next() type=button value=下一首> </TD></TR></TBODY></TABLE>
<SCRIPT>set_list();all_check();listen_check();</SCRIPT>
<SCRIPT language=javascript event=EndOfStream for=SyesPlayer>syes_next();</SCRIPT>
<SCRIPT language=javascript event=Error for=SyesPlayer>
var subject=subject_arr;SyesPlayer.stop();
if(max_count==1) {err_stat=true;}else {syes_next()}
</SCRIPT>
</CENTER></DIV></TR></TBODY></TABLE></TR></TBODY></DIV>
</BODY></html>
\\"));
//-->
</SCRIPT>
页:
[1]