DEV Community

Discussion on: Lazy load embedded YouTube videos

Collapse
 
jarednewnum profile image
Jared Newnam • Edited

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?