danriegsecker / swfobject

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

embedSWF fails in Safari when no head tag is present #222

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use swfobject.embedSWF in a page without a head tag
2. View the page in Safari

What is the expected output? What do you see instead?
I expect the swf to be properly embedded, but nothing appears.

What version of the product are you using? On what operating system?
This is version 2.1 of swfobject with Safari 3 on either Windows XP or Mac
OS X.

Please provide any additional information below.
Sometimes I want to use swfobject on pages that I don't have full control
over. Because not everyone is standards compliant, some pages around the
web don't even have head tags. This turns out not to be a problem for most
browsers, but in Safari it keeps swfobject from working. I've attached a
test page that offers a more technical explanation as well as a possible
solution.

Original issue reported on code.google.com by raven...@gmail.com on 19 Nov 2008 at 1:09

Attachments:

GoogleCodeExporter commented 9 years ago
This issue has been submitted several times before. Valid HTML requires the head
element, so this is not a bug. But I understand this is not always in your 
hands, so
for a next version we will see if we can make things a bit more moron-proof.

Original comment by bobbyvandersluis on 19 Nov 2008 at 1:19

GoogleCodeExporter commented 9 years ago

Original comment by bobbyvandersluis on 28 Nov 2008 at 11:09

GoogleCodeExporter commented 9 years ago
Included in the SWFObject 2.2 beta1 release

Original comment by bobbyvandersluis on 16 Apr 2009 at 3:05