NotAllowedError when opening url to play song
Closedopened 10 months ago by Hygna · 7 comments
Reference in New Issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
The song should start playing.
A popup with an error is thrown.
Misc. ( optional )
Sorry for all the opened issues recently. Here is an example url btw: https://hyperpipe.surge.sh/watch?v=Kx7B-XvmFtE
The error just means that autoplay of audio is disabled by the browser :)
But point made,
I will make it more user friendly
Perhaps there can be a play button instead since most browsers disable autoplay with audio by default.
Just click on the play/pause button on the bottom, it should start playing normally :)
The icon may not switch in some cases though
Idk if it is good ux to have that error popup though, I think it might just be better to not make it autoplay as most browsers block autoplay with audio by default.
Ahh, okay I'll replace the alert with a console error.
Thank you for your input