HTML Video

About HTML Video ElementClick to copy

The HTML Video Element is designed to make your page more attractive in order to increase the conversion rate. You can use this element to share a video on your website or blog.

Before jumping to the detailed steps, you can watch this video below:

How To Access HTML Video ElementClick to copy

The HTML video element can be found by clicking in the Element list icon on the left toolbar.

  • Step 1: Click on the Element list icon which will open the list of elements
  • Step 2: In the PageFly’s element tab, click on the “HTML video” to open a section for element
  • Step 3: Drag and drop the element you want into the page editor

How To Configure For HTML Video ElementClick to copy

This element comes with plenty of different parameters allowing you to fine-tune content appearance reaching the best possible conversion rate.

The parameters in the General and Styling tabs are specific for this element.

General ConfigurationClick to copy

Important note:
  • The file size must be less than 10MB.
  • Supported video formats include MP4, WebM, and Ogg.

HTML Video SourceClick to copy

You can upload a video or embed a URL by clicking in the Reselect button.

  • Add videos from your computer:

Click on the “Reselect” button, and then click on the “Add videos” button or you can drag and drop the video into the dotted-line area.

  • Add video from URL:

To add video from a URL, in the Shopify left navigation, head over to Content > Files, and click on the link button to copy the link.

Then, paste the URL to add video.

If you want to remove the video file or URL from the element, just need to click on the Clear button here and you can select another video for this element.

Video SizeClick to copy

You can adjust the size of your video with two options:

  • Full Width: The video will show with its original width

  • Custom Size: You can select a width for the video in the Video Width parameter.

Show ControlsClick to copy

You can choose to show the video player control or hide it by selecting or deselecting this option.

Enable LoopClick to copy

When this parameter has been turned on, the video will play constantly non-stop in a loop. You can check this function on Liveview.

Enable AutoplayClick to copy

You can turn on/off the autoplay feature by selecting or deselecting this parameter.

Please keep in mind that the autoplay function might not work in the following cases:

  • The user configured his browser to prevent that action or parameter “Mute Video” from being turned off.
  • Users use the iPhone with Low Power Mode and access your website by Safari browser, the Enable Autoplay feature will not be activated.

html video autoplay

Mute VideoClick to copy

Select turn off the video’s sound and deselect to turn on the sound.

Cover Image SourceClick to copy

You can set an image as the video thumbnail cover.

Styling ConfigurationClick to copy

You can check more information about the Element Style Settings.

Use CasesClick to copy

Align The HTML Video In The Middle Of Its ContainerClick to copy

If you want to place the HTML in the middle of its container, go to Styling > Spacing > Padding and enter a number in the center padding. The larger the number, the bigger the space around the video would be.

Add Border To HTML VideoClick to copy

In order to make your HTML stand out from other elements, give it more noticeable edges by adding borders. There are three default border styles:

Solid
Dotted
Dash

Best Practices For Using HTML VideoClick to copy

  • Use high-quality videos that are relevant to your products or brand
  • Consider offering your videos in multiple formats (e.g., MP4, WebM) to ensure wider browser compatibility and playback success
  • Optimize your video files for faster loading times. Large video files can slow down your website, impacting user experience and SEO

Frequently Asked QuestionsClick to copy

1. What Is The Maximum File Size For HTML Video?

The maximum file size for HTML video is 10 MB.

2. What Are The Supported Formats For HTML Video?

Supported video formats include MP4, WebM, and Ogg.

3. What Is HTML Video?

The HTML Video Element is designed to make your page more attractive, to increase the conversion rate. You can use this element to share a video on your website or blog. (Check out What is HTML Video in General?)

4. What Is The Difference Between HTML Video Element And Youtube Element?

You can use this Video Element to upload and use videos on your website without a YouTube account. However, there are file size restrictions to ensure that the videos play smoothly and that your website loads quickly.

Additional ResourcesClick to copy

Thank you for your feedback!

Navigate this category

PreviousPrevious article

Next articlePrevious

Could not find the answer
to your question?

Chat with us
Get 20% off TinyIMG and PageFly to build a mobile commerce store from our ebook 📱📈 Get It Now