Hi, I want to add a mouseover event in an embedded video.
I want the sound of the video to play when someone hovers and stop the sound when they mouseout (only the sound not the video).
I only found ways to do that when I import a video but mine is streaming from youtube.
I want to know where and what code should I add to make this happen.
The code I used (found in a tutorial with some amateur additions of mine) in composition ready is the following:
var youtube=$("<iframe/>");
sym.$("video").append(youtube);
youtube.attr('type','text/html');
youtube.attr('width', '300');
youtube.attr('height','250');
youtube.attr('src','https://www.youtube.com/embed/TbcGnSE0f_Q?modestbranding=1&showinfo=0&controls=0&autoplay= 1&loop=1&playlist=PLMZOoPJ0A4');