How do I stream Windows Media files?

To stream Windows Media files from your web site, simply embed them into your web pages using the following code: 

<OBJECT ID="MediaPlayer" WIDTH="192" HEIGHT="190" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
STANDBY="Loading Windows Media Player components..." TYPE="application/x-oleobject">
<PARAM NAME="FileName" VALUE="videofilename.wmv">
<PARAM name="ShowControls" VALUE="true">
<param name="ShowStatusBar" value="false">
<PARAM name="ShowDisplay" VALUE="false">
<PARAM name="autostart" VALUE="false">
<EMBED TYPE="application/x-mplayer2" SRC="videofilename.wmv" NAME="MediaPlayer"
WIDTH="192" HEIGHT="190" ShowControls="1" ShowStatusBar="0" ShowDisplay="0" autostart="0"> </EMBED>
</OBJECT>

NOTE: Make sure to edit the line "<PARAM NAME="FileName" VALUE="videofilename.wmv">", so that it reflects the location of your media file. 

The Windows Media player which appears on the page can be customised to some extent; for example, you can choose whether or not to show the playback controls, status indicator, etc. For more information visit http://www.mediacollege.com/video/format/windows-media/streaming/embed.html .

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How do I stream MP3 files?

1) Upload your MP3 files to the server, using a FTP program or the file manager. (files with the...

How do I stream QuickTime files?

To stream QuickTime files from your web site, simply embed the files into your web pages using...

How do I stream Real Audio and Video files?

1) Upload your Real Audio and Video files to the server, using a FTP program or the file...