MacOS Safari `NotSupportedError`
See original GitHub issueI’m encountering an issue that only occurs on MacOS Safari (both v13 and v14). It is working fine in Safari on iOS/iPadOS.
I am on the latest package version (v25.0.3).
new AudioContext()
errors out with a NotSupportedError
Let me know if I can provide any additional details.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Safari 11: audio.play causes "Unha… | Apple Developer Forums
Safari 11: audio.play causes "Unhandled Promise Rejection: NotAllowedError (DOM Exception 35)" even with user interaction.
Read more >Safari blocks play() on video despite being called from click ...
Unhandled Promise Rejection: NotSupportedError (DOM Exception 9): The operation is not supported. which is originating from $video[0].play(); .
Read more >MacOS Safari - Javascript error Unhandled Promise Rejection
This is on Safari desktop as well as Mobile. Error: Unhandled Promise Rejection: NotAllowedError: The request is not allowed by the user agent...
Read more >"Safari Browser Extension is not supported" error on Mac
This error appears when an outdated version of the Enpass browser extension is installed on Safari 12.0 or above. To fix the issue:#....
Read more >[Solved]-Safari browser audio.play() is not working
Referenced from MDN website. As you are getting the NotSupportedError error, Your should look for player.src ='/ajax.php'; here. Narendra 4454.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, that would be very welcome. Many thanks in advance.
Hey @chrisguttandin, thanks for the quick responses. If I change the line you linked as well as this one (https://github.com/chrisguttandin/standardized-audio-context/blob/master/src/factories/native-constant-source-node-faker-factory.ts#L16) I no longer experience the issue. Easy fix ✅. Would you like me to submit a PR?