Re: Start and Stop Plugins - any advice?

steve lu <[email protected]> Fri, 15 Apr 2011 10:32:02 -0400
Newsgroups gmane.comp.mozilla.devel.embedding
Message-ID <[email protected]>
I think this works the same as stopping and restarting the plugin:

(0) On document load, enumerate all objects node.
(1) Do a CloneNode() on each object .
(2) Modify its "wmode" attribute.
(3) Call parentNode.ReplaceChild().

Steve


Babele Dunnit wrote:
> Hi all,
>
> I am in need to stop a plugin instance, change some of its parameters
> and restart it. I was able to do this with Gecko 1.9 but the code
> seems to be broken now, the plugin does not reatart.
>
> Is anybody willing to tell me at least where to dig into MXR?
>
> Note: I need this to change the "wmode" parameter of Flash plugins to
> "opaque", so that I can grab Flash videos.
> _______________________________________________
> dev-embedding mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-embedding
>
>