티스토리 뷰
오늘 wmv를 첨부할일이 있었는데 embed로 하니 파이어폭스에서 지원이 되지 않아서 다른방법을 찾다가 아래와 같은 방법을 찾았다.
1. 인터넷익스플로러인 경우
<!--[if IE]>
<object width="높이값" height="넓이값" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" standby="Loading Microsoft Windows Media Player components..." type="video/x-ms-wmv">
<param name="filename" value="mms://주소.wmv" />
<param name="Url" value="mms://주소.wmv" />
<param name="animationatstart" value="0" />
<param name="autostart" value="1" />
<param name="balance" value="0" />
<param name="currentmarker" value="0" />
<param name="currentPosition" value="0" />
<param name="displaymode" value="4" />
<param name="enablecontextmenu" value="0" />
<param name="enabled" value="1" />
<param name="fullscreen" value="0" />
<param name="invokeurls" value="1" />
<param name="playCount" value="10" />
<param name="rate" value="1" />
<param name="showcontrols" value="1" />
<param name="showstatusbar" value="1" />
<param name="stretchtofit" value="1" />
<param name="transparentatstart" value="1" />
<param name="captioningID" value="captions" />
<param name="displaybackcolor" value="0" />
</object>
<![endif]-->
2. 인터넷익스플로러가 아닌경우
<!--[if !IE]> <-->
<object type="video/x-ms-asf-plugin" data="mms://주소.wmv" width="넓이값" height="높이값"></object>
<!--> <![endif]-->