FacebookTwitter
Hatrack River Forum   
my profile login | search | faq | forum home

  next oldest topic   next newest topic
» Hatrack River Forum » Active Forums » Books, Films, Food and Culture » HTML Gurus, I Need Your Help!!!

   
Author Topic: HTML Gurus, I Need Your Help!!!
Fitz
Member
Member # 4803

 - posted      Profile for Fitz   Email Fitz         Edit/Delete Post 
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.
Posts: 1855 | Registered: Mar 2003  |  IP: Logged | Report this post to a Moderator
Fitz
Member
Member # 4803

 - posted      Profile for Fitz   Email Fitz         Edit/Delete Post 
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 | Report this post to a Moderator
James Tiberius Kirk
Member
Member # 2832

 - posted      Profile for James Tiberius Kirk           Edit/Delete Post 
Hmm.

Have you tried

code:
src="/Movie.wmv"

or

code:
src="./Movie.wmv"

--j_k
Posts: 3617 | Registered: Dec 2001  |  IP: Logged | Report this post to a Moderator
   

   Close Topic   Feature Topic   Move Topic   Delete Topic next oldest topic   next newest topic
 - Printer-friendly view of this topic
Hop To:


Contact Us | Hatrack River Home Page

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