Re: Adding mouse click handler to the plugin

"Asaf O" <[email protected]>
Newsgroups gmane.comp.mozilla.mplayerplug-in
Message-ID <[email protected]>
after deeply invesitgating xul/browser/dom/js
it seems that the problem is that I get XPCNativeWrapper object of the
plugin
How to get the real one ?

Its a chrome app, with browser element in which there can
be videos.

Thanks

2007/8/6, Asaf O <[email protected]>:
>
> I tried whats called "Event Capturing"
> doesnt work on plugin windows
>
> means : I Try to capture the event in the parent browser, (with
> addEventListener) , works
> fine with normal elements but not plugins.
> thats a shame , becouse it would have solved the problem much nicer.
>
> any ideas on how to get fullscreen toggle on click ?
>
> 2007/8/6, Kevin DeKorte <[email protected]>:
> >
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Asaf O wrote:
> > > preferably even with only X support compiled in
> > >  any has an idea ?
> > > sepcificly for my application I need to toggle fullscreen
> > > when clicked, but I could make it more generic
> > > how to connect X event / gdk event to the window ? (both regular /
> > > fullscreen)
> > > thanks
> > > Asaf
> >
> > You can do this with javascript quite easily, just hook the click event
> > and then call the fullscreen method.
> >
> > I don't think you can do it with X mode.
> >
> > you may also want to look at gecko-mediaplayer/gnome-mplayer and see if
> > they do what you want.
> >
> > Kevin
> >
> > - --
> > Get my public GnuPG key from
> > http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.7 (GNU/Linux)
> > Comment: Using GnuPG with Remi - http://enigmail.mozdev.org
> >
> > iD8DBQFGtzOp6w2kMH0L1dERAugXAJ4zS6r9PGn5sSefbSA18r24sxfoHQCeJeLo
> > nbmuD8dZkrdi4/KEkG8kfrE=
> > =XU0u
> > -----END PGP SIGNATURE-----
> >
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems?  Stop.
> > Now Search log events and configuration files using AJAX and a browser.
> > Download your FREE copy of Splunk now >>  http://get.splunk.com/
> > _______________________________________________
> > Mplayerplug-in-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/mplayerplug-in-devel
> >
>
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

_______________________________________________
Mplayerplug-in-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mplayerplug-in-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.