<audio> element autobuffers no matter what

Posted by pthulin on Stack Overflow See other posts from Stack Overflow or by pthulin
Published on 2009-09-29T21:51:44Z Indexed on 2010/05/03 4:18 UTC
Read the original article Hit count: 333

Filed under:
|
|
|
|

I'm trying to make a web based media player using the HTML5 audio element implemented in Firefox 3.5 and Chrome. Reading Mozillas documentation, omitting the autobuffer attribute should result in the audio src not being requested:

if specified, the audio will automatically begin being downloaded, even if not set to automatically play. This continues until the media cache is full, or the entire audio file has been downloaded, whichever comes first

However, on the server side I notice the files are being requested anyway. My sample page is very simple:

<html>
    <body>
        <audio src="1.ogg"></audio>
        <audio src="2.ogg"></audio>
    </body>
</html>

© Stack Overflow or respective owner

Related posts about html

Related posts about html5