[Webkit-unassigned] [Bug 28439] New: Audio object created by JavaScript codes doesn't play.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 18 15:40:44 PDT 2009


           Summary: Audio object created by JavaScript codes doesn't play.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
               URL: ttp://www.benjoffe.com/code/demos/canvascape/
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Plug-ins
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: lyon.chen at torchmobile.com

In website http://www.benjoffe.com/code/demos/canvascape/, an audio object is
created with following code:

var audio = window.Audio && new Audio("shoot.wav");

And when "audio.play();" is executed, it won't play with WebKit based browser,
like Chromium, Safari.

The reason is probably that this Audio object is not attached to the DOM tree.

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