How to add Youtube video on website

i want to embed app in my shopify theme but its showing some error and i want to add youtube video in my website is it possible by code.

Hi @sahilkochhar1 ,

Go to Online Store > Themes > Customize > Add Custom Liquid Section and paste the code.


    <iframe width="560" height="315" src="https://www.youtube.com/embed/YOUR_VIDEO_ID" frameborder="0" allowfullscreen="">
    </iframe>

In my theme there is no option for custom liquid section

Hello @sahilkochhar1,
Regarding your error related query, it might be due to incorrect code, permissions, or conflicts with other scripts. Could you share the error message or describe the issue in more detail?
Regarding your query about adding a YouTube video in your shopify website,you can do it with code.
Insert this code inside your theme’s liquid file (e.g., product.liquid, index.liquid, or custom-section.liquid):

<iframe width="560" height="315"
src="https://www.youtube.com/embed/VIDEO_ID"
title="YouTube video player" frameborder="0"
allowfullscreen></iframe>

Replace VIDEO_ID with your actual YouTube video ID.