[Webkit-unassigned] [Bug 19308] New: HTML5 <audio>: base-64 data URI for wav sound causes distorted playback

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 29 09:01:34 PDT 2008


           Summary: HTML5 <audio>: base-64 data URI for wav sound causes
                    distorted playback
           Product: WebKit
           Version: 525.x (Safari 3.1)
          Platform: PC
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: walther at svox.com

Playback of base-64-encoded WAV sound data results in severe distortion when
sound is played programmatically:

var dataURI="data:audio/x-wav;base64,..." ;
var audio = new Audio(dataURI);

This does not happen for URL-encoded WAV sound data. 

Also, both types of encodings play just fine when the respective data URIs are
used in static hyperlinks.

For reproducing the bug,  one could use this online data URI generation service


together with a small WAV sound file such as the 5KB oops.wav from


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

More information about the webkit-unassigned mailing list