Enable JS for video widget
I came across a use case where we would need JS to interact with the video player controls of the YouTube player iframe. I had to make a video modal for jakarta.ee which would play the video when the modal was opened and pause when it was closed.
We can add this functionality by adding enablejsapi=1
to the URL passed to the iframe. See docs.