-
Notifications
You must be signed in to change notification settings - Fork 2
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 and autoplay #33
Comments
Thanks for reporting this! This seems to be quite a common problem and I'm not 100% sure how to solve it yet and it unfortunately breaks audio completely in Safari currently (also the audio controls in the bottom bar). I'm not sure how Safari figures out the "user interaction" part.
Apparently working with (Oh, and a fun-fact: Spotify doesn't work on Safari (for unrelated reasons), but maybe we can beat them there ;)) |
I've had some success by causing the audio effects using |
@khannurien Can you verify that the fix is working? I've tested it on macOS 10.13.6 with Safari Version 12.0.1 (13606.2.104.1.2) and it seems to be okay. It's deployed at https://heyarne.github.io/airsonic-ui. |
Sorry for the late reply, and thank you for the patch. It's working here with 10.13.6 and Safari 12.0.1. |
Actually I only just deployed it, so not such a late reply at all. Glad to hear that it worked! |
Hi,
When trying to play audio through the UI in Safari, I get this error:
This is most probably caused by the recent change in policy regarding audio autoplay in Safari (11 and 12):
https://www.reddit.com/r/webdev/comments/71nkym/safari_11_has_a_major_change_to_web_audio_api/
https://webkit.org/blog/7734/auto-play-policy-changes-for-macos/
Clicking on a track in queue to start playing it manually doesn't work either.
Thanks for the hard work! Airsonic-UI looks great :-)
The text was updated successfully, but these errors were encountered: