Hi I am working on a site which utilizes the new HTML5 audio element. I have both .mp3s and .wav files ready so that it can play in safari and firefox. Firefox loads the page up in a couple seconds but the audio stalls during playback. The page takes longer to load in safari but the p开发者_如何学Clayback is perfect. Have the .wav files been currupted somehow, or is firefox assuming that they are loaded before they actually are? I was really excited to use HTML5 should I just use flash? Here is the page for reference
.WAV files can easily get huge, as they are uncompress... you'd better be using .OGG files. Here is the list of supported audio formats by browsers.
If you don't know how to convert sounds from one format to another, you can use FFMPEG. It also has a graphical interface for Windows.
精彩评论