How to integrate Flash into Firefox? - html

I want to embed a flash animation into my standard updated Firefox.
(Firefox has flash installed and works with flash sites)
I use that : (it works on chrome and IE), but gives an EMPTY place in Firefox
<object id="videoPlayer" type="application/x-shockwave-flash" width="100%" height="400px">
<param name="movie" value=swf/player.swf />
<param name="wmode" value="opaque" />
<param name="allowFullScreen" value="true" />
</object>
I also tried with:
<embed id="videoPlayer" src="swf/player.swf" width="100%" height="400px"/>
Same result:
I don't want to use complex JS scripts to activate Flash.

Object tags have changed slightly. This should work in IE, Chrome and Firefox. It works for me.
<object data="swf/player.swf" type="application/x-shockwave-flash" width="400" height="400"></object>

Related

Chrome, Firefox can't play video but IE can

I tried following code,
<html>
<body>
<object id="mediaplayer"
classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
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="320" height="310">
<param name="filename" value="videos\videofile_96.mp4">
<param name="animationatstart" value="true">
<param name="transparentatstart" value="true">
<param name="autostart" value="true">
<param name="showcontrols" value="false">
<param name="ShowStatusBar" value="true">
<param name="windowlessvideo" value="true">
<embed src="videos\videofile_96.mp4" autostart="true"
showcontrols="false" showstatusbar="0"
bgcolor="white" width="320" height="310">
</object>
</body>
So when I tried to play this video in FireFox and Chrome, wasn't played, but IE managed to play it.
Later I tried to add Windows Media Player plugin,Activex Control Plugin to both, but still problem remains the same.
Can anybody help??
Your problem is with (both times you use) videos\videofile_96.mp4 -- those should be forward slashes (/). IE plays nice with \, but other browsers won't, necessarily.
Also, the \ indicates to me that you may be using this on a local machine, rather than through a web server; this will definitely cause problems in non-IE browsers.
You are trying to use ActiveX which is IE specific. Try html5 video instead and it will work in Firefox and chrome

Why does this youtube embed code stop working if I remove the embed tag?

I understood that the embed code had an embed tag inside the object tag as a fallback for IE and old browsers. But, if I, for example, take this code:
<object width="400" height="336"><param name="movie" value="http://www.youtube.com/v/_25bsKcXw5o&rel=0&egm=0&showinfo=0&fs=1">
<param name="wmode" value="transparent"></param>
<param name="allowFullScreen" value="true"></param>
<embed src="http://www.youtube.com/v/_25bsKcXw5o&rel=0&egm=0&showinfo=0&fs=1" type="application/x-shockwave-flash" width="400" height="336" allowFullScreen="true" wmode="transparent"></embed>
</object>
And remove the embed:
<object width="400" height="336"><param name="movie" value="http://www.youtube.com/v/_25bsKcXw5o&rel=0&egm=0&showinfo=0&fs=1">
<param name="wmode" value="transparent"></param>
<param name="allowFullScreen" value="true"></param>
</object>
It doesnt display in Chrome or in Firefox. Why? Does this make sense to anybody? I've tried with several different videos, and the same happens with all of them.
The reason I am doing this is because I wanted to determine where should I change the youtube url attributes (to change behaviour of the player). After doing some more tests, I also noticed that Chrome is responding to he changes I do to the embed tag's parameters, and not to the object's...
Here is a link to Adobe which explains the OBJECT and EMBED tags in detail.

IE6 - show swf animation

IE6 don`t show animation:
<object width="456" height="315">
<param name="movie" value="animacija.swf">
<param name="wmode" value="transparent" />
<embed src="animacija.swf" width="456" height="315">
</embed>
</object>
"Your security settings do not allow websites to use ActiveX controls installed on your computer."
Other animation show normaly on other websites.
Are you running your HTML-file locally? That can be a problem. Try uploading the HTML & swf-file to the web and check if the problem still occcurs.

Flash movie loads in IE but not Chrome

So I embedded a basic flash movie as per:
http://kb2.adobe.com/cps/415/tn_4150.html
It loads fine in IE, but the flash player in Chrome cannot load the movie. Flash works fine on other sites in Chrome, so what's wrong with this HTML?
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
WIDTH="162"
HEIGHT="391"
id="MobileAnimation">
<PARAM NAME=movie VALUE="img/animatedphone.swf">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor VALUE=#FFFFFF>
<EMBED href="img/animatedphone.swf"
quality=high
bgcolor=#FFFFFF
WIDTH="162"
HEIGHT="391"
NAME="MobileAnimation"
ALIGN=""
TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
</EMBED></OBJECT>
The line that reads:
<EMBED href="img/animatedphone.swf"
Should be:
<EMBED src="img/animatedphone.swf"
Note the change from href to src.

html: embed streaming video (crossbrowser)

i'm trying to embed a .wmv video into my website but doesnt work :(
i've googled and tried <embed> and <video>
the video i'm using was created by super converter and i've used WMV7 as video codec.
is there a crossbrowser solution for it - or should i better use flash video?
thx in advance
The <video> tag is specific to HTML5, and is very browser dependent. If you care about everyone seeing the video you should not be using this tag yet--wait a few years.
As for why the embed is not working, you'll have to show us code to see what is wrong. Here is an example snippet that should work.
<OBJECT ID="MediaPlayer" WIDTH="192" HEIGHT="190" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
STANDBY="Loading Windows Media Player components..." TYPE="application/x-oleobject">
<PARAM NAME="FileName" VALUE="videofilename.wmv">
<PARAM name="autostart" VALUE="false">
<PARAM name="ShowControls" VALUE="true">
<param name="ShowStatusBar" value="false">
<PARAM name="ShowDisplay" VALUE="false">
<EMBED TYPE="application/x-mplayer2" SRC="videofilename.wmv" NAME="MediaPlayer"
WIDTH="192" HEIGHT="190" ShowControls="1" ShowStatusBar="0" ShowDisplay="0" autostart="0"> </EMBED>
</OBJECT>
With any HTML questions, you should tell us what browser and OS you are using. Again, source code is very important to diagnosing problems.