Youtube Iframe disable pause video
iframe, youtube, youtube-api
Solution
There's no way to disable pausing entirely.
You could listen for `YT.PlayerState.PAUSED` events in an onStateChange handler and immediately call playVideo() when you detect one, but... I don't know, that sounds like it wouldn't be very user-friendly.
Problem
I need to play video on my web-page. But I need to deny control. I put "controls=0", but player has pause action when I click on it. Can I disable "pause" action in YouTube player?