[Webkit-unassigned] [Bug 54488] New: <audio> tag doesn't report 'canplay' until 'played' altough autobuffer/preload

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 15 12:25:55 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=54488

           Summary: <audio> tag doesn't report 'canplay' until 'played'
                    altough autobuffer/preload
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
        OS/Version: Other
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Media Elements
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mc at stuffmc.com


<!DOCTYPE html>
<html>
     <body>
             <h1>initializing...</h1>
        <audio controls src="http://stream.radiocampusparis.org:8000/stream_rcp.mp3" preload="auto" autobuffer></audio>
        <script type="text/javascript">
                function log(text) {
                    document.getElementsByTagName("h1")[0].innerHTML = text; 
                }
                        log("loading...");

                        myAudio2 = document.getElementsByTagName("audio")[0];
                        myAudio2.addEventListener('canplay', function () {
                log('Audio Ready to play!');
              });
        </script>    
      </body>
</html>


Try this code on iOS or Android OS, not working. Working fine on WebOS. There's a bug open for Chrome: http://code.google.com/p/chromium/issues/detail?id=68006 and Android: http://code.google.com/p/android/issues/detail?id=14753&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list