I am learning HTML & has stuck at a place & want a help with it i want to make a page displaying many wmv files WMP. Also when loading page it shouldn't play automatically......!
Can anyone HELP here.....????
I am learning HTML & has stuck at a place & want a help with it i want to make a page displaying many wmv files WMP. Also when loading page it shouldn't play automatically......!
Can anyone HELP here.....????
The Above Code is a sample code for the same you want for your website....Code:<object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" width="480" height="360" codebase="http://www.microsoft.com/Windows/MediaPlayer/"> <param name="Filename" value="http://www.youtube-nocookie.com/v/V35Kv6-ZNGA&hl=en&fs=1&color1=0x5d1719&color2=0xcd311b&border=1"> <param name="AutoStart" value="true"> <param name="ShowControls" value="true"> <param name="BufferingTime" value="2"> <param name="ShowStatusBar" value="true"> <param name="AutoSize" value="true"> <param name="InvokeURLs" value="false"> <embed src="http://www.youtube-nocookie.com/v/V35Kv6-ZNGA&hl=en&fs=1&color1=0x5d1719&color2=0xcd311b&border=1" type="application/x-mplayer2" autostart="1" enabled="1" showstatusbar="1" showdisplay="1" showcontrols="1" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,0,0" width="480" height="360"></embed> </object>
Insert the following code into your HTML document to embed Windows Media Player :
In the URL parameter, you can specify a URL (for streaming) or a local file.Code:NOTE : To embed an object in HTML document, the object class ID is required. The class ID for Windows Media Player 7 and later is clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6. <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"> <PARAM NAME="URL" VALUE="your file or url"> <PARAM NAME="SendPlayStateChangeEvents" VALUE="True"> <PARAM NAME="AutoStart" VALUE="True"> <PARAM name="uiMode" value="none"> <PARAM name="PlayCount" value="9999"> </OBJECT>
Bookmarks