Results 1 to 3 of 3

Thread: How to embed a WMV into an html page

  1. #1
    Join Date
    Mar 2009
    Posts
    42

    How to embed a WMV into an html page

    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.....????

  2. #2
    Join Date
    Oct 2005
    Posts
    2,393

    Re: How to embed a WMV into an html page

    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>
    The Above Code is a sample code for the same you want for your website....

  3. #3
    Join Date
    Feb 2008
    Posts
    1,852

    Re: How to embed a WMV into an html page

    Insert the following code into your HTML document to embed Windows Media Player :

    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>
    In the URL parameter, you can specify a URL (for streaming) or a local file.

Similar Threads

  1. Embed mp4 in html
    By super soaker in forum Software Development
    Replies: 5
    Last Post: 21-12-2009, 01:00 PM
  2. How to embed mpeg file in html
    By ADJATAY in forum Software Development
    Replies: 5
    Last Post: 29-11-2009, 01:40 AM
  3. How to embed xml in html
    By VinFanatic in forum Software Development
    Replies: 3
    Last Post: 03-08-2009, 01:14 PM
  4. How to Embed FLV/SWF Videos In HTML
    By CACTUS101 in forum Technology & Internet
    Replies: 3
    Last Post: 29-06-2009, 10:00 AM
  5. How to Embed Image in HTML
    By ricardoramey in forum Software Development
    Replies: 5
    Last Post: 28-06-2009, 08:11 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,880,109.05988 seconds with 17 queries