[轉錄][問題] 請問這個MTV播放器要怎樣加上圖片?
※ [本文轉錄自 java 看板]
作者: newlife520 (生命,就是學習『愛』) 看板: java
標題: [問題] 請問這個MTV播放器要怎樣加上圖片?
時間: Sun May 13 16:28:49 2007
※ [本文轉錄自 Programming 看板]
作者: newlife520 (生命,就是學習『愛』) 看板: Programming
標題: [問題] 請問這個MTV播放器要怎樣加上圖片?
時間: Sun May 13 16:28:02 2007
各位先進您好~
我要做一份報告..想做成網頁形式可供人瀏覽
但是這個MTV播放器語法放上FRONTPAGE上沒有畫面~
(有兩個:第一個純粹播放~第二個有下拉式選單可以供選擇MTV)
一、
<!------------ MTV撥放插入控制碼區段開始 ------------>
<embed src=音樂網址.wmv width=400 height=350>
<!------------ MTV撥放插入控制碼區段結束 ------------>
二、
<STYLE>
body,th,td,input,select {font:9pt 新細明體}
A:link {text-decoration: none; color:000000}
A:visited {text-decoration: none; color:000000}
A:hover {color:ff0000;}
input {font-size:9pt;text-decoration:none}
select {font-family:新細明體;font-size:9pt;}
</STYLE>
第一個步驟:
將上列語法複製在
</head>之前
<center>
<table cellpadding=0 cellspacing=1 border bordercolor="#808080">
<tr align=center>
<td BGCOLOR="#000000">
<p align="center"><img src=http://a.f1.com.tw/128082/mtv.gif>
</td></p>
</tr>
<tr align=center>
<td BGCOLOR="#000000">
<SCRIPT language=javascript>
<!--
{
}
<!-- 判 斷 IE 或 Netscape -->
var bWin32IE;
if ((navigator.userAgent.indexOf("IE") != "-1") && (navigator.userAgent.length > 1)) {
bWin32IE = true;
} else {
bWin32IE = false;
}
<!-- Media Player 控 制 功 能 -->
function setasxfile1 (playtitle) {
MM_showHideLayers('Layer2','','hide','Layer3','','show');
if (bWin32IE == true) {
NSPlay.stop();
NSPlay.autoStar = true;
NSPlay.Filename = playtitle;
} else {
document.NSPlay.stop();
document.NSPlay.SetAutoStart(true);
document.NSPlay.SetFileName(playtitle);
}
}
function start(){
if (bWin32IE == true) {
NSPlay.CurrentPosition = 0;
NSPlay.play();
} else {
document.NSPlay.SetCurrentPosition(0);
document.NSplay.Play();
}
}
function pause(){
MM_showHideLayers('Layer2','','show','Layer3','','hide');
if (bWin32IE == true) {
NSPlay.CurrentPosition = 0;
NSPlay.stop();
} else {
document.NSPlay.SetCurrentPosition(0);
document.NSplay.Pause();
}
}
function stop(){
MM_showHideLayers('Layer2','','show','Layer3','','hide');
if (bWin32IE == true) {
NSPlay.stop();
} else {
document.NSplay.Stop();
document.NSPlay.SetCurrentPosition(0);
}
}
<!--
//
var version="other"
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
if (browserName == "Netscape" && browserVer >= 3) version = "n3";
else if (browserName == "Netscape" && browserVer < 3) version = "n2";
else if (browserName == "Microsoft Internet Explorer" && browserVer >= 4) version = "e4";
else if (browserName == "Microsoft Internet Explorer" && browserVer < 4) version = "e3";
//-->
function MM_findObj(n, d) { //v3.0
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;
}
function MM_showHideLayers() { //v3.0
var i,p,v,obj,args=MM_showHideLayers.arguments;
for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
obj.visibility=v; }
}
function MM_showHideLayers() { //v3.0
var i,p,v,obj,args=MM_showHideLayers.arguments;
for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
obj.visibility=v; }
}
//-->
</SCRIPT>
<OBJECT id=NSPlay classid=CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95
align=middle width=320 height=240><PARAM NAME="AudioStream" value="-1"><PARAM NAME="FileName" value="http://home.kimo.com.tw/hot_912000/01.js"><PARAM NAME="BufferingTime" value="0"><PARAM NAME="CaptioningID" value=""><PARAM NAME="PlayCount" value="1"><PARAM NAME="PreviewMode" value="0"><PARAM NAME="Rate" value="1"><PARAM NAME="loop" value="-1"><PARAM NAME="EnableContextMenu" value="0"><PARAM NAME="ShowCaptioning" value="0"><PARAM NAME="ShowControls" value="0"><PARAM NAME="ShowAudioControls"
value="0"><PARAM NAME="ShowDisplay" value="0"><PARAM NAME="ShowGotoBar" value="0"><PARAM NAME="ShowPositionControls" value="0"><PARAM NAME="ShowStatusBar" value="-1"><PARAM NAME="ShowTracker" value="0"><PARAM NAME="TransparentAtStart" value="0"><PARAM NAME="VideoBorderWidth" value="0"><PARAM NAME="VideoBorderColor" value="0"><PARAM NAME="VideoBorder3D" value="-1"><PARAM NAME="Volume" value="-520"><PARAM NAME="WindowlessVideo" value="0">
<embed
width="320" height="240" src="" autosize="0"
autostart="-1" animationatstart="1"
baseurl="" clicktoplay="1"
enablecontextmenu="0" enablepositioncontrols="0"
enablefullscreencontrols="0" enabletracker="0"
filename="" sendopenstatechangeevents="1"
sendplaystatechangeevents="1" showcontrols="-1"
showaudiocontrols="-1" showdisplay="0"
showgotobar="0" showpositioncontrols="0"
showstatusbar="0" showtracker="0"
transparentatstart="-1" volume="2"
windowlessvideo="0"> </embed> </OBJECT>
</td>
</tr><tr align=center>
<td BGCOLOR="#000000">
<form name=selectform action="" method=post><SELECT
style="COLOR:#00ffff; BACKGROUND-COLOR: #000000"
onchange=setasxfile1(document.selectform.channel.options[document.selectform.channel.selectedIndex].value);
align=center name=channel> <OPTION selected>☆------------------------- M T V 觀 賞 -------------------------☆</OPTION>
<option style="TEXT-DECORATION: none" value="(1)" rel="nofollow">http://my.so-net.net.tw/s3sport323/Drift.wmv">(1)台灣甩尾實錄..台灣版極速傳說</option>
<option style="TEXT-DECORATION: none" value="mms://wmt3.aboutmedia.com.tw/Aboutmedia/him/she-030129_01v_180k.wmv">(2)白色戀歌</option>
<option style="TEXT-DECORATION: none" value="mms://wms8.sys.hinet.net/erainfo/muchclub/617000_01_300.wmv">(3)神奇</option>
<option style="TEXT-DECORATION: none" value="(4)" rel="nofollow">http://www.g-music.com.tw/G-musicsite/weekstar/energe/energy.wmv">(4)無懈可擊</option>
<option style="TEXT-DECORATION: none" value="http://wms8.sys.hinet.net/erainfo/muchclub/618957_01_300.wmv ">(5)布拉格廣場</option>
<option style="TEXT-DECORATION: none" value="mms://wmt.warnermusic.com.tw/Aboutmedia/warner/mtv/machi-030407_01v.wmv">(6)麻吉弟弟</option>
<option style="TEXT-DECORATION: none" value="mms://wmt.warnermusic.com.tw/Aboutmedia/warner/mtv/machi-030331_01v.wmv">(7)麻吉</option>
<option style="TEXT-DECORATION: none" value="mms://himedia1.iwant-in.net/mv/penny_water.wmv">(8)水中央</option>
<option style="TEXT-DECORATION: none" value="mms://himedia1.iwant-in.net/mv/elva_love.wmv">(9)愛上愛</option>
<option style="TEXT-DECORATION: none" value="mms://wms6.hichannel.hinet.net/HINETMUSIC/Try/EMI/elva_ing.wmv">(10)進行式</option>
<option style="TEXT-DECORATION: none" value="mms://wmt.warnermusic.com.tw/Aboutmedia/warner/MTV/tanya-030523_01v.wmv">(11)無底洞</option>
<option style="TEXT-DECORATION: none" value="mms://wmt.warnermusic.com.tw/Aboutmedia/warner/MTV/tanya-030613_01v.wmv">(12)陌生人</option>
<option style="TEXT-DECORATION: none" value="mms://wmt.warnermusic.com.tw/Aboutmedia/warner/mtv/amei-020916_01vf.wmv">(13)狠腳色</option>
<option style="TEXT-DECORATION: none" value="mms://wmt.warnermusic.com.tw/Aboutmedia/warner/mtv/amei-020916_02vf.wmv">(14)阿妹-YES OR NO</option>
<option style="TEXT-DECORATION: none" value="mms://wmt.warnermusic.com.tw/Aboutmedia/warner/mtv/amei-020916_04vf.wmv">(15)阿妹-KA TSU</option>
<option style="TEXT-DECORATION: none" value="mms://streaming.gogorock.com/strmroot/event/pre161-angelica/mtv1_w.asf">(16)李心潔-愛錯</option>
<option style="TEXT-DECORATION: none" value="mms://wms8.sys.hinet.net/erainfo/muchclub/618056_01_300.wmv">(17)王心凌-灰姑娘的眼淚</option>
<option style="TEXT-DECORATION: none" value="mms://wms8.sys.hinet.net/erainfo/muchclub/618057_01_300.wmv">(18)王心凌-my way</option>
<option style="TEXT-DECORATION: none" value="mms://wms8.sys.hinet.net/erainfo/muchclub/617510_01_300.wmv">(19)S.H.E-聽天使在唱歌</option>
<option style="TEXT-DECORATION: none" value="mms://stream.music.hinet.net/drm_v2/free/畢業幹什麼-你給我記住-mv.wmv">(20)畢業幹什麼-你給我記住</option>
<option style="TEXT-DECORATION: none" value="mms://wms8.sys.hinet.net/erainfo/muchclub/618159_01_300.wmv">(21)傻瓜與野丫頭</option>
<option style="TEXT-DECORATION: none" value="(22)" rel="nofollow">http://140.111.82.1/Bell_NT/ccc.asf">(22)原來沒錢買可樂還可以用這招.......</option>
<option style="TEXT-DECORATION: none" value="(23)S.H.E-" rel="nofollow">http://wms8.sys.hinet.net/erainfo/muchclub/619038_01_300.wmv">(23)S.H.E-美麗新世界</option>
<option style="TEXT-DECORATION: none" value="(24)S.H.E-" rel="nofollow">http://wms8.sys.hinet.net/erainfo/muchclub/618933_01_300.wmv">(24)S.H.E-愛呢</option>
<option style="TEXT-DECORATION: none" value="(25)S.H.E-SuperStar" rel="nofollow">http://wmarctai01.broadcast.com/hinetroot1/HinetShare06/music/12/4926067.wmv">(25)S.H.E-SuperStar</option>
<option style="TEXT-DECORATION: none" value="(26)S.H.E.-" rel="nofollow">http://mediaserver.iwant-in.net/player/casx.php?GApp=mv&GFiles=she_far.wmv">(26)S.H.E.-遠方</option>
<option style="TEXT-DECORATION: none" value="(27)" rel="nofollow">http://stars.udn.com/star/download/Download349/20030829media01.wmv">(27)陳小春-算你狠</option>
<option style="TEXT-DECORATION: none" value="(28)" rel="nofollow">http://stars.udn.com/star/download/Download349/20030829media01.wmv">(28)陳小春-0932</option>
<option style="TEXT-DECORATION: none" value="(29)" rel="nofollow">http://stars.udn.com/star/download/Download366/20030902media02.wmv">(29)陳小春-爆發</option>
<option style="TEXT-DECORATION: none" value="(30)" rel="nofollow">http://stars.udn.com/star/download/Download463/20030924media02.wmv">(30)陳小春-一定要幸福</option>
</SELECT>
</form>
<p align="center"><font color="#FFFF00">版面美化:</font><a href="http://yiae6634.24cc.com/" target="_blank"><font color="#FFFFFF">小狐狸</font></a> <font color="#FFFF00">版本:</font><font color="#FFFFFF">2.0</font> <font color="#FFFF00">個人版</font></P>
</td></tr>
</table>
</center>
第二個步驟:
將上列語法複製在
<body>之後
請問要在哪裡加入圖片語法讓它可以有圖片呢?
謝謝~
j參考網站:
第一個→http://seek-dreams.com/js/17/17-03.htm
第二個→http://java0231.ezdn.cc/
--
青春是一個短暫的美夢,當你醒來時,它已早已消逝無蹤
http://www.wretch.cc/blog/newlife520
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 218.162.82.153
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 218.162.82.153
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 218.162.82.153
Ajax 近期熱門文章
PTT數位生活區 即時熱門文章