コード例 #1
0
ファイル: Audio.java プロジェクト: smike/gwt-html5-media
 public Audio() {
   this(AudioElement.create());
 }
コード例 #2
0
ファイル: Audio.java プロジェクト: smike/gwt-html5-media
 /**
  * Determine if it's possible to play back the given audio type
  *
  * @param type The media type to test
  * @return [ "" | "maybe" | "probably" ]
  */
 public static String canPlayType(String type) {
   return AudioElement.create().canPlayType(type);
 }