WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
218388
Add feature detection support for FLAC in HLS
https://bugs.webkit.org/show_bug.cgi?id=218388
Summary
Add feature detection support for FLAC in HLS
Jeremy Karlsson
Reported
2020-10-30 09:23:05 PDT
With the new support for FLAC in HLS we intend to finally get FLAC support out on Safari at TIDAL. I have however not find a way to feature detetect the capabilities to know if I can play FLAC or not. FLAC in HLS only works in Safari 14 on Big Sur. But Safari on El Capitan returns the same values when running these methods; document.createElement('video').canPlayType('audio/mp4; codecs="flac"'); document.createElement('video').canPlayType('application/vnd.apple.mpegurl; codecs="flac"'); window.WebKitMediaKeys.isTypeSupported('com.apple.fps.1_0', 'video/mp4; codec="flac"')';
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2020-10-31 09:46:18 PDT
<
rdar://problem/70916803
>
Jeremy Karlsson
Comment 2
2020-11-30 01:34:21 PST
Sorry, Safari on Catalina* [returns the same values when running these methods;].
Jeremy Karlsson
Comment 3
2020-12-10 01:17:25 PST
Another problem here is that Safari on both Catalina and Big Sur have the same user agent string, so that cannot be used to hack around the fact that there is no feature detection for this.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug