Best way to Post a wmv file to your website

livewirewebsolutions used Ask the Experts™
I have a wmv file that I want people to view.  I have created a starburst on the home page that I want people to click in order to see the video.  What is the latest and most professional way to post this video?  I want this to work with all popular browsers...Firefox, IE, Safari, Chrome etc...
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
It should run in Windows Media Player if you just link it.

You could also upload it to Youtube and create a link.

However, if you want to really do it,  and embed WMP in the website see:

Great code but it only works in IE.  Any thoughts??
Sorry bout that: -- however this needs to be done by the end user

Aside from my first two suggestions, why not just convert the file to mp3, then upload.
Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

This is a movie file.  Please go to and click on the starburst.  It automatically opens Windows media player.  What I want is for a movie player to open in a new window which would then allow the client to click play.  With the first code it worked perfectly in IE but in other browsers the movie simply did not play.  Please see and open in IE.  This is exactly what I want to happen.  ???

I see what you mean.

You may want to try regenerating your code here:

Or compare your code with this:
Can't you just post it to YouTube and post the code on your site? I've seen a ton of commercial sites using youtube.
jumpstart0321...see my first post
Greetings livewire...

You can use this snippet to accomplish your goal. I have spent countless hours trying to find the best solution for this in the past, and I have concluded...

Mozilla and Microsoft will never be friends :) No, but really - There is a WM plugin for Firefox. If you scale the video at all (adjust the width and height to something other than what the videos native resolution is), the end user will have to have that plugin, or things will look all whacked out. I give the address to where you can download that plugin in the snippet. If the video is at it's native resolution, it's all good.

The code doesn't validate, and I'm a bit nuts about code validating, so I had to make peace with that. It works.

Drop in the path to your .wmv (or whatever) (actually, you'll be dropping it in three places) adjust the width and height (in two places) and give it a go.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Windows Media</title>
<style type="text/css">
.video{margin:0 auto;}
		<div class="video">
 		<OBJECT ID="MediaPlayer" WIDTH="544" HEIGHT="468" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
        STANDBY="Loading Windows Media Player components..." TYPE="application/x-mplayer2">
        <PARAM NAME="FileName" VALUE="http://www.yourfile.wmv">
        <PARAM name="autostart" VALUE="true">
        <PARAM name="ShowControls" VALUE="true">
        <param name="ShowStatusBar" value="true">
        <PARAM name="ShowDisplay" VALUE="false">
        <EMBED TYPE="application/x-ms-wmp" SRC="http://www.yourfile.wmv" NAME="MediaPlayer"
        WIDTH="544" HEIGHT="455" ShowControls="1" ShowStatusBar="1" ShowDisplay="1" stretchToFit="1" autostart="1"></EMBED>
        <br />
        <a href="http://www.yourfile.wmv">Click here to launch this webcast in your default media player.</a>	
        <br />
        <a href="">Firefox users click here if this looks funny.

Open in new window

That is extremely impressive code.  Thanks.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial