<html> <head> <script language="javascript"> if ( navigator.appName == "Netscape" ) { navigator.plugins.refresh(); document.write("<" + "applet MAYSCRIPT Code=NPDS.npDSEvtObsProxy.class" ) document.writeln(" WIDTH=5 HEIGHT=5 NAME=appObs> </applet>") } function vol_up(){ volume=MTVPlay.volume; if (volume==+2500){ return false; }else{ MTVPlay.volume=volume+250; volume=MTVPlay.volume; } } function vol_down(){ volume=MTVPlay.volume; if (volume==-2500){ return false; }else{ MTVPlay.volume=volume-250; volume=MTVPlay.volume; } } function muteoff(){ MTVPlay.mute=false; } function mute(){ MTVPlay.mute=true; } function ff(){ MTVPlay.next(); } function pre(){ MTVPlay.previous(); } function replay(){ MTVPlay.playcount=0; } function replayoff(){ MTVPlay.playcount=1; } function play(){ if ((navigator.userAgent.indexOf('IE') > -1) && (navigator.platform == "Win32")) { MTVPlay.Play(); } else { document.MTVPlay.Play(); } } function pause(){ if ((navigator.userAgent.indexOf('IE') > -1) && (navigator.platform == "Win32")) { if (MTVPlay.PlayState == 2){ MTVPlay.Pause(); } else { if (MTVPlay.PlayState == 1) { MTVPlay.Play(); } } } else { document.MTVPlay.Pause(); } } function stop(){ if ((navigator.userAgent.indexOf('IE') > -1) && (navigator.platform == "Win32")) { MTVPlay.Stop(); MTVPlay.CurrentPosition=0; } else { document.MTVPlay.Stop(); document.MTVPlay.CurrentPosition=0; } } function muteClick() { if ((navigator.userAgent.indexOf('IE') > -1) && (navigator.platform == "Win32")) { bMuteState = MTVPlay.Mute; } else { bMuteState = MTVPlay.GetMute(); } if (bMuteState == true) { MTVPlay.value="Mute"; if ((navigator.userAgent.indexOf('IE') > -1) && (navigator.platform == "Win32")) { MTVPlay.Mute = false; } else { MTVPlay.SetMute(false); } } else { MTVPlay.value="Un-Mute"; if ((navigator.userAgent.indexOf('IE') > -1) && (navigator.platform == "Win32")) { MTVPlay.Mute = true; } else { MTVPlay } } } </script> <script language="javascript"> <!-- function fs(){ MTVPlay.DisplaySize = 3; MTVPlay.Play(); MTVPlay.focus(); } //--> </script> </head> <body> <object id=MTVPlay width=285 height=233 classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" VIEWASTEXT> <param name="Filename" value="동영상파일이름(경로)"> <param name="ShowControls" value="0"> </object> <br> <a href=# onClick="play()">재생</a><br> <a href=# onClick="pause()">일시정지</a><br> <a href=# onClick="stop()">정지</a><br> <a href=# onClick="replayoff()">반복취소</a><br> <a href=# onClick="replay()">반복</a><br> <a href=# onClick="fs()">전체화면</a><br> <a href=# onClick="muteClick()">소리죽이기</a><br> <a href=# onClick="vol_down()">소리낮춤</a><br> <a href=# onClick="vol_up()">소리높임</a><br> </body> </html> |
'인터넷관련' 카테고리의 다른 글
글쓰기폼 늘리기 - 확장, 축소 (0) | 2008.02.02 |
---|---|
투명한 textarea (0) | 2008.02.02 |
텍스트 밑줄 긋기 (0) | 2008.02.02 |
토글 메뉴 (0) | 2008.02.02 |
이미지 안쓰고 모서리(테두리) 둥근 테이블 만들기 (0) | 2008.02.02 |
스포트라이트 효과 (0) | 2008.02.02 |
PNG 그림파일 알파값 살리기 (0) | 2008.02.02 |
팝업창에 관한 모든것(새창) (0) | 2008.02.02 |