wildside96 / bst-player

Automatically exported from code.google.com/p/bst-player
0 stars 0 forks source link

QuickTimePlayer "this.GetPluginVersion" is not a function in Firefox on Mac OS #49

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have a project which I'm now testing in Firefox 5.0.1. It uses Plugin.Auto in 
my custom audio und video player. Both are not working anymore. The 
Firebug-Console is giving me "this.GetPluginVersion is not a function" when 
trying to load the video (m4v) and "Error calling method on NPObject" when 
starting the player to load an mp3 which worked with firefox 4 before. My 
system is Mac OS 10.7

Original issue reported on code.google.com by kpb...@gmail.com on 25 Jul 2011 at 7:35

GoogleCodeExporter commented 9 years ago
if you enable/show logger on the player:
- what media plugin is in use?
- what is the version of the plugin?

What happens if you use other plugin types (like flash, quicktime etc)?

Original comment by sbrah...@gmail.com on 25 Jul 2011 at 2:47

GoogleCodeExporter commented 9 years ago
It happens on the quicktime plugin. I now select the Flashplayer-Plugin which 
works to play the media. My Quicktime plugin is 7.7.1 .

Original comment by kpb...@gmail.com on 26 Jul 2011 at 6:34

GoogleCodeExporter commented 9 years ago
It also happens on the DivX plugin:

com.google.gwt.core.client.JavaScriptException: (TypeError): this.GetVersion is 
not a function
    at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:248)
    at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269)
    at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)

Original comment by scott@selikoff.net on 19 Sep 2011 at 9:23

GoogleCodeExporter commented 9 years ago
- What version of DivX plugin you have installed?
- On what OS is this comming up?
- What version of bst-player?

Original comment by sbrah...@gmail.com on 21 Sep 2011 at 7:47

GoogleCodeExporter commented 9 years ago
I am having exactly the same issue.
We are trying to use BST Player to play videos and sounds on different 
OS/Browsers.
Our code is now working fine using QuickTime (Plugin Version 7.7.1) on Windows 
for FireFox, Chrome, Safari and IE) and on MacOS 10.7.3 on Chrome and Safari.
The issue only appears on FireFox on MacOS (Current FireFox version is 10.0.2, 
but we see it on earlier versions of Firefox too).

The Main issue seems to be that the QuickTime plugin Impl object is not 
properly instanciated. So it gives NPObject and GetVersionNumber method does 
not exist errors.
We are currently using BST Player 1.3.
The Player Logger just prints "QuickTime Player plugin", and never gets to 
print the Plugin version, as it does in every other OS/Browser configuration we 
test.

Any hint about where to look for the error would be apreciated. We can test 
some fixes and post an eventual solution if we find it.

Regards,

Original comment by damien.b...@gmail.com on 12 Mar 2012 at 12:47

GoogleCodeExporter commented 9 years ago
Well, after some more digging in that issue. Here is what we found.
First, the issue arrives also on the BST Player ShowCase. Just try to run it 
from FireFox on MacOS, it does not play any media, so it should be easy to 
reproduce.
Second, we successfully have it running when we remove the print of the Plugin 
Version. Well, in fact it is when we remove the call to impl.getPluginVersion() 
in the QuickTimePlayer class, in the onLoad method.
For some reason, this call always returns null on FireFox on MacOS. So the 
Player is never Stated as Ready.

Hope this will help to find a good fix to the issue and to improve this great 
player wrapper.

Cheers,

Original comment by damien.b...@gmail.com on 12 Mar 2012 at 4:53

GoogleCodeExporter commented 9 years ago

Original comment by sbrah...@gmail.com on 20 Mar 2012 at 2:53

GoogleCodeExporter commented 9 years ago

Original comment by sbrah...@gmail.com on 10 Apr 2012 at 10:08

GoogleCodeExporter commented 9 years ago

Original comment by sbrah...@gmail.com on 24 Feb 2013 at 4:22