| Author |
Message |
Guest
|
Posted:
Wed Oct 19, 2005 12:30 pm Post subject:
capturing WMP events |
|
|
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)
....
|
|
| Back to top |
|
 |
Guest
|
Posted:
Wed Oct 19, 2005 12:30 pm Post subject:
Re: capturing WMP events |
|
|
Sorry forgot to mention, I'd like to be able to resolve the issue
without resorting to the ActiveX plugin that's available for FF |
|
| Back to top |
|
 |
Guest
|
Posted:
Wed Oct 19, 2005 4:30 pm Post subject:
Re: capturing WMP events |
|
|
What do you mean by cross-posting my answer?
|
|
| Back to top |
|
 |
Sebastian Gottschalk
Guest
|
Posted:
Wed Oct 19, 2005 4:30 pm Post subject:
Re: capturing WMP events |
|
|
philbo@gmail.com wrote:
| Quote: | 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?
|
Yes, it will only work if you put the Java Class file into the plugin
folder of a Netscape/Mozilla-Plugin-compatible browser, which resorts to
Firefox and even Opera.
netscape.plugin is just the namespace/directory of the Plugin interface.
BTW, would be please stop harassing us to Cross-Post your answer? Damn, set
a Follow-up!
--
Dieser Schrieb stellt eine private Meinungsäußerung des Verfassers im
Sinne der gesetzlich garantierten Meinungsfreiheit dar. Wem das nicht
passt, der wende sich an das Bundesverfassungsgericht. Viel Erfolg!
Key: 0xA0E28D18 FP: 83AE 1136 1E2B 9767 8FB2 7594 4128 1A9E A0E2 8D18 |
|
| Back to top |
|
 |
Sebastian Gottschalk
Guest
|
Posted:
Wed Oct 19, 2005 4:30 pm Post subject:
Re: capturing WMP events |
|
|
philbo@gmail.com wrote:
| Quote: | What do you mean by cross-posting my answer?
|
| [...]
| From: philbo@gmail.com
| Newsgroups: microsoft.public.windowsmedia.player.web,netscape.public.
| mozilla.embedding,netscape.public.mozilla.general,netscape.public.mozilla.java
| Subject: capturing WMP events
| Date: 19 Oct 2005 04:52:15 -0700
| Organization: http://groups.google.com
| Lines: 43
| Message-ID: <1129722735.137546.57900@g49g2000cwa.googlegroups.com>
| [...]
You're posting your question to all of the newsgroups above and explicitely
wanted the answers to be posted to all of these newsgroups again!
It's not bad to post a question to multiple newsgroup.
But it's bad that you specified all newsgroups as targets for answers. That
just creates at lot of additional traffic on Usenet and leaves in question
where to post the answer if you don't want another cross-post. I decided
for microsoft.public.windowsmedia.player.web, because it's the only one of
those I read.
Even for a normal multipost the answer would just be targeted to each one
newsgroup, just creating additional traffic on the original posting but not
on the replies.
Going even further, one could expect you to set a Follow-Up-To to bundle
all answers into one newsgroup, except you want your answers to be split
among multiple newsgroups.
Did I forget to say that this is a *general Usenet FAQ*?
--
Dieser Schrieb stellt eine private Meinungsäußerung des Verfassers im
Sinne der gesetzlich garantierten Meinungsfreiheit dar. Wem das nicht
passt, der wende sich an das Bundesverfassungsgericht. Viel Erfolg!
Key: 0xA0E28D18 FP: 83AE 1136 1E2B 9767 8FB2 7594 4128 1A9E A0E2 8D18 |
|
| Back to top |
|
 |
Guest
|
Posted:
Wed Oct 19, 2005 4:30 pm Post subject:
Re: capturing WMP events |
|
|
"Did I forget to say that this is a *general Usenet FAQ*? " - Yes
I didn't even know it had that functionality in it, just thought they'd
be seperate posts with seperate replies. |
|
| Back to top |
|
 |
Sebastian Gottschalk
Guest
|
Posted:
Wed Oct 19, 2005 8:30 pm Post subject:
Re: capturing WMP events |
|
|
philbo@gmail.com wrote:
| Quote: | I didn't even know it had that functionality in it, just thought they'd
be seperate posts with seperate replies.
|
Well, you're using Google Groups Web Interface instead of a real newsreader
on a real Usenet provider account... still no excuse for cross-posting.
fup2 nnq, where such discussions belong :-)
--
Dieser Schrieb stellt eine private Meinungsäußerung des Verfassers im
Sinne der gesetzlich garantierten Meinungsfreiheit dar. Wem das nicht
passt, der wende sich an das Bundesverfassungsgericht. Viel Erfolg!
Key: 0xA0E28D18 FP: 83AE 1136 1E2B 9767 8FB2 7594 4128 1A9E A0E2 8D18 |
|
| Back to top |
|
 |
|
|
|
|