Skip to content
This repository was archived by the owner on Dec 11, 2017. It is now read-only.
This repository was archived by the owner on Dec 11, 2017. It is now read-only.

load sounds from remote hosts #29

Description

@GoogleCodeExporter
What version of GWT are you using? 1.4.60? 2.0.4? Other?

2.4.0

What version of the gwt-voices jar file or library file are you using?

2.1.8

What operating system(s) are you using? Windows? Linux? Mac?

Mac

Does the issue occur in web mode, development mode (formerly "hosted
mode"), both or don't know?

Dev mode (maybe also in prod.)

What browser(s) do you use? Chrome, Firefox, IE, Safari, other?

Chrome

What is the browser version (if you know) from Help->About?

19.0....

What steps will reproduce the problem? Please attach sample code if you
can.

Loading a sound from a third party server via 

soundController.createSound(Sound.MIME_TYPE_AUDIO_MPEG_MP3, 
"http://www.sonicmetrics.com/sounds/carhorn.mp3", false, true);

when the GWT has been loaded from a different server, e.g. localhost

What is the expected output? What do you see instead?

I get a JavaScript exception

INFO: Starting promising: http://www.sonicmetrics.com/sounds/thunder.mp3 ...

XMLHttpRequest cannot load http://www.sonicmetrics.com/sounds/thunder.mp3. 
Origin http://localhost:8766 is not allowed by Access-Control-Allow-Origin.

Do you have a workaround?

No

Please provide any additional information below.

Original issue reported on code.google.com by max.at.x...@gmail.com on 3 Jul 2012 at 1:07

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions