Problem Loading swf on chrome - google-chrome

I have the following swf loaded from HTML tag and i do not use swfobject.On Google chrome i see that only after mouse click on the html page the swf file shows up.Any one knows why or what am i doing wrong here
<div>
<object id="myMovieName" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
<param value="movie.swf" name="movie">
<param value="high" name="quality">
<param value="#FFFFFF" name="bgcolor">
<embed align=""
type="application/x-shockwave-flash"
name="myMovieName"
bgcolor="#FFFFFF"
quality="high"
src="movie1.swf"
href="movie1.swf">
</object>
</div>

Have you tried takeing the embed node out of the object node?
It would look like:
<object id="myMovieName" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
<param value="movie.swf" name="movie">
<param value="high" name="quality">
<param value="#FFFFFF" name="bgcolor">
</object>
<embed align=""
type="application/x-shockwave-flash"
name="myMovieName"
bgcolor="#FFFFFF"
quality="high"
src="movie1.swf"
href="movie1.swf"/>
Thats because OBJECT node doesn't have a EMBED child node in HTML DTD, most browsers can deal with it, but apparently chrome is not one of them, but I'm guessing here.

Related

Flash presentation won't load on my web page

I found this solution over several places, regarding embeding a flash animation on my webpage but when I tried it, in my page only a white rectangle opens but the flash animation never plays.
I'm totally new for this Flash animations and object embeding thing so don't have any idea how to proceed.
<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="1000" height="600">
<param name="movie" value="birthdayAS2.swf">
<embed href="birthdayAS2.swf" width="1000" height="600" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
</embed>
</object>
Greetings
Have you checked that the file "birthdayAS2.swf" is in the same directory as of the file that you have mentioned above ?
Also please check whether your browser supports flash or not.
This means that flash player is loading. It also means that it cannot find the file.
After a lot of researching and testing I came up with this code:
<div id="flashcontent" align="center">
<object type="application/x-shockwave-flash" data="birthdayAS2.swf" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash /swflash.cab#version=6,0,29,0" width="700" height="600" align="middle">
<param name="movie" value="birthdayAS2.swf">
<param name="quality" value="high" />
<param name="wmode" value="transparent">
<param name="bgcolor" value="#000000" />
<embed src="birthdayAS2.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave- flash" width="700" height="600" bgcolor="#000000" wmode="transparent" > </embed>
</object>
</div>

How to display alternate text on iPhone/Android where flash is not supported

I am trying to display alternate text on browsers/devices where flash is not supported.
I have searched different sites and tried different codes but I'm failing to get anything effective.
Code is below, the flash displays animated text:
class="result10435918"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,40,0"
width="595"
height="39"
id="haxe"
align="middle">
<param name="movie" value="logo70644855.swf"/>
<param name="allowScriptAccess" value="always" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<embed src="images/homeheader2.swf"
wmode="transparent"
width="595"
height="39"
name="haxe"
quality="high"
allowScriptAccess="always"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer"
></embed>
Thanks
Ciaran
Try using an object tag to wrap the flash piece, and inside of it have your fallback text. Setting a width and height in the object tag defines a specific amount of space for the flash to take up. If that flash isn't loaded, it will display what else is inside of the object tag (the fallback text). You can also include images or something else in place of the Fallback Text.
<object type="application/x-shockwave-flash" data="yourmovie.swf" width="400" height="300">
<param name="movie" value="yourmovie.swf" />
Fallback Text Here
</object>

chrome not displaying video in flash

I don't understand. I'm trying to embed a video on my site. works perfectly on all browsers (even IE8) but not chrome... tested on several machines using windows 7
this is the embed code:
<object height="226" id="ce_93792260" width="400">
<param name="movie" value="http://current.com/e/93792260/en_US" />
<param name="wmode" value="transparent" />
<param name="allowfullscreen" value="true" />
<param name="allowscriptaccess" value="always" />
<embed allowfullscreen="true" allowscriptaccess="always" height="226"
src="http://current.com/e/93792260/en_US" type="application/x-shockwave-flash" width="400" wmode="transparent">
</embed></object>
you can see the embed on the page here: http://www.radicalislam.org/videos/american-born-baptist-now-ruthless-islamic-terrorist
found the solution.
need to delete the file(s) gcswf32.dll
don't forget to close chrome before.
source:
http://community.spiceworks.com/how_to/show/2004

wmode=transparent lightens the gray color in swf

I am using lightbox++ to load images outside of flash in order to make that work I have to set
wmode=transparent
in the object properties
But doing this lightens the gray color used in the swf..
Without adding wmode=transparent
Screenshot with wmode=transparent
Can anybody explain this behavior?
here is the whole code
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" style="display: block" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="100%" height="100%;">
<param name="movie" value="site.swf">
<param name="quality" value="high">
<param name="menu" value="false">
<param name="allowscriptaccess" value="always" />
<param name="wmode" value="transparent" />
<param name="allowFullScreen" value="true">
<embed src="site.swf" allowfullscreen="true" wmode="transparent" menu="false" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="100%" height="100%">
Ok I found a hint to the solution on this page
this is what i had done to fix the issue
wmode="opaque"
(by default the swf is set to be on top of all thus we have to use wmode to decide how we want to diplay the swf)
http://kb2.adobe.com/cps/127/tn_12701.html

Why is the relative path not finding the swf

I have this url and in the middle I have this embed link
<embed base="http://dev.posnation.com/images/" height="345" align="middle" width="743" type="application/x-shockwave-flash" salign="" allowscriptaccess="sameDomain"
allowfullscreen="false" menu="true" name="banner" bgcolor="#ffffff" devicefont="false"
wmode="window" scale="showall" loop="true" play="true"
pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="banner.swf">
But for some reason the flash doesnt pull up. I have the banner.swf in the /images folder as you can see with this link what am i missing
I think I know what the problem is.
You've specified base="http://dev.posnation.com/images/" and src="banner.swf", and you think that banner.swf will be searched in the images folder. I think it does not work that way.
Movie will still be searched in http://dev.posnation.com/. All the graphics for the movie will be searched in location specified by the base, while banner.swf will be searched in the location specified by src.
Source
woops ignore my previous answer. i see the problem. I used chrome's developer tools and your website throws an error
Uncaught TypeError: Cannot set property 'src' of null
to expand on awerti's suggestion this is how i embed from a different folder
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="240" height="138" id="flashdemo" align="middle" />
<param name="allowScriptAccess" value="always" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="/content/flashdemo.swf" />
<param name="quality" value="high" />
<param name="wmode" VALUE="transparent">
<param name="bgcolor" value="#ffffff" />
<param name="base" VALUE="/content/">
<embed src="/content/flashdemo.swf" base="/content/" quality="high" bgcolor="#ffffff" wmode="transparent" width="240" height="138" name="flashdemo" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" />