akihiko122 / swfobject

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

Test for the availability of the DOM when the script is executed #162

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently embedSWF and registerObject will never execute when the SWFObject
library itself is added dynamically after the onload event has fired (in
this specific case a JavaScript developer can currently only use the
JavaScript API incl. embedSWF to embed Flash content). This can easily be
avoided by checking for the avaialability of the DOM when the script gets
executed and setting the isDomLoaded flag accordingly.

Original issue reported on code.google.com by bobbyvandersluis on 29 Aug 2008 at 3:57

GoogleCodeExporter commented 9 years ago
Enhancement is included in swfobject 2.2 alpha 1. Test page:
http://www.bobbyvandersluis.com/swfobject/testsuite_2_2/test_library_after_onloa
d.html

Original comment by bobbyvandersluis on 18 Nov 2008 at 4:29

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

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