Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

com.bramosystems.oss.player.core.client.PluginVersionException: Plugin version 1.1.1 is required, -1.-1.-1 found #67

Open
GoogleCodeExporter opened this issue Dec 15, 2015 · 8 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1.Create a abstract media player, using PlayerUtil or new WinMediaPlayer
2.Auto Play the file
3.

What is the expected output? What do you see instead?
File should be played, instead a exception is thrown like
com.bramosystems.oss.player.core.client.PluginVersionException: Plugin version 
1.1.1 is required, -1.-1.-1 found
    at com.bramosystems.oss.player.core.client.ui.WinMediaPlayer.<init>(WinMediaPlayer.java:98)
    at com.bramosystems.oss.player.core.client.ui.WinMediaPlayer.<init>(WinMediaPlayer.java:176)
    at com.bramosystems.oss.player.core.client.ui.WinMediaPlayer.<init>(WinMediaPlayer.java:250)
    at com.bramosystems.oss.player.core.client.impl.CorePlayerProvider.getPlayer(CorePlayerProvider.java:64)
    at com.bramosystems.oss.player.core.client.impl.plugin.PlayerManager.getPlayer(PlayerManager.java:158)
    at com.bramosystems.oss.player.core.client.PlayerUtil.getPlayer(PlayerUtil.java:115)
    at com.sixdee.ivr.client.TestSmartGWTPlayers.playAudioUsingPlugin(TestSmartGWTPlayers.java:146)
    at com.sixdee.ivr.client.TestSmartGWTPlayers.onModuleLoad(TestSmartGWTPlayers.java:38)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:396)
    at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:200)
    at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:525)
    at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363)
    at java.lang.Thread.run(Thread.java:722)

What version of the product are you using? On what operating system? On
what browser/version?
GWT 2.40 . It works fine in IE.

Please provide any additional information below.
When tried to get the version of the Windows media plugin using Player Util, it 
returned 
Current Version :12.0.7600
Yet in Chrome we are getting this issue.

Original issue reported on code.google.com by rubiniku...@gmail.com on 23 Apr 2013 at 8:27

@GoogleCodeExporter
Copy link
Author

What BST Player version are you using?

Original comment by sbrah...@gmail.com on 24 Apr 2013 at 11:33

@GoogleCodeExporter
Copy link
Author

bst-player-api-1.3.jar

Original comment by rubiniku...@gmail.com on 25 Apr 2013 at 5:33

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

You do not seem to have the Windows Media Plugin for Firefox installed.  It is 
required for non-IE browsers.

Original comment by sbrah...@gmail.com on 26 Apr 2013 at 3:57

@GoogleCodeExporter
Copy link
Author

Okie, but still there seems to be a confusion. We had tried it in chrome also, 
which has a media plugin. When tried to get the version of the Windows media 
plugin using Player Util, it returned 
Current Version :12.0.7600
If that browser does not contain the plugin, then from where are we getting 
this version number ? 
Note : Same happened in FF also .

Original comment by rubiniku...@gmail.com on 26 Apr 2013 at 5:59

@GoogleCodeExporter
Copy link
Author

Can you confirm this issue is closed on your side with the 2.0 release?

Original comment by sbrah...@gmail.com on 6 Jun 2013 at 9:57

@GoogleCodeExporter
Copy link
Author

No Luck. The same happened again. Can u throw some light on how Player Util is 
getting the version of media plugin ? 
it returns
Current Version :12.0.7600

If that browser does not contain the plugin for FF, then from where are we 
getting this version number ? 
Note : Same happened in FF also .

Original comment by rubiniku...@gmail.com on 6 Jun 2013 at 10:03

@GoogleCodeExporter
Copy link
Author

This is strange ...

PlayerUtil detects WMP in two ways:
- it first check if FF plugin is installed and if yes, injects WMP into the 
browser and query the WMP plugin for its version
- if FF plugin is not installed, it checks for default WMP plugin and if 
available returns version 1.1.1

Plugins are checked only ONCE during application startup, so if PlayerUtil 
returns WMP v 12.0.7600, then WinMediaPlayer should work as expected.

But:
- What OS version are you using?
- Is your OS 64bit or 32bit?
- Visit http://oss.bramosystems.com/bst-player/demo/showcase/index.html#mimes, 
and attach a screenshot of what shows up on your browser..

Original comment by sbrah...@gmail.com on 6 Jun 2013 at 11:54

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant