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

load sounds from remote hosts #29

Open
GoogleCodeExporter opened this issue Mar 13, 2015 · 0 comments
Open

load sounds from remote hosts #29

GoogleCodeExporter opened this issue Mar 13, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 3 Jul 2012 at 1:07

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant