Forum Sitebox Sitebox {% swf ... %} tag error on IE9

Discussion and help relating to the PlayerIO webpage and Facebook app hosting solution, Sitebox.

Sitebox {% swf ... %} tag error on IE9

Postby whitershores » July 15th, 2011, 11:38 pm

Hi I think i found a bug on the Facebook sitebox:

- you have to basically click OK, for the thing to load

Image


my setup: I am getting the following error under IE9, 32bit, Win7 64 bit
Attachments
shot2.jpg
shot2.jpg (45.97 KiB) Viewed 12628 times
whitershores
Paid Member
 
Posts: 88
Joined: June 21st, 2011, 4:19 pm

Re: Sitebox {% swf ... %} tag error on IE9

Postby whitershores » July 15th, 2011, 11:42 pm

I think this may have to do with the https, although im not 100% sure on this. ( like that the .SWF file itself is not located under an https address. )

Different versions of IE give different errors, where as Firefox isnt bothered at all...
whitershores
Paid Member
 
Posts: 88
Joined: June 21st, 2011, 4:19 pm

Re: Sitebox {% swf ... %} tag error on IE9

Postby whitershores » July 16th, 2011, 12:03 am

ok i found it the offending bit was in the master.html, the line

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>

change that to https and it will load
whitershores
Paid Member
 
Posts: 88
Joined: June 21st, 2011, 4:19 pm

Re: Sitebox {% swf ... %} tag error on IE9

Postby Henrik » July 16th, 2011, 11:41 am

Better yet, change it to:

Code: Select all
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>

...and it will load it through http or https depending on the context.

It's like that in the current master, so if you make a new Sitebox site now, you'll get that. We couldn't change all the existing templates for obvious reasons, so you'll have to manually fix it.
Henrik
.IO
 
Posts: 1880
Joined: January 4th, 2010, 1:53 pm


Return to Sitebox



cron