Embedding audio/video in the application
G:T SURvLGHV FODVVHV IRU HPEHGGLnJ VWDWLF DXGLR/vLGHR fiOHV, or playing them while loading the application. The audio class in the com.google.gwt.media.client package provides support IRU DGGLnJ DXGLR fiOHV. VLGHR fiOH IXnFWLRnDOLWy LV SURvLGHG Ey the com.google.gwt.media.client.Video class. File formats supported by these classes vary depending on the browser. $uGio auGio iI (auGio
return; $uGio.FreaWeIISuSSorWeG(); null) { } auGio.aGGSourFe(“SaWh/file.mS3”, $uGio(lemenW.TYP(_MP3); audio.setControls(true) // for preloading auGio.seWSrF(“SaWh/file.mS3”); auGio.seWPreloaG(MeGia(lemenW.PR(/2$D_$UT2);