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

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

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

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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

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