wildside96 / bst-player

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

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

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 commented 9 years ago
What BST Player version are you using?

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

GoogleCodeExporter commented 9 years ago
bst-player-api-1.3.jar

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

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
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 commented 9 years ago
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 commented 9 years ago
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 commented 9 years ago
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 commented 9 years ago
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