Wednesday, August 8, 2007

Embed Windows Media Player in website/blog

Many of the bloggers are wondering how to embed Windows Media player in their OWN Blogs/Website.

Simply copy and paste the following codes to any place you want in your web page, and replace "change_mediaplayer_filename" by your mms/http/url.

<object id="VIDEO" classid="CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6" width="300" height="300">
<param value="change_mediaplayer_filename" name="URL"/>
<param value="1" name="rate"/>
<param value="0" name="balance"/>
<param value="280.71025" name="currentPosition"/>
<param value="" name="defaultFrame"/>
<param value="9999" name="playCount"/>
<param value="1" name="autoStart"/>
<param value="1" name="currentMarker"/>
<param value="0" name="invokeURLs"/>
<param value="" name="baseURL"/>
<param value="100" name="volume"/>
<param value="0" name="mute"/>
<param value="full" name="uiMode"/>
<param value="-1" name="stretchToFit"/>
<param value="0" name="windowlessVideo"/>
<param value="-1" name="enabled"/>
<param value="0" name="enableContextMenu"/>
<param value="0" name="fullScreen"/>
<param value="" name="SAMIStyle"/>
<param value="" name="SAMILang"/>
<param value="" name="SAMIFilename"/>
<param value="" name="captioningID"/>
<param value="0" name="enableErrorDialogs"/>
<param value="7938" name="_cx"/>
<param value="7938" name="_cy"/>

Once you have embedded the Windows Media player in your site, it will look like this.

Why WMP Player?

Windows Media Player (WMP) is a digital media player and media library application developed by Microsoft that is used for playing audio, video and viewing images on personal computers running the Microsoft Windows operating system, as well as on Pocket PC and Windows Mobile-based devices. Editions of Windows Media Player were also released for Mac OS, Mac OS X and Solaris, but have since been discontinued.
In addition to being a media player, Windows Media Player includes the ability to rip music from and copy music to compact discs, synchronize content with a digital audio player (MP3 player) or other mobile devices, and let users purchase or rent music from a number of online music stores.

Windows Media Player replaced an earlier piece of software simply called Media Player, adding features beyond simple video or audio playback.

The default file formats are Windows Media Video (WMV), Windows Media Audio (WMA), and Advanced Systems Format (ASF), and supports its own XML based playlist format called Windows Playlist (WPL). The Zune software which actually is a modified version of Windows Media Player, additionally supports AAC (Advanced Audio Coding) audio, and MPEG-4 and H.264 video formats out-of-the-box.The player is also able to utilize a DRM service in the form of Windows Media DRM.

Leave your comments on this blog.


Anonymous said...


html5 audio player said...

Thanks for sharing your info. I really appreciate your efforts and I will be waiting for your further write ups thanks once again.

Anonymous said...

Cool demonstration! eventhough HTML5 audio player might not pack all of the features it works well.. it let’s iOS folk hear the mp3, tho the player will launch in a new webpage; and to return to your original page, html5 music player

Anonymous said...

Simply copy and paste the following Constantly Constantly codes two any place you want in your web page, and replace "change media player filename" by your mms / http / you means that I should change player filename
I have a blog that I want to add media player into, so I can load movies or videos from you-tube
what do I have to enter where you want me to change http url ???
Regards Tom Rosland.