Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

I have some code that works in Chrome, Opera, IE, and Safari but not Firefox. I haven't been able to register to ask my question in a forum. Please help.

  • 7 replies
  • 6 have this problem
  • 3 views
  • Last reply by deaskren

more options

I created a LCD scrolling banner at Textspace.net and copied the code they supply for my website. The code works in Opera 12.16, Safari 5.1.7, IE 11 and Google Chrome 31.0 but not Firefox 26.0. OS is Windows 7. Here is the code TextSpace generated:

      <object width="400" height="56">
         <param name="movie" value="http://i339.photobucket.com/albums/n463/textspace/lcd/lcd_4.swf" />
         <param name="wmode" value="transparent" />
         <param name="flashvars" value="w=400&h=56&c=1&spd=2&b=1&t=News%21++News%21++News%21" />
         <param name="allowscriptaccess" value="always" />
         <embed src="http://i339.photobucket.com/albums/n463/textspace/lcd/lcd_4.swf" 
                type="application/x-shockwave-flash" 
                wmode="transparent" 
                flashvars="w=400&h=56&c=1&spd=2&b=1&t=News%21++News%21++News%21" 
                allowscriptaccess="always" 
                width="400" height="56">
      </object>

Thanks for any help you can provide.

I created a LCD scrolling banner at Textspace.net and copied the code they supply for my website. The code works in Opera 12.16, Safari 5.1.7, IE 11 and Google Chrome 31.0 but not Firefox 26.0. OS is Windows 7. Here is the code TextSpace generated: <object width="400" height="56"> <param name="movie" value="http://i339.photobucket.com/albums/n463/textspace/lcd/lcd_4.swf" /> <param name="wmode" value="transparent" /> <param name="flashvars" value="w=400&h=56&c=1&spd=2&b=1&t=News%21++News%21++News%21" /> <param name="allowscriptaccess" value="always" /> <embed src="http://i339.photobucket.com/albums/n463/textspace/lcd/lcd_4.swf" type="application/x-shockwave-flash" wmode="transparent" flashvars="w=400&h=56&c=1&spd=2&b=1&t=News%21++News%21++News%21" allowscriptaccess="always" width="400" height="56"> </object> Thanks for any help you can provide.

Chosen solution

I'm not sure if Firefox is wrong with sending the default accept header or that the Photobucket site is wrong because it doesn't send the file that is requested.
You can try to file a bug on this issue to get this clear.

Read this answer in context 👍 0

All Replies (7)

more options

As there is no classid present you can modify the code and add a data attribute to the object

<object width="400" height="56" data="http://i339.photobucket.com/albums/n463/textspace/lcd/lcd_4.swf" type="application/x-shockwave-flash">
   <param name="movie" value="http://i339.photobucket.com/albums/n463/textspace/lcd/lcd_4.swf" />
   <param name="wmode" value="transparent" />
   <param name="flashvars" value="w=400&h=56&c=1&spd=2&b=1&t=News%21++News%21++News%21" />
   <param name="allowscriptaccess" value="always" />
</object>

This looks that one of the previously reported issues with Photobucket where Firefox sends an accept header that specifies an text/html and not a Flash file (application/x-shockwave-flash).
This makes Photobucket redirect to an HMTL page on their site that won't work in Firefox.

Maybe a bug should be filed that if a MIME (content) type is specified in a request then this MIME type should be send instead of the default accept header (text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8).

If I do not send an accept header (network.http.accept.default = empty) then Firefox sends the correct application/x-shockwave-flash accept header and the Flash works.

more options

Thanks for the response cor-el. I added the data and type attributes to the <object> tag as you showed and reloaded the code in Firefox. The scrolling banner still doesn't show. The only thing that shows is the Textspace link at the end.

more options

Yeah, the code won't work with Firefox because Photobucket doesn't like the text/html accept header that is send by Firefox.
I don't know of a way to make Firefox send the correct accept header for the Flash file.

more options

You can test the effect and temporarily set the network.http.accept.default pref to an empty string on the about:config page.
That should make the scrolling banners work.

more options

I changed the value in about:config as you suggested and the scrolling banner now works. To followup, what is the effect if I leave that setting as an empty string? I teach at a community college and I want to use the banner in the online environment. Since the students are free to use any browser they want to access the course, I really can't tell those that use Firefox to change that setting in order to see the banner if it has some other undesired impact on their use of Firefox.

more options

Chosen Solution

I'm not sure if Firefox is wrong with sending the default accept header or that the Photobucket site is wrong because it doesn't send the file that is requested.
You can try to file a bug on this issue to get this clear.

more options

I worked around it by just using a screenshot of the banner. I can't control which browser my students are using and with classes starting, this was the easiest way to get around the issue. Thanks for the information on this - it was very useful.