How to Play a Video on Hover [Elementor Tutorial]

Home Elementor How to Play a Video on Hover [Elementor Tutorial]

January 7, 2022

In this Elementor tutorial I will show you how to play a video on hover. This can be a handy trick if you want more interaction on your page.

Note: This tutorial won’t cover how to do this effect with third party video platforms like YouTube and Vimeo. You will need to upload your own mp4 files to pull off this effect.


  • 0:00 Introduction
  • 0:28 Add HTML Code
  • 3:25 Mobile HTML Code

HTML Code:

					<video onmouseover="" onmouseout="this.pause();this.currentTime=0;">
<source src="video.mp4" type="video/mp4"></source>

HTML Mobile Code:

					<video muted playsinline onmouseover="" onmouseout="this.pause();this.currentTime=0;" poster="image.jpg">
<source src="video.mp4" type="video/mp4"></source>

*Some of the links on this page are affiliate links, meaning we may receive a commission if you follow them. This allows us to continue providing free content and educational resources for you. Thank you for supporting our small business!

More Free Resources

Join Our Community

Wicky Design YouTube

Get our latest videos by subscribing for FREE to our YouTube channel. New videos are uploaded weekly!

Join Our Community

Join now to receive helpful resources, tips, and tutorials in your inbox.

Is it time for a website upgrade?

Enter To Win A Free Website Audit

Sign up below for a chance to win a complimentary website audit featured on our YouTube channel. A new winner is chosen every month!