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
Radar WebKit Bug Importer
Comment 1 2020-10-31 09:46:18 PDT
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.