How to replace a blog image with a video?

15 0 0

Help add a video to the beginning of each blog post.
Now in this place you can upload an image, I want to replace it with a video.
How can I do this through code?


Shopify Staff
Shopify Staff
1248 88 208

This is an accepted solution.

Hey, @Valerius (Cool name!). 

Thanks for your question, I’m here to help. 

I noticed that you’ve posted a similar question in multiple threads and that you’re aware that you can add a video to your blog text, which is great! 

I understand that you want to replace the featured image on a blog post with a featured video. Is that right?

If so, I did some digging in my own test store and there isn’t a way to replace the featured image with a featured video. However, you could add a .gif file (under 20MB file size) in place of a static image (such as a jpg) to show moving pictures on your store.

Would that help? I am also curious, why is it important to replace the featured image with a featured video? I ask because we typically don’t recommend this as it may be challenging for a customer to view the video on your blog, especially if it’s being autoplayed and might prevent customers from reading your blog. Let me know more details and we can brainstorm some ideas together. 

I look forward to hearing from you.

Tira | Social Care @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog