posted
I'm having a wee little problem with embedding a video into an html page. Well, that's not exactly true. My code works perfectly in Internet Explorer. It's Firefox which is giving me a hard time. I've tried a variety of code, and haven't yet had any luck getting the video to play in Firefox, though it seems to play perfectly in IE with every variation. I don't get any errors, the video just does not play.
Here's the current code I'm using.
code:
<object id="MediaPlayer1" width="310" height="278" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,02,902" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject"> <param name="FileName" value="Movie.wmv"> <param name="animationatStart" value="false"> <param name="transparentatStart" value="true"> <param name="autoStart" value="true"> <param name="showControls" value="true"> <embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" Name="MediaPlayer" src="Movie.wmv" AutoStart="true"
posted
Well, if anyone is curious I discovered somewhat of a solution. If I replace the src with a URL of the actual video online, it works. I was hoping to just use the directory path rather than a URL, but this solution should be fine for the time being. However, if anyone has any other ideas I'd be glad to hear them.
Posts: 1855 | Registered: Mar 2003
| IP: Logged |