Click to See Complete Forum and Search --> : WMV won't play in IE


MarlonF
09-18-2008, 06:09 PM
I'm sorta new to web development, so I appreciate any help the forum can offer.

I've created a page that is formatted the way I want and plays my wmv file fine in FireFox no problem. However when I view the page in IE, Windows Media won't play, though the formatting is fine. If I remove the "CLSID" from the line it is in, the player will play in IE, but the formatting of my page goes nuts.

The page is located at http://www.securelove.net/index2.htm.

I would be grateful for any help on this. Thank you.

~Marlon

Eye for Video
09-18-2008, 11:22 PM
Problem is you don’t set any file name for the Windows Media Player (in the <object>). Firefox reads the <embed> which has a SRC="videos/ccfc_welcome.wmv"

<OBJECT ID="MediaPlayer" WIDTH="192" HEIGHT="190" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
STANDBY="Loading Windows Media Player components..." TYPE="application/x-oleobject" align="right" hspace="5" vspace="5">

<EMBED TYPE="application/x-mplayer2" SRC="videos/ccfc_welcome.wmv" NAME="MediaPlayer"
WIDTH="192" HEIGHT="190" ShowControls="1" ShowStatusBar="0" ShowDisplay="0" autostart="0"> </EMBED>
</OBJECT>

add

<param name="fileName" value=" videos/ccfc_welcome.wmv " />

before the <embed>

To verify that the Windows Media Player works just fine, test this path:
http://www.securelove.net/videos/ccfc_welcome.wmv

Best wishes,
Eye for Video
www.cidigitalmedia.com

MarlonF
09-18-2008, 11:39 PM
Thanks a ton for taking a minute to look at my issue. Now it makes sense, though I had no idea IE needed the Param tags.

Have a great day! You made mine a lot easier.

~Marlon