Friday, June 14, 2013

Re: How to play audio from the jar?

You either write a servlet that loads the mp3 from the jar and sends it to the client or dont put your audio files into a jar file. If you put your audio files in your war file, e.g. war/audio/file.mp3, then you can access it just like any other html/js file from your war. You could also put them in your app's public folder. Then, after GWT compilation, your audio files will be in war/<module-name>/audiofile.mp3.

-- J.

--
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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate