hi AFAIK you can't access local file :) deploy your audio file and use http:// with repect to SOP (Same Origin Policy) HIH
On Mon, Dec 21, 2009 at 8:31 PM, Alexei Telles <[email protected]>wrote: > Hello guys, I am trying to start using the gwt-voices in my GWT > project. To start I tried the example: > > SoundController soundController = new SoundController(); > Sound sound = soundController.createSound > (Sound.MIME_TYPE_AUDIO_MPEG, > "file:///home/alexei/teste.mp3"); > > sound.play(); > > But the mp3 never plays > > My Sound object is like: > > OBJECT("audio/mpeg", "file:///home/alexei/teste.mp3", not streaming) > and its loadState property is: LOAD_STATE_NOT_SUPPORTED > > Dos anybody could give me a little help please? > > Thanks in advance > > -- > > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-web-toolkit%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > > -- A coward is incapable of exhibiting love; it is the prerogative of the brave. -- Mohandas Gandhi -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
