출처 : http://kin.naver.com/db/detail.php?d1id=1&dir_id=10102&eid=7h5Giq15LcAKKprXKuny5XmlnvVsGQrQ
embed.js의 내용
document.write('<OBJECT width="392" height="330" ID=NSPlay Name=NSPlay classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject" bgcolor="DarkBlue" onfocus=blur()>')
document.write('<PARAM NAME="AutoStart" VALUE="1">')
document.write('<PARAM NAME="AnimationAtStart" VALUE="1">')
document.write('<PARAM NAME="DisplayMode" VALUE="0">')
document.write('<PARAM NAME="Enabled" VALUE="1">')
//<!--// Explore 사용자를 위해서는 이곳에 링크-->
document.write('<PARAM NAME="Filename" VALUE="mms://stream.media.naver.com/data1/2006/6/12/245/448d46760e8448d46a00e8-skcoskc.wmv?key=MjYxMzIxMTAxNzE4Njk2MDcyNzQzMTkyMDIyc3RyZWFtLm1lZGlhLm5hdmVyLmNvbTAzMDQ0OGQ0Njc2MGU4NDQ4ZDQ2YTAwZTgtc2tjb3NrYzI3MTMyMDgwMDAzMjMwMjc5MDA1MTY3">')
document.write('<PARAM NAME="ShowControls" VALUE="1">')
document.write('<PARAM NAME="ShowAudioControls" VALUE="1">')
document.write('<PARAM NAME="ShowDisplay" VALUE="0">')
document.write('<PARAM NAME="ShowGotoBar" VALUE="0">')
document.write('<PARAM NAME="ShowPositionControls" VALUE="1">')
document.write('<PARAM NAME="ShowStatusBar" VALUE="1">')
document.write('<PARAM NAME="Volume" VALUE="0">')
document.write('<PARAM NAME="ShowCaptioning" VALUE="0">')
//<!--// Netscape 사용자를 위해서는 이곳에 링크-->
document.write('<EMBED src="mms://stream.media.naver.com/data1/2006/6/12/245/448d46760e8448d46a00e8-skcoskc.wmv?key=MjYxMzIxMTAxNzE4Njk2MDcyNzQzMTkyMDIyc3RyZWFtLm1lZGlhLm5hdmVyLmNvbTAzMDQ0OGQ0Njc2MGU4NDQ4ZDQ2YTAwZTgtc2tjb3NrYzI3MTMyMDgwMDAzMjMwMjc5MDA1MTY3" width="392" height="330" type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/" id="NSPlay" Name="NSPlay" DisplaySize="0" AutoSize="1" ShowControls="1" ShowDisplay="0" ShowStatusBar="1" autostart="1"></EMBED>')
document.write('</OBJECT>')
이렇게 저장하고, 실제 동영상이 있어야 할 부분에 아래 태그를 쓴다.
<script src=embed.js></script>
더 이상 안내 문구가 나오지 않는다.
만약, js로 처리할 필요가 없다고 느낀다면...
실제로 해보니 js로 해야만 안내 문구가 사라지더라...
embed.js의 내용
document.write('<OBJECT width="392" height="330" ID=NSPlay Name=NSPlay classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject" bgcolor="DarkBlue" onfocus=blur()>')
document.write('<PARAM NAME="AutoStart" VALUE="1">')
document.write('<PARAM NAME="AnimationAtStart" VALUE="1">')
document.write('<PARAM NAME="DisplayMode" VALUE="0">')
document.write('<PARAM NAME="Enabled" VALUE="1">')
//<!--// Explore 사용자를 위해서는 이곳에 링크-->
document.write('<PARAM NAME="Filename" VALUE="mms://stream.media.naver.com/data1/2006/6/12/245/448d46760e8448d46a00e8-skcoskc.wmv?key=MjYxMzIxMTAxNzE4Njk2MDcyNzQzMTkyMDIyc3RyZWFtLm1lZGlhLm5hdmVyLmNvbTAzMDQ0OGQ0Njc2MGU4NDQ4ZDQ2YTAwZTgtc2tjb3NrYzI3MTMyMDgwMDAzMjMwMjc5MDA1MTY3">')
document.write('<PARAM NAME="ShowControls" VALUE="1">')
document.write('<PARAM NAME="ShowAudioControls" VALUE="1">')
document.write('<PARAM NAME="ShowDisplay" VALUE="0">')
document.write('<PARAM NAME="ShowGotoBar" VALUE="0">')
document.write('<PARAM NAME="ShowPositionControls" VALUE="1">')
document.write('<PARAM NAME="ShowStatusBar" VALUE="1">')
document.write('<PARAM NAME="Volume" VALUE="0">')
document.write('<PARAM NAME="ShowCaptioning" VALUE="0">')
//<!--// Netscape 사용자를 위해서는 이곳에 링크-->
document.write('<EMBED src="mms://stream.media.naver.com/data1/2006/6/12/245/448d46760e8448d46a00e8-skcoskc.wmv?key=MjYxMzIxMTAxNzE4Njk2MDcyNzQzMTkyMDIyc3RyZWFtLm1lZGlhLm5hdmVyLmNvbTAzMDQ0OGQ0Njc2MGU4NDQ4ZDQ2YTAwZTgtc2tjb3NrYzI3MTMyMDgwMDAzMjMwMjc5MDA1MTY3" width="392" height="330" type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/" id="NSPlay" Name="NSPlay" DisplaySize="0" AutoSize="1" ShowControls="1" ShowDisplay="0" ShowStatusBar="1" autostart="1"></EMBED>')
document.write('</OBJECT>')
이렇게 저장하고, 실제 동영상이 있어야 할 부분에 아래 태그를 쓴다.
<script src=embed.js></script>
더 이상 안내 문구가 나오지 않는다.
만약, js로 처리할 필요가 없다고 느낀다면...
실제로 해보니 js로 해야만 안내 문구가 사라지더라...
'쓸만한 주저리' 카테고리의 다른 글
미디어 플레이어 제어하기 다섯 번째 (0) | 2006.06.23 |
---|---|
윈도 관리 프로그램들 (0) | 2006.06.14 |
이미지 위에 아이콘 안 뜨게 (0) | 2006.05.26 |
오블리비언 그래픽 설정 (0) | 2006.04.23 |
이미지가 없을 때 다른 이미지로 자동 변경 (0) | 2006.04.11 |