New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Safari 14 audio test returns empty values for typical formats #2604
Comments
Confirmed using Browserstack, and it is definitely something about Safari 14 and not the device. Now, why does it happen? No idea... Nothing in the changelog seems to say anything about audio... It may be anti-fingerprinting technology? Or simply just a bug from Safari 14? |
Maybe have to do something with the bunch of things related to audio of release 113??, but honestly I don't even know if that is the last version. I'm not very familiar with Safari (don't even own a iOS device) |
Safari 14 is the next stable version (currently in beta), coming out with the next Mac OS version later this year. While something changed in Safari, some other site for testing HTML5 features do a different check and yield positive results for mp3. |
Apple just released Safari 14 |
Yeah, we should get to it. But sorry, university is slowing me 😅😅 |
That's going to break a lot of sites, more people inbound, I can assure you. In the meantime I found that |
@beshur What do you mean by that? |
I meant that Modernizr in its check for audio types support creates a DOM media element and checks for the Modernizr/feature-detects/audio.js Line 48 in 3b0eb2b
And Safari 14 does not understand the I have submitted a comment on the related issue in Webkit bugzilla, and someone has promptly made a patch for |
I mean we cannot delete the codecs part as that wouldn't make sense as the container and the codecs are two different things (something even more apparent in the video test, which is also affected by this bug). Honestly I don't really know what can we do in this case... |
I am working on a project and noticed that in Safari 14 (technological preview on Mac Catalina)
Modernizr.audio
returns this:{ogg: "", mp3: "", opus: "", wav: "", m4a: "maybe"}
However, it plays MP3 just fine on other sites, most online test suites show it can play MP3 and M4A.
The text was updated successfully, but these errors were encountered: