wildside96 / bst-player

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

JavaScript Exception is thrown if AUTO player is created without any suitable plugins #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use code from http://oss.bramosystems.com/bst-
player/demo/showcase/index.html#dyn/dyna
2. Load in Browser *without* any suitable plugin (e.g. chromium 32 bit on a 
64 bit linux)
3. catch JavaScriptException

What is the expected output? What do you see instead?
It should throw a PluginNotFoundException, Instead I get a JavaScriptException

What version of the product are you using? On what operating system?
1.0, Linux 64bit

Please provide any additional information below.
The Exception is:
(TypeError): Cannot read property 'enabledPlugin' of undefined stack: 
TypeError: Cannot read property 'enabledPlugin' of undefined at iW
...

Original issue reported on code.google.com by berger....@gmail.com on 26 Nov 2009 at 1:22

GoogleCodeExporter commented 9 years ago
I can now provide more detailed debug messages:

- Its the Windows Media Player plugin which fails with the JavaScriptException 
-> The 
Auto plugin should check for an JavaScriptException in every plugin and it if 
receives 
one, try the next plugin, rather than failing.

I'll report the WMP plugin bug in a new bug report

Original comment by berger....@gmail.com on 26 Nov 2009 at 2:41

GoogleCodeExporter commented 9 years ago

Original comment by sbrah...@gmail.com on 7 Dec 2009 at 4:57