Mozilla Firefox not displaying embedded Flash

Mozilla Firefox not displaying embedded Flash

by Kendra Smith -
Number of replies: 6

I posted this in the lesson module first and copied and pasted it here it is a little messy. Sorry. I thought this forum might help me a little better. Thanks

Hello everyone,

I have created a lesson with several pages containing Flash animations. If loaded on Internet Explorer everything runs perfect.

But just recently a trial run on Mozilla Firefox was ran and none of the Flash animations were loaded. The HTML code was still present, all files were still there and able to display in a pop-up window, and the addresses to the files from the HTML was all correct.

I'm very confussed. Any ideas??

Picture of Kendra Smith
 

When designing my lesson pages in order to embed my flash i followed the directions located on http://docs.moodle.org/en/Flash.

http://tracker.moodle.org/browse/MDL-5981 On the bug tracker site I found that the IE browsers tolerate HTML errors much more than Firefox.

Here is an example of my HTML:

<object id="Activity1Part1" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" height="415" width="550" align="middle" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"><param name="_cx" value="14552" /><param name="_cy" value="10980" /><param name="FlashVars" /><param name="Movie"value="http://*serverName*/file.php/21/Activity_1/Activity1Part1.swf " /><param name="Src"value="http://*serverName*.com/file.php/21/Activity_1/Activity1Part1.swf " /><param name="WMode" value="Window" /><param name="Play" value="0" /><param name="Loop" value="-1" /><param name="Quality" value="High" /><param name="SAlign" /><param name="Menu" value="-1" /><param name="Base" /><param name="AllowScriptAccess" value="sameDomain" /><param name="Scale" value="ShowAll" /><param name="DeviceFont" value="0" /><param name="EmbedMovie" value="0" /><param name="BGColor" value="FFFFFF" /><param name="SWRemote" /><param name="MovieData" /><param name="SeamlessTabbing" value="1" /><param name="Profile" value="0" /><param name="ProfileAddress" /><param name="ProfilePort" value="0" /><param name="AllowNetworking" value="all" /><param name="AllowFullScreen" value="false" />
<embed src="Activity1Part1.swf" quality="high" bgcolor="#ffffff" width="550" height="415" name="Activity1Part1" align="middle" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>

Thanks,

kendra

Average of ratings: -
In reply to Kendra Smith

Re: Mozilla Firefox not displaying embedded Flash

by Kendra Smith -

Hello again,

I have inserted:

<object height="415"width="550"> <param name="movie" value="http://*serverName*.com/file.php/21/Activity_1/Activity1Part1.swf"/> <embed src="></object>"height="415"width="550"/

this works in place of the script above and its much shorter. It works not only on the IE but in Firefox as well.

For some reason though after this is saved and you go back into the html it sometimes changes (still works) but the code is different?

It looks like this:

<embed src=http://*serverName*.com/file.php/21/Activity_1/Activity1Part1.swf type="application/x-shockwave-flash"height="415"width="550"/>

I'm not sure what makes the html change and I'm not sure why this works and the previous code dosen't. Any Idea's? Has anyone else ran into a simular problem?

Thanks,

kendra

In reply to Kendra Smith

Re: Mozilla Firefox not displaying embedded Flash

by Kendra Smith -

Sorry runtime error didn't get to complete my responce. But as I was saying from above I removed the previous code and inserted this new code:

<object height="415" width="550"> <param name="movie" value="http://*server*.com/file.php/21/Activity_1/Activity1Part1.swf"/> <embed src="http://*server*.com/file.php/21/Activity_1/Activity1Part1.swf" height="415"width="550" /> </object>

I then saved the page and tested. The flash animation ran on both Internet Explorer and Firefox. But when I viewed the code again it changed to:

<embed src="http://*server*.com/file.php/21/Activity_1/Activity1Part1.swf" type="application/x-shockwave-flash" height="415"width="550" />

Why did the html change? and It does not always change sometimes it stays like the first one? Has anyone else ran into a simular issue? Are there other ways to correct this?(embeded flash playing in both IE and Firefox)

Any help is greatly appreciated.

kendra

In reply to Kendra Smith

Re: Mozilla Firefox not displaying embedded Flash

by Michael Penney -
Are there other ways to correct this?(embeded flash playing in both IE and Firefox)

Why not use the multimedia filter?
Average of ratings: Useful (1)
In reply to Michael Penney

Re: Mozilla Firefox not displaying embedded Flash

by Kendra Smith -

Thanks for your responce. What is the multimedia filter?

Thanks in Advance,

kendra

In reply to Kendra Smith

Re: Mozilla Firefox not displaying embedded Flash

by Michael Penney -
It is a filter that writes your object/embed code for you. There is documentation here:
http://docs.moodle.org/en/Multimedia_plugins
In reply to Michael Penney

Re: Mozilla Firefox not displaying embedded Flash

by Kendra Smith -

Thanks,

I've finished my research on the Multimedia_plugin and enabled the swf. It works wonderfully. Thanks a lot for your help.

kendra