How can I add a custom thumbnail to my video with HTML code?

Hudgen
New Member
4 0 0

Hello,

 

I am trying to upload a video with a custom HTML code but the video only shows a white background with a play button. Is there a code where I can add a picture as the thumbnail of the video? This is the code I was using for the video

 

<div style="text-align: center;">
<video controls="true"  width="90%">
<source src="https://cdn.shopify.com/videos/c/o/v/bce3f5f44d184c83800453375afbd70b.mov" type="video/mp4" />
</video>
</div>

 

My website is TheHudgenBrandShop.com

Replies 2 (2)

Hudgen
New Member
4 0 0

On mobile it shows the white background with a play button

Simonsron
Shopify Partner
699 87 122
<div style="text-align: center;">
<video controls="true" width="90%" poster="your cover image path..">
<source src=" https://cdn.shopify.com/videos/c/o/v/ bce3f5f44d184c83800453375afbd70b.mov " type="video/mp4" />
</video>
</div>
banned