[Webkit-unassigned] [Bug 198015] Cannot play audio created from blob

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 21 06:40:36 PDT 2019


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

--- Comment #3 from Jer Noble <jer.noble at apple.com> ---
Aha, one of those stackoverflow links contains a hint. 

Try doing something like:

<audio>
  <source src=“blob-url” type=“audio/mp3”>
</audio>

If that works, it’s because the file parser can’t determine the type of the file in the absence of a Content-Type HTTP header and a lack of any file extension on the URL. Adding a “type=“ attribute let’s us give the parser a hint about the files contents.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190521/73a186a9/attachment.html>


More information about the webkit-unassigned mailing list