wildside96 / bst-player

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

AudioPlayer (Flash) won't work on Windows XP / Internet Explorer 7 #37

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I'm trying to play a mp3 in a custom player in Internet Explorer 7. Although 
Flashplayer gets detected for playing the file and Flash-Player is installed 
with 10.1.102.64 the file won't play and exists with the following exception:

The Demo-Showcase Custom-Player does not work as well...

Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError): Das 
Objekt unterstützt diese Eigenschaft oder Methode nicht.
 number: -2146827850
 description: Das Objekt unterstützt diese Eigenschaft oder Methode nicht.
    at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:237)
    at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:126)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:289)
    at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107)
    at com.bramosystems.oss.player.core.client.impl.FlashMediaPlayerImpl$.playMedia$(FlashMediaPlayerImpl.java)
    at com.bramosystems.oss.player.core.client.ui.FlashMediaPlayer.playMedia(FlashMediaPlayer.java:400)
    at com.bramosystems.oss.player.core.client.skin.CustomAudioPlayer.playMedia(CustomAudioPlayer.java:203)

Original issue reported on code.google.com by kpb...@gmail.com on 11 Jan 2011 at 2:13

GoogleCodeExporter commented 9 years ago
I looked deeper into this:

for this snippet:

function __flash__addCallback(instance, name) {
  instance[name] = function () { 
    return eval(instance.CallFunction("<invoke name=\""+name+"\" returntype=\"javascript\">" + __flash__argumentsToXML(arguments,0) + "</invoke>"));
  }
}

IE says that the method or function is not supported by this object, instance 
and name or not null

Original comment by kpb...@gmail.com on 11 Jan 2011 at 2:39

Attachments:

GoogleCodeExporter commented 9 years ago
Any sample code to reproduce this error?  

The showcase works for me in IE7/9 with Flash 10.1 & 10.2 beta

Original comment by sbrah...@gmail.com on 26 Jan 2011 at 3:11

GoogleCodeExporter commented 9 years ago
No further sample code. I really used the custom player from the online demo 
showcase. The internet explorer is now in version 8 and it still won't work. 
still got the same kind of error in line 48, character 3. I know that it's not 
only my machine, I tried on another one with xp and ie7 as well and get the 
same effect.

Original comment by kpb...@gmail.com on 27 Jan 2011 at 7:50

Attachments:

GoogleCodeExporter commented 9 years ago
Ok, I used the developer console in internet explorer 8. The problem seems to 
be related to the use of the square bracket notation. When entering 
instance[name] in the watch list I get the same kind of error. When entering 
instance["name"] or using the dot notation instance.name it selects the proper 
field and value.

Original comment by kpb...@gmail.com on 27 Jan 2011 at 8:04