Re: [Mplayerplug-in-devel] Adding mouse click handler to the plugin
Brought to you by:
kdekorte
From: Kevin D. <kde...@gm...> - 2007-08-12 16:54:23
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Asaf O wrote: > well the event you added helped me, but > if I connect several onClick events to the same handler > I want to be able to respond like : > > function onClick(sender) > { > sender.fullscreen = !sender.fullscreen > { > > or so > > 10x > > Asaf > 2007/8/7, Kevin DeKorte <kde...@gm... <mailto:kde...@gm...>>: > So does this not work? embed.onClick = "onClick(embed);"; I'm just not sure how I would handle that object in the plugin since I don't have access to the javascript object. If that doesn't work I think you'll need to have a custom callback embed.onClick = "onMplayerClick();"; 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 iD8DBQFGvzs06w2kMH0L1dERAofdAJ9ZVrx+3s+Qo8wHCBLtfvW3K/tT+QCfcycK zkMDspU8BF54uBnndk3nvnc= =piFK -----END PGP SIGNATURE----- |