New issue
Advanced search Search tips

Issue 689569 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Feb 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

audio.canPlayType("audio/ogg;codecs=flac") returns empty string

Project Member Reported by zcorpan@gmail.com, Feb 7 2017

Issue description

Chrome Version: 58.0.3005.2 (Official Build) canary (64-bit)
OS: macOS 10.12.3

What steps will reproduce the problem?
<script>
alert(document.createElement('audio').canPlayType('audio/ogg; codecs=flac'))
</script>

What is the expected result?
probably

What happens instead?
(empty string)

See http://html5.komplett.cc/code/chap_video/js_canPlayType.html

Firefox returns "probably":
> probably: audio/ogg;codecs=flac => FLAC audio alone in Ogg container (from)

I think FLAC was added in https://bugs.chromium.org/p/chromium/issues/detail?id=93887
 

Comment 1 by zcorpan@gmail.com, Feb 7 2017

Components: Internals>Media

Comment 2 by zcorpan@gmail.com, Feb 7 2017

https://blog.chromium.org/2016/12/chrome-56-beta-not-secure-warning-web.html claims

> Support for FLAC is enabled within the FLAC and Ogg containers for the <audio> tag and decodeAudioData().
Labels: OS-All
Owner: dalecur...@chromium.org
Status: Assigned (was: Untriaged)
Thanks for the report, I didn't realize you could put flac in an ogg container.
Labels: M-58
Status: Fixed (was: Assigned)

Sign in to add a comment