I have created a function which inserts an YouTube iframe when user hovers on a div and then when mouse leaves the div the video is paused. Everything
inserts an YouTube iframe when user hovers on a div
when mouse leaves the div the video is paused.