Bài đăng

Đang hiển thị bài đăng từ tháng 1 20, 2008

Embedding Windows Media Player

To embed an object in HTML document, the object class ID is required. The class ID for Windows Media Player 7, 9, 10 and 11 is clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6. Insert the following code into your HTML document to embed Windows Media Player 7 and later: &lt OBJECT id="VIDEO" width="320" height="240" style="position:absolute; left:0;top:0;" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="application/x-oleobject"> &lt PARAM NAME="URL" VALUE="your file or url"> &lt PARAM NAME="SendPlayStateChangeEvents" VALUE="True"> &lt PARAM NAME="AutoStart" VALUE="True"> &lt PARAM name="uiMode" value="none"> &lt PARAM name="PlayCount" value="9999"> &lt /OBJECT> Most important parameters supported by Windows Media Player