What code should I replace to display the video?

Valerius
Tourist
16 0 0

Hello developers
Please tell me how to insert a video into a place on a picture in the article-template.liquid section
You need to replace this code with another

{% if article.image and section.settings.show_feat_img %}
<div class="article-image">
{% include 'responsive-image', image: article.image %}
</div>
{% endif %}

https://hot-tent.myshopify.com/blogs/news/how-to-safely-use-a-wood-burning-stove-in-your-tent 33333.png

0 Likes

Shopify currently doesn't allow uploading videos for articles.

So you want to display the video, you can just enter the video iframe to Content or Excerpt.

If you add code for Excerpt, you can get it out with the code 'article.excerpt'. Hope it clear to you.

LitExtension - #1 Shopping Cart Migration Expert
If our answer is helpful then please accept as solution!
Are you looking for a solution to migrate to Shopify? Contact us for further assistance.
Try our FREE DEMO now!
Valerius
Tourist
16 0 0

thanks

0 Likes