5

HTML5ドキュメントでこのオーディオリンクを取得しました:

   <audio 
      src="http://sverigesradio.se/topsy/ljudfil/3017771.m4a" 
      type="audio/mp4" 
      controls="true" 
      preload="metadata" 
      title="Senaste sändningen från Radiosporten">
   Senaste sändningen från Radiosporten</audio>

It renders properly in chrome, but in FF4 it first flashes the controls normally and then I get a big "X". In safari, it seems to hang while reading metadata.

Is there a problem with my audio-tag or with the audio-file? Is the redirect a problem?

4

3 に答える 3

5

Firefox は MP4 オーディオをサポートしていません。OGG オーディオのみをサポートしています。

于 2011-04-10T15:01:24.930 に答える
5

音声サポートについては、次のページを参照してください。

http://html5doctor.com/native-audio-in-the-browser/

更新: m4a 形式 (私の知る限り AAC) については、Safari と Chrome でサポートする必要があります。

ここで役立つ情報が見つかるかもしれません (ビデオについて話しますが、ビデオにはオーディオ コーデックも必要です): http://diveintohtml5.ep.io/video.html

更新 2: Tom Gullen が投稿した最新の表。

于 2011-04-10T15:12:52.977 に答える
1

Firefox は mp4 をサポートしていませんが、firefox、safari、chrome をサポートする .WAV などの PCM オーディオ標準を使用できます。

于 2012-03-12T10:40:31.777 に答える