DISQUS

Alex Hillman Writes Here: deconcept swfObject bug debugged!

  • Geoff · 3 years ago

    This functionality was changed in the very latest version (although not quite released yet).


    The change adds this function only if the user has IE, and only if their Flash player version is 8 or above (players that use ExternalInterface).


    The issue was that if you had a streaming video, and you embed the movie using innerHTML, when you left the page, the audio would keep playing (and presumably the Flash plugin would stay in the browser memory).


    To fix this, I implemented this fix, but then later noticed the issues you mention (among a couple of other small issues).


    So in the next release this will be eased a little bit - you'll still see this if you are using IE and have Flash Player 8+, but on all other browsers you'll be just fine.

  • Geoff · 3 years ago

    Oh, and I also should say: if you aren't using streaming content and ExternalInterface in your Flash movies, it's perfeclty fine to comment out that chunk of code.

  • dangerouslyawesome · 3 years ago

    Thanks for your comment on my blog, Geoff. I actually have some objects that will have streaming content...so I think i'm going to hook an additional argument in so that i can run that function only when i specify that argument(or not, as the case may be), the embedded objects with streaming content can be appropriately unloaded.


    perhaps this would be a better way to handle this for your distributed version of the script? some kind of override to turn it off, maybe?

  • trmadol · 2 years ago

    dude. awesome.