Flash movie loads in IE but not Chrome - html

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.

Related

How to integrate Flash into Firefox?

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>

.SWF File is not showing in local html file

I have embed a swf file in the local html file but it is not showing the slideshow.
can anyone tell me what is the issue with following code.
<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="943" height="290">
<param name="wmode" value="transparent">
<param name="src" value="http://www.unitedwayofgnb.org/imageRotator.swf">
<embed type="application/x-shockwave-flash" width="943" height="290" src="http://www.unitedwayofgnb.org/imageRotator.swf" wmode="transparent">
</object>

Soundcloud embedded HTML theme_color option not working

I am embedding Soundcloud HTML code in a web page to show the audio player. Previewing in Safari 5.1.4 on Mac and running in a webview in my iPhone app (which should behave the same as Safari) the embed parameter "theme_color" does not work.
E.g.
<iframe width="100%" height="166" scrolling="no" frameborder="no" src="http://w.soundcloud.com/player/?url=http://api.soundcloud.com/tracks/44200324&auto_play=true&color=915f33&theme_color=00FF00"></iframe>
Anyone know why or a workaround? I want to be able to "colourise" the main look of the player from grey to another colour.
You can have custom colors using flash object:
<object height="81" width="100%">
<param name="movie" value="https://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F32678080&show_comments=true&auto_play=false&color=00cc00&theme_color=111111"></param>
<param name="allowscriptaccess" value="always"></param>
<embed allowscriptaccess="always" height="81" src="https://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F32678080&show_comments=true&auto_play=false&color=00cc00&theme_color=111111" type="application/x-shockwave-flash" width="100%"></embed>
</object>
For the list of available params take a look at:
http://developers.soundcloud.com/docs/widget

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.

playing video by embed tag in window xp

while playing video by embed tag in src mp4 and swf file are working but playing flv is not working in any browser on my window xp . please help .
<embed src="videoplayback.flv" bgcolor="#000"
type="application/x-shockwave-flash"
pluginspage="http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
name="mainflash1" autostart="false" loop="false" height="450" width="450" allowscriptaccess="samedomain"
>
<noembed>Sorry, your browser doesn't support the embedding of multimedia.</noembed>
</embed>
For playing FLV in html, you should use the <object> tag. For example:
<object type="application/x-shockwave-flash"
width="320" height="240"
wmode="transparent"
data="player.swf?file=video.flv&autoStart=false">
<param name="movie"
value="player.swf?file=video.flv&autoStart=false"/>
<param name="wmode" value="transparent"/>
</object>
Player.swf is player swf file and filename is the file attribute.