[Webkit-unassigned] [Bug 19307] 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 08:59:52 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=19307

           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:

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

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

http://software.hixie.ch/utilities/cgi/data/data

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

http://www.eventsounds.com/wav/oops.wav


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