Hi all,
I don't see the message !!

What am I doing wrong? 

I'm using GWT 2.6,FF,CHROME

Thanks in advance

Audio audio=Audio.createIfSupported();
        audio.setSrc("sound.mp3");// 300KB size
        audio.load();
        audio.addCanPlayThroughHandler(new CanPlayThroughHandler() {
            
            @Override
            public void onCanPlayThrough(CanPlayThroughEvent event) {
                // TODO Auto-generated method stub
                Window.alert("mp3 loaded");
            }
        });
        audio.play();


-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to