Trying to add embed video into custom html section NOT from page editor

New Member
7 0 0

Hi there,


I have added a new section to a page template so i can add some custom html on the customise theme page.

Screenshot (591).png



What I am trying to do is add a video to show. I have tried adding video from a video section but it goes half width. So i have gone for the embed iframe from youtube instead.


I have wrapped the embed within <video> tags but while it is creating a video sized blank space, it is not actually pulling the video.


Is there some additional code I am missing to embed a video this way?


Why am I not using page editor?


It wasn't working, its a specialist page and this is how I would like to do it.

Shopify Expert
154 17 21

This is an accepted solution.

In the iframe code, change the width from setting an amount to 100%

W3trends is one of the leading app developers in the Shopify ecosystem. We can handle anything E-commerce or App related for your business. Feel free to message me if you need any work done!