Play Video on mouse hover and stop on mouse out using jQuery in ASP.Net

Last Reply 3 months ago By dharmendr

Posted 3 months ago

hello i have this youtube embed tag

i want on page when user hover it it should play and when unhover it should stop

please advice

<iframe width="560" height="315" src="https://www.youtube.com/embed/J_TEiWkzQXM" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>