Company

9

Our Team and Values

9

The Epic Story

9

Consulting Services

Location

Beautiful Southern Oregon
Ashland, Oregon 97520
(888) 498-5361

Marketing Services

9

Online Marketing

9

Search Engine Optimization

9

Search Engine Marketing (PPC)

9

Email Marketing

9

Social Media Marketing

Product Services

9

Epic Complete

9

Star Care

9

BigCommerce Apps

9

BigCommerce Themes

9

Website Design

9

Web  Accessibility Solution

9

For Florists

9

Domain and Email Hosting

Contact

Why Epic?

12+ YEARS  |  150+ WEBSITES  |  70+ MONTHLY MANAGED CLIENTS

Portfolio

Testimonials

Client Logins

View Categories

How to add a video on my homepage?

1 min read


First, log in to your BigCommerce Site and go to Settings > File access (WebDAV). Once done, kindly follow the article below on how to use WebDAV.

Support Article for WebDAV: Click here!

If you would like to use a YouTube video, kindly download the video first. Once done, you can then upload the video using any FTP/SFTP software like CyberDuck with your site’s WebDAV details. Please make sure to upload it inside the content folder.

Next, is to go inside the Theme Customizer (Storefront > Themes > Customize button) and add an HTML widget where you would like to put the video. And then, copy and paste this script below:

HTML Script for the video:

<div style=”position: relative; overflow: hidden; padding-top: 33.5%;”> <video autoplay muted loop playsinline style=”position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1;”> <source src=”https://epicshop.com/content/videoname.mp4” type=”video/mp4″> <!– Add alternative sources for different video formats if needed –> </video> <!– Add your other content here –> </div>

Please note that you’ll need to edit the name and file type of the video you’ve uploaded and update the padding-top value as well. To know the recommended padding-top value, kindly check the example below.

Will need to get the resolution of the video you would like to use. This is needed to get the aspect ratio of the video.

For example, I have a video with a resolution of 714 x 240. Using this calculator that computes the aspect ratio based on the resolution, it gives the aspect ratio of 2.98:1. The value that we will be using for the padding-top is 33.5% which we get from 1/2.98 or 0.335. That means 0.335 x 100% = 33.5%.

Once done, just save the changes and hit the Publish button.



Powered by BetterDocs

Transform Clicks Into Clients

Sell more online.

Effectively reach and convert more customers with our expert tips and strategies.

Thank you! Be sure to check your email in a few minutes so you can download your eBook.