Window Media Player 播放器
2007/1/5 21:34:09
<html>
<head>
<title>網頁特效|Linkweb.cn/Js|---Window Media Player 播放器</title>
<style>
body {
overflow:auto;
font-size:12px;
cursor:default;
}
#table01 {
font-size:12px;
background-Color:black;
color:white;
text-align:center;
}
#playListTitle {
background-Color:#001122;
color:white;
font-size:12px;
font-weight:bold;
width:100%;
height:16px;
padding:2px;
}
#playList {
width:150px;
height:225px;
margin:0px;
font-size:12px;
background-Color:black;
color:white;
}
#musicList {
width:200px;
border:buttonface 4px groove;
height:80px;
position:absolute;
right:5px;
top:5px;
}
#musicListTitle {
font-size:13px;
width:100%;
height:20px;
background-Color:#C5FFC5;
padding:3px;
font-weight:bold;
}
#musicList a {
text-decoration:none;
width:100%;
height:20px;
line-height:20px;
font-szie:20px;
line-height:20px;
padding-top:5px;
padding-left:10px;
}
#musicList a:hover {
background-Color:#E5FFE5;
}
</style>
<script>
function playList_dragOver(){
event.returnValue=false;
}
function playList_dragEnter(){
event.returnValue=false;
event.dataTransfer.dropEffect='link';
}
function addMusic(){
if(event.srcElement.tagName=='A'){
strTxt=event.srcElement.innerText;
strURL=event.srcElement.href;
playList.innerHTML="";
playList.options[0]=new Option(strTxt,strURL);
playList.options[0].selected=true;
}
event.returnValue=false;
playList_dblClick();
return(false);
}
function playList_drop(){
strTxt=unescape(event.dataTransfer.getData('Text').split(":")[0]);
strURL=unescape(event.dataTransfer.getData('Text').split(":")[1]);
playList.options[playList.options.length]=new Option(strTxt,strURL);
}
function playList_keyDown(){
if(event.keyCode==46){
try{
playList.options[playList.options.selectedIndex].outerHTML="";
}catch(e){}
return(false);
}
if(event.keyCode==13){
playList_dblClick();
return(false);
}
}
function playList_dblClick(){
MediaPlayer1.detachEvent("PlayStateChange",checkPlayStatus);
MediaPlayer1.fileName=playList.value;
MediaPlayer1.play();
setTimeout('MediaPlayer1.play();MediaPlayer1.attachEvent("PlayStateChange",checkPlayStatus);',1000);
}
function musicList_dragStart(){
if(event.srcElement.tagName=='A'){
event.dataTransfer.setData('Text',escape(event.srcElement.innerText)+":"+escape(event.srcElement.href));
}else{
return(false);
}
}
function init(){
MediaPlayer1.AutoRewind=false;
MediaPlayer1.AutoStart=true;
MediaPlayer1.SendPlayStateChangeEvents=true;
MediaPlayer1.attachEvent("PlayStateChange",checkPlayStatus);
}
function checkPlayStatus(oldState,newState){
try{
if(MediaPlayer1.PlayState==0){
MediaPlayer1.detachEvent("PlayStateChange",checkPlayStatus);
MediaPlayer1.stop();
if(playList.options.selectedIndex<playList.options.length-1){
playList.options[playList.options.selectedIndex+1].selected=true;
}else{
playList.options[0].selected=true;
}
MediaPlayer1.fileName=playList.value;
下一頁
返回列表
返回首頁
主站蜘蛛池模板:
国产亚洲精品拍拍拍拍拍|
波多野结大战三个黑鬼|
国产热の有码热の无码视频|
xxxxwww日本在线|
欧美激情视频网|
国产凌凌漆免费观看国语高清|
一个人看的www片免费|
欧美a级v片在线观看一区|
人人妻人人爽人人澡人人|
麻豆一区二区99久久久久|
国产综合成人久久大片91|
国精产品一品二品国精品69xx|
久久亚洲精品国产精品黑人|
欧美bbbbb|
亚洲校园春色另类激情|
葫芦里不卖药葫芦娃app|
国产日韩精品中文字无码|
521色香蕉网站在线观看|
无码午夜人妻一区二区不卡视频|
亚洲精品字幕在线观看|
精品一区二区三区在线播放视频|
国产V亚洲V天堂无码网站|
69老湿机体验区手机|
天天综合天天添夜夜添狠狠添|
乱人伦人妻中文字幕无码|
欧美日韩在线国产|
啦啦啦中文中国免费高清|
手机看片日韩福利|
国内精品一区二区三区app|
t66y最新地址|
日本二区在线观看|
亚洲成人在线免费观看|
美女下面直流白浆视频|
国产凌凌漆国语|
黑人xxxx日本|
在线观看免费av网站|
久久久91精品国产一区二区|
日韩欧美中文字幕出|
亚洲精品456在线播放|
用我的手指搅乱我吧第五集|
免费高清在线观看|