pombreda / swfobject

Automatically exported from code.google.com/p/swfobject
0 stars 0 forks source link

embedSWF crashes Safari (Windows) #50

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Previously I was using SWFObject 1.5, and using it to open an .swf file in
a modal window. After upgrading to v2.0rc4, The swfobject call and
parameters were restructured like so:
var flashVars = {
headerPageNoText : '{{p}}/{{n}}',
headerStringText : 'Printer v0.1',
footerPageNoText : '{{p}}/{{n}}',
footerStringText : 'Printer v0.1'
};
var params = {
bgcolor : '#ffffff',
quality : 'high',
scale : 'noscale',
salign : 'lt',
wmode : 'opaque',
swliveconnect : 'true',
allowscriptaccess : 'always'
};
var attributes = {
name : 'print'
};

TiddlyLightBox.initBox('html', 'lightBoxContent', 400, 575, '');        
swfobject.embedSWF('flash/print.swf', 'lightBoxContent', '400', '575',
'9.0.0', null, flashVars, params, attributes);

everything worked fine on Firefox, but Safari (on Windows) crashes if this
modal is opened.

What is the expected output? What do you see instead?
I expect to see the same output as when I was using swfobject v1.5, swf
file opened in a modal window.

What version of the product are you using? On what operating system?
Version 4.0rc4. Windows XP SP2. Windows Safari 3.0.3 (522.15.5)

Please provide any additional information below.
When can you integrate a fix for this? Do I need to downgrade to v1.5?

Original issue reported on code.google.com by jafferha...@gmail.com on 13 Mar 2008 at 7:12

GoogleCodeExporter commented 9 years ago
We'll take a look at it.

Please note that Safari 3 on Windows is still in a beta and is full of bugs. 
Besides
that, it has zero market share, so I really wonder why this browser would be of 
any
importance for commercial projects.

Original comment by bobbyvandersluis on 13 Mar 2008 at 10:44

GoogleCodeExporter commented 9 years ago

Original comment by bobbyvandersluis on 13 Mar 2008 at 10:44

GoogleCodeExporter commented 9 years ago
I just installed Safari 3.0.4 beta on Win XP and run through our test suite:
- no script crashes
- everything works fine, both static and dynamic publishing, and the API

I suspect that your issue is a Safari issue. Again, it is still a beta product, 
and
it is still a very crash happy browser at the moment.

Original comment by bobbyvandersluis on 13 Mar 2008 at 11:38

GoogleCodeExporter commented 9 years ago
Ok. Thanks for checking it out. I guess I'll debug some more. I can always move 
back
to v1.5 if it comes to that. 
Thanks!

Original comment by jafferha...@gmail.com on 13 Mar 2008 at 11:52