Shopify themes, liquid, logos, and UX
I'm trying to embed a YouTube video in my product page. At the end of the video it shows related video, I want those video to be only from the same channel. In that case I need to wrap the video link with a <iframe> tag and append ?rel=0 to the video's URL within the src attribute of the <iframe> tag. I'm not sure how to do in in the video section, or I need to edit code for it?
The video link I'm using: https://youtu.be/JO2WKFeJuZY?
website link: https://firestormpc.com/
password: tglxba
Solved! Go to the solution
This is an accepted solution.
use this code
<iframe width="560" height="315"
src="https://www.youtube.com/embed/JO2WKFeJuZY?rel=0"
title="YouTube video player"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen>
</iframe>
This is an accepted solution.
use this code
<iframe width="560" height="315"
src="https://www.youtube.com/embed/JO2WKFeJuZY?rel=0"
title="YouTube video player"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen>
</iframe>
Thank you so much.
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025