Click to See Complete Forum and Search --> : Embedded video fails on Firefox


mbeagle
09-30-2008, 01:40 PM
I'm trying to embed a video on my website. It all works fine on Chrome, IE and Safari latest version but fails to work properly on Firefox.

here is the code:


<object style="border: solid 1px black"
classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
standby="Loading Microsoft Windows® Media Player components..."
type="application/x-oleobject"
width="410px" height="390px">
<param name="fileName" value="MY_VIDEO_FILENAME">
<param name="animationatStart" value="false">
<param name="transparentatStart" value="false">
<param name="autoStart" value="false">
<param name="showControls" value="true">
<param name="Volume" value="-450">
<embed type="application/x-mplayer2"
pluginspage="http://www.microsoft.com/Windows/MediaPlayer/"
src="MY_VIDEO_FILENAME"
width="410px" height="390px"
autostart="0"
showcontrols="1"
transparentatStart="0"
animationatStart="0"
volume="-450">
</embed>
</object>


What happens in Firefox is that the resizing doesn't work at all and the controls toolbar doesn't show up.
I've tried removing the resizing tags but then a small default video window size takes over and I end up with the same problem.

Any ideas where the problem is?
I've looked all over the net and keep seeing the same kind of code so really don't see what I'm doing wrong.

Many thanks

Eye for Video
09-30-2008, 11:23 PM
I'd say your problem is with the "application/x-mplayer2" part.
Here is somthing I found:
http://forums.techguy.org/multimedia/399715-application-x-mplayer2-missing-how.html
If that doesn't work, just Google around on that topic a little more.
EfV

felgall
10-01-2008, 03:15 AM
You could try replacing the proprietary embed tag with an object tag.

There are a number of ways of incorporating both a standard object tag and the IE6 proprietary object tag.