I'm trying to get my flash animation working in Firefox. It works excellently in both Chrome and Internet Explorer, but when I open up the webpage in FF it doesn't load. What's the problem? I'm seriously stumped. I also checked to see if there was any issues with my browser playing Flash in general but it works.
Here's the link to the site: http://mason.gmu.edu/~klee49/dees_peanuts/about_us.html
And here's the code:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="800" height="600" id="FlashID" title="Dee's Peanuts Company Animation">
<param name="movie" value="assets/deespeanutsanimation.swf" />
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="10" />
<!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
<param name="expressinstall" value="Scripts/expressInstall.swf" />
<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="assets/deespeanutsanimation.swf" width="800" height="600">
<!--<![endif]-->
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="10" />
<param name="expressinstall" value="Scripts/expressInstall.swf" />
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="800" height="600" /></p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
Thanks for your help.
EDIT: Hi, to whoever happens to have this problem in the future, I managed a workaround by using an iframe tag instead of object.
<iframe src="assets/deespeanutsanimation.swf" width="640" height="480" title="Dee's Peanuts Company" border="0" /></iframe>
Related
I need help embedding a .swf file onto my website. I have tried all kinds of code combinations. Here's what I currently have.
<div class="article_top_img">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" >
<param name="movie" value="myfile.swf">
<param name="quality" value="high">
<param name="wmode" value="opaque">
<embed src="myfile.swf" quality="high" wmode="opaque" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="550" height="310"></embed>
</object>
</div>
At the moment it's simply displaying the outline of the video.
I've just tried to embed a swf file to HTML file with Adobe Dreamweaver application. Name of the swf file is t0.swf, it's located on the Desktop. It generated this code block:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="550" height="400" id="FlashID" title="swf file">
<param name="movie" value="../Desktop/t0.swf" />
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="7.0.70.0" />
<!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
<param name="expressinstall" value="Scripts/expressInstall.swf" />
<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="../Desktop/t0.swf" width="550" height="400">
<!--<![endif]-->
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="7.0.70.0" />
<param name="expressinstall" value="Scripts/expressInstall.swf" />
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
I've tried to view this html file with Google Chrome(version 30.0.1599.66 m), Mozilla Firefox (Version 24.0), Internet Explorer (Version 8) and Opera(Version 11.51). They all opened that html fine, swf animation starts playing just after opening the html. Also I've tried your code:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" >
<param name="movie" value="../Desktop/t0.swf">
<param name="quality" value="high">
<param name="wmode" value="opaque">
<embed src="../Desktop/t0.swf" quality="high" wmode="opaque" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="550" height="310"></embed>
</object>
It also worked fine, except that internet explorer showed the swf animation a little bit smaller, but it worked. May be you should check your flash player plugin.
I made the huge mistake of getting a template instead of just doing the development my self. Now I've narrowed down the issue- first, I thought it was an issue with the actual flash file. Now I'm realizing it's every time I change the images in the HTML editor which just makes no logical sense to me. This is the code for the flash file:
<body id="page1" onload="new ElementMaxHeight()">
<div id="main">
<!-- header -->
<div id="header">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="download.macromedia.com/pub/shockwave/cabs/flash/…; width="940" height="417"></object><!----> <![endif]-->
</div>
<!-- content -->
<div id="content">
Again, it works great on IE, but nothing else, which is a twist I haven't seen online.
Appreciate any feedback you can offer.
Im sure this answer is here already but i will post a generic code i always use.
Just place the whole block and change related values, swf properties.
<object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="950" height="377">
<param name="movie" value="myMovie.swf">
<param name="quality" value="high">
<param name="wmode" value="direct" >
<param name="swfversion" value="6.0.65.0">
<!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
<param name="expressinstall" value="Scripts/expressInstall.swf">
<param name="SCALE" value="noborder">
<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="myMovie.swf" width="950" height="377">
<!--<![endif]-->
<param name="quality" value="high">
<param name="wmode" value="direct" >
<param name="swfversion" value="6.0.65.0">
<param name="expressinstall" value="Scripts/expressInstall.swf">
<param name="SCALE" value="noborder">
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
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
I have a .swf file that is not looping although I have added the parameter to do so. It plays just the once, and at the end of the video it stops instead of looping.
Can someone tell me what I might be doing wrong here?
<div id="video">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="211" height="316" id="FLVPlayer" style="visibility: visible; ">
<param name="movie" value="FLVPlayer_Progressive.swf">
<param name="quality" value="best">
<param name="wmode" value="opaque">
<param name="scale" value="noscale">
<PARAM NAME="loop" VALUE="true">
<param name="salign" value="lt">
<param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Clear_Skin_2&skinAutoHide=true&streamName=ScreenOnlyDemo&autoPlay=true&loop=true">
<param name="swfversion" value="8,0,0,0">
<!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don't want users to see the prompt. -->
<param name="expressinstall" value="Scripts/expressInstall.swf">
<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="FLVPlayer_Progressive.swf" width="211" height="316">
<!--<![endif]-->
<param name="quality" value="best">
<param name="wmode" value="opaque">
<PARAM NAME="loop" VALUE="true">
<param name="scale" value="noscale">
<param name="salign" value="lt">
<param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Clear_Skin_2&skinAutoHide=true&streamName=ScreenOnlyDemo&autoPlay=true&loop=true">
<param name="swfversion" value="8,0,0,0">
<param name="expressinstall" value="Scripts/expressInstall.swf">
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</div><!-- video end -->
It depends on what did you set in your Flash file (FLA). By default, a Flash file loops when it reaches the last frame.
FYI, to stop the loop, add a stop(); in the ActionScript at the end frame. Valid for ActionScript 1-3.
Video plays fine, but the controls (play, stop, rewind etc.) don't appear, despite setting the "controller" parameter to "true".
<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="320" height="260">
<param name="src" value="myvid.mov" />
<param name="controller" value="true" />
<object type="video/quicktime" data="myvid.mov" width="320" height="260" class="mov">
<param name="controller" value="true" />
</object>
</object>
Works fine when I refer to this video:
http://realdev1.realise.com/rossa/rendertest/quicktime.html
Do the controls need to be enabled when encoding the video perhaps?
The height of the movie + 16px should do the trick.