This is topic HTML Gurus, I Need Your Help!!! in forum Books, Films, Food and Culture at Hatrack River Forum.


To visit this topic, use this URL:
http://www.hatrack.com/ubb/main/ultimatebb.php?ubb=get_topic;f=2;t=043364

Posted by Fitz (Member # 4803) on :
 
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"

ShowStatusBar="0" volume="-1" HEIGHT="278" WIDTH="310"></embed></object><br>

Any help would be much appreciated.
 
Posted by Fitz (Member # 4803) on :
 
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.
 
Posted by James Tiberius Kirk (Member # 2832) on :
 
Hmm.

Have you tried

code:
src="/Movie.wmv"

or

code:
src="./Movie.wmv"

--j_k
 


Copyright © 2008 Hatrack River Enterprises Inc. All rights reserved.
Reproduction in whole or in part without permission is prohibited.


Powered by Infopop Corporation
UBB.classic™ 6.7.2