쓸만한 주저리

이 컨트롤을 활성화하고 사용하려면 클릭하십시오 라고 나올 때 웹페이지 수정 방법

봄돌73 2006. 6. 14. 14:53
출처 : 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로 해야만 안내 문구가 사라지더라...