Re: Adding mouse click handler to the plugin

"Asaf O" <[email protected]>
Newsgroups gmane.comp.mozilla.mplayerplug-in
Message-ID <[email protected]>
Great !
it works . but :
can we pass reference to the plugin into the event handler ?
this would be very usefull, if you tell me how to do I will send you
patch
thanks
Asaf

2007/8/6, Kevin DeKorte <[email protected]>:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Asaf O wrote:
> > ok got the real object throigh :
> > wrapper.wrappedJSObject
> > now I can call functions like stop,,play
> > but still,
> > click doesnt raise any events, :
> > 1. element.onclick
> > 2. element.addEventListener
> >
> > when clicking in the video window
> >
> > 10x
> >
>
> Grab CVS and now you should be able to do this. (Case is important)
>
> element.onClick("MethodToCallOnClick();");
>
> Wasn't super hard to implement, about 20 lines of code. Also made the
> change to gecko-mediaplayer.
>
> 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
>
> iD8DBQFGt3dq6w2kMH0L1dERAo8zAJ9GDbYqjhnbJke0CKf9mosVdo3OPQCggajm
> pTdn0RGTiew9oALpKDA+mh8=
> =PFHL
> -----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.