Adding a Hero Video to your Homepage


Sometimes a graphic isn't enough for the hero of your homepage. This article shows you how to add a hero video to your homepage using jQuery.

Adding a Hero Video to your Homepage

Sometimes a graphic isn't enough for the hero of your homepage. Showcase your product or service on your website with a video that continuously loops. In this article, Solodev will show you how to add a hero video to your homepage using the vide jQuery plugin.

Below is the required HTML, CSS, and JavaScript.

Step 1 - hero-video.html

Add the HTML below to your web page


Step 2 - hero-video.css

Download the CSS below and include it in your web page

 hero-video.css

Step 3 - Add the includes below to your web page

In this article, Solodev showed you how to add a hero video to your homepage. Swap out the video and copy and make it your own!

Author

Elena Roig
Contributions Editor here at Solodev. Want to be featured on the Solodev Blog? Get in touch.
Follow me on Twitter

Get started today

Join people and businesses across the globe that trust Solodev.

We never share your information with anyone. Learn more

We use cookies to provide and improve our services. By using our site, you consent to cookies.