title author abstract copyright filename banner MoreInfo ¼Ó¼º ¿¹Á¦°á°ú Ç¥½Ãâ
<HTML xmlns:t="urn:schemas-microsoft-com:time"> <HEAD> <IMPORT namespace="t" implementation="#default#time2"> <STYLE> .time{ behavior: url(#default#time2);} .sw{color:blue} </STYLE> <SCRIPT> function updateBtns(){ if (mediaObj.currTimeState.isActive){ btnStart.disabled=true; btnNext.disabled=false; btnPrev.disabled=false; btnStop.disabled=false; } else { btnStart.disabled=false; btnNext.disabled=true; btnPrev.disabled=true; btnStop.disabled=true; } } function updateFields(){ str='Á¦¸ñ : <SPAN class=sw>'+mediaObj.playList.activeTrack.title+'</SPAN><BR>'; str+='ÀÛ°¡ : <SPAN class=sw>'+mediaObj.playList.activeTrack.author+'</SPAN><BR>'; str+='¿ä¾à Á¤º¸ : <SPAN class=sw>'+mediaObj.playList.activeTrack.abstract+'</SPAN><BR>'; str+='¹è³Ê : <SPAN class=sw>'+mediaObj.playList.activeTrack.banner+'</SPAN><BR>'; str+='¹è³Ê ¿ä¾à : <SPAN class=sw>'+mediaObj.playList.activeTrack.BannerAbstract+'</SPAN><BR>'; str+='¹è³Ê Á¤º¸ : <SPAN class=sw>'+mediaObj.playList.activeTrack.BannerMoreInfo+'</SPAN><BR>'; str+='ÀúÀÛ±Ç : <SPAN class=sw>'+mediaObj.playList.activeTrack.copyright+'</SPAN><BR>'; str+='ÆÄÀϸí : <SPAN class=sw>'+mediaObj.playList.activeTrack.src+'</SPAN><BR>'; str+='<BR>'; str+='event.type=<SPAN class=sw>'+event.type+'</SPAN><BR>'; str+='event.Banner=<SPAN class=sw>'+event.Banner+'</SPAN><BR>'; str+='event.Abstract=<SPAN class=sw>'+event.Abstract+'</SPAN><BR>'; str+='event.MoreInfo=<SPAN class=sw>'+event.MoreInfo+'</SPAN><BR>'; showA.innerHTML=str; } function clearFields(){ showTitle.innerText=showAuthor.innerText=showAbstractinnerText=showCopyright.innerText=showFilename.innerText=''; } </SCRIPT> </HEAD> <BODY onload="updateBtns()"> <T:MEDIA id="mediaObj" src="../../../media/bannerSample.asx" begin="indefinite" timeAction="visibility" onend="updateBtns();" ontrackchange="updateFields();"/> <DIV id=showA>°á°ú Ç¥½Ãâ</DIV> <P> <BUTTON id="btnStart" onclick="mediaObj.beginElement();updateBtns();">½ÃÀÛ</BUTTON> <BUTTON id="btnPrev" onclick="mediaObj.playList.prevTrack();">ÀÌÀü Æ®·¢</BUTTON> <BUTTON id="btnNext" onclick="mediaObj.playList.nextTrack();">´ÙÀ½ Æ®·¢</BUTTON> <BUTTON id="btnStop" onclick="mediaObj.endElement();clearFields();">Á¾·á</BUTTON> </P> </BODY> </HTML> |