Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Thread Tools Search this Thread
Old 19-05-2009
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.....????
Reply With Quote
Old 19-05-2009
Join Date: Oct 2005
Posts: 2,389
Re: How to embed a WMV into an html page

<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>
The Above Code is a sample code for the same you want for your website....
Reply With Quote
Old 19-05-2009
Join Date: Feb 2008
Posts: 1,848
Re: How to embed a WMV into an html page

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

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

  TechArena Community > Software > Software Development
Tags: , , , , ,

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads for: "How to embed a WMV into an html page"
Thread Thread Starter Forum Replies Last Post
Embed mp4 in html super soaker Software Development 5 21-12-2009 01:00 PM
How to embed mpeg file in html ADJATAY Software Development 5 29-11-2009 01:40 AM
How to embed xml in html VinFanatic Software Development 3 03-08-2009 01:14 PM
How to Embed FLV/SWF Videos In HTML CACTUS101 Technology & Internet 3 29-06-2009 10:00 AM
How to Embed Image in HTML ricardoramey Software Development 5 28-06-2009 08:11 PM

All times are GMT +5.5. The time now is 01:54 PM.