sh0wtym3
01-16-2009, 03:18 PM
I'm using a simple embed element to stream music after a link is clicked:
<embed src="http://www.mysite.com/music/mysong.mp3" autostart="true" loop="false" width="300" height="42" controller="true"></embed>
For large MP3 files, it works fine.
For large WAV files, it doesn't play immediately. :(
It WAITS until the ENTIRE WAV file is loaded before it starts playing, which can be a long wait if it's a big WAV file.
MP3 files on the other hand begin playing immediately, even if it's a big file and not finished loading yet.
How can I make it stream the WAV files the same way?
I hope this makes sense.
<embed src="http://www.mysite.com/music/mysong.mp3" autostart="true" loop="false" width="300" height="42" controller="true"></embed>
For large MP3 files, it works fine.
For large WAV files, it doesn't play immediately. :(
It WAITS until the ENTIRE WAV file is loaded before it starts playing, which can be a long wait if it's a big WAV file.
MP3 files on the other hand begin playing immediately, even if it's a big file and not finished loading yet.
How can I make it stream the WAV files the same way?
I hope this makes sense.