How can I handle the autoplay function since Chrome 66?
I want the user to be able to click play just once. Unfortunately, this method requires autoplay be true. In order for autoplay to work properly, mute also has to be set (mute=1).
But then the user will have to unmute once the video starts playing. How can I avoid that additional step?
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
How can I handle the
autoplay
function since Chrome 66?I want the user to be able to click play just once. Unfortunately, this method requires
autoplay
be true. In order for autoplay to work properly,mute
also has to be set (mute=1
).But then the user will have to unmute once the video starts playing. How can I avoid that additional step?