Closed GoogleCodeExporter closed 9 years ago
Here is a code example:
http://pastebin.com/raw.php?i=TWVS52HF
Original comment by bla...@gmail.com
on 4 Nov 2010 at 8:50
Hi Blairv
Your code example wraps everything in a jQuery 'ready' function.
swfobject.embedSWF() also uses its own domready detection. Can you try your
test again, but this time use createSWF instead of embedSWF (see
http://code.google.com/p/swfobject/wiki/api)? This can help determine if the
issue is related to the domready code, which is especially important if you're
referring to re-visiting a page without reloading it.
Also, be aware that SWFObject 1.5 used document.write(), while SWFObject 2.x
uses the W3C createElement() with an outerHTML fallback. This may account for
the differences you've encountered.
- philip
Original comment by platelu...@gmail.com
on 7 Nov 2010 at 5:30
Related discussion here:
http://groups.google.com/group/swfobject/browse_thread/thread/2f457ef5936b59a2?h
l=en
Original comment by platelu...@gmail.com
on 7 Nov 2010 at 5:32
I did not try the createSWF function because it seems overly verbose. I did
however ditch the dom ready and instead added an onclick tag to the link itself
that called a function which calls embedSWF. Still does not work. I would
really suggest revisiting exactly why it is so vastly different then the 1.5
implementation. Seems like something more than just the dom ready.
Original comment by bla...@gmail.com
on 9 Nov 2010 at 5:12
Does the SWF show up without a refresh if you use a non-SWFObject embed method,
such as using the <object><embed> combo in your HTML?
Original comment by platelu...@gmail.com
on 9 Nov 2010 at 6:55
Installing the Flash Player plugin may require a page refresh depending on the
browser. This is handled by the browser vendors and Adobe, and is therefore
beyond our control.
Original comment by platelu...@gmail.com
on 16 May 2011 at 5:25
Original issue reported on code.google.com by
bla...@gmail.com
on 4 Nov 2010 at 5:55