Added code for thumbnail for my video for blog post, now video length shows 00:00 and text gone.

Highlighted
New Member
1 0 0

Hi. I am having a problem with adding a video to my blog page for the minimalist theme. I add code for video embedded from Shopify file upload. Then I added code to have a thumbnail image but after I added code for thumbnail for my video for blog post, now video length shows 00:00 and the text that followed the video is gone. What am I doing wrong? Here is my code:

<div style="text-align: center;"><video class="video-player hidden" id="5" autoplay="autoplay" controls="controls" preload="auto" width="320" height="240" poster="https://cdn.shopify.com/s/files/1/0263/3148/0154/files/9636167F-7212-415A-969B-D8F49D7C5836.jpeg?v=1..." data-setup="{}">

<div style="text-align: center;"><video width="320" height="240" controls="controls">

  <source src="https://cdn.shopify.com/s/files/1/0263/3148/0154/files/IMG_2052_691e9f4a-fae8-4870-b4d2-ddd4227ebd8c..." type="video/mp4" />

  <source src="movie.ogg" type="video/ogg" />

Your browser does not support the video tag.

</video> </div>

<div style="text-align: left;"><span>NEW YORK</span><span>, New York</span><span> - </span><span>Paragraph one<br /></span></div>

<div style="text-align: left;"><span></span></div>

<div style="text-align: left;"><span>Paragraph two <br /></span></div>

<div><br /><span></span></div>

<div> </div>

</video></div>

0 Likes