capturing WMP events

[email protected]
Newsgroups gmane.comp.mozilla.devel.java
Organization http://groups.google.com
Message-ID <1129722735.137546.57900__42626.9141877585$1129723529$gmane$org@g49g2000cwa.googlegroups.com>
Does anyone know how to capture the events from windows media player -
specifically PlayStateChange - for Firefox?

I've tried the Applet approach using the NPDS.npDSEvtObsProxy class but
the trace errors seem to suggest it's trying to access a class in the
netscape/plugin directory - which suggests this approach will only work
with Netscape?

Any suggestions/links would be appriciated,
Phil


Here is the java error trace incase it's useful:

...
Exception in thread "Thread-14" java.lang.NoClassDefFoundError:
netscape/plugin/Plugin
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(Unknown Source)
	at java.security.SecureClassLoader.defineClass(Unknown Source)
	at sun.applet.AppletClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.applet.AppletClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
	at java.lang.Class.getDeclaredMethods0(Native Method)
	at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
	at java.lang.Class.privateGetPublicMethods(Unknown Source)
	at java.lang.Class.getMethods(Unknown Source)
	at sun.plugin.javascript.ReflectUtil.getPublicMethods(Unknown Source)
	at sun.plugin.javascript.ReflectUtil.getJScriptMethods(Unknown Source)
	at sun.plugin.liveconnect.PrivilegedCallMethodAction.run(Unknown
Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.plugin.liveconnect.SecureInvocation$2.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.plugin.liveconnect.SecureInvocation.CallMethod(Unknown Source)
	at sun.plugin.liveconnect.SecureInvocation.access$300(Unknown Source)
	at
sun.plugin.liveconnect.SecureInvocation$CallMethodThread.run(Unknown
Source)
...
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.