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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 17 16:02:51 PST 2010


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

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


<!DOCTYPE html>
<html>
    <head>
        <script type="text/javascript">
            function load() {   
                myAudio.addEventListener('canplay', function () {
                  console.log('Audio Ready to play!');
                });
            }   
        </script>    
    </head>
     <body onload="load();">   
        <audio controls src="http://stream.radiocampusparis.org:8000/stream_rcp.mp3" preload="auto" autobuffer></audio>
      </body>
</html>

Try this on a Mac, then on a WebKit Mobile device. Won't work on the Mobile device. Tested on Android, iOS, WebOS.

-- 
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