Re: Start and Stop Plugins - any advice?
Babele Dunnit <[email protected]> Tue, 19 Apr 2011 03:35:38 -0700 (PDT)
| Newsgroups | gmane.comp.mozilla.devel.embedding |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <[email protected]> |
YEAH! IT WORKS! I owe you one! thx! On Apr 15, 4:32 pm, steve lu <[email protected]> wrote: > 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