embed wmv file into webpage

I'm trying to get a wmv file to play in a webpage.  I've created a simple html page and when I test the page using VS2008 internal browser, the wmv file plays.  However, if I test it using IIS, the video won't play.  The page opens, but the wmv file is black (see the attached screeshot) and just won't start.  I have autostart set to true.

I thought the problem was with the mime type in IIS, so I tried adding the extension and mime type, but that made no difference.

See the code that I'm using below.

Any help is appreciated.
Thanks.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
<!--
.style1 {font-size: 36px}
body {
	background-color: #A8DB82;
}
-->
</style>
</head>
 
<body>
<table border="1" align="center" bordercolor="#73C238" bgcolor="#A8DB82">
  <tr>
    <td align="center" valign="middle"><span class="style1">
	    <object id="MediaPlayer" width="600" height="500" classid="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Windows Media Player components&" type="application/x-oleobject" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112">
 
        <param name="filename" value="SWF/PD_Prototype_Master_Danu_1.wmv">
        <param name="Showcontrols" value="True">
        <param name="autoStart" value="True">
 
        <embed type="application/x-mplayer2" src="SWF/PD_Prototype_Master_Danu_1.wmv" name="MediaPlayer" width="600" height="500"></embed>
 
        </object>
 
    </span></td>
  </tr>
</table>
</body>
</html>

Open in new window

screenshot.png
-Dman100-Software ConsultantAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

tony_angelopoulosCommented:
I have read somewhere before that both wmv files and http use port 80, and that a conflict occurs.  I'm not sure what to do to resolve the conflict, but it might be why you don't have the issue on the internal web server with studio: the web runs on a different port.  So I'm thinking, in IIS or in the <embed> somwhere, a different port could/should be specified (for the wmv)?  
0
tony_angelopoulosCommented:
I also noticed that for IIS 7 there is an extension available that might help:
http://www.microsoft.com/downloads/details.aspx?familyid=2cf81f25-1692-41f7-b916-db5c7e44e6ea&displaylang=en

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.