Can I create a block with a youtube video inside on homepage? and youtube link can be modified from admin page? how can I do it without pagebuilder and magento commerce?

  • 1
    you try using iframe <iframe width="420" height="315" src="http://www.youtube.com/embed/ oHg5SJYRHA0?autoplay=1" frameborder="0" allowfullscreen></iframe> Commented Aug 14, 2020 at 17:36

1 Answer 1


You can follow these steps to achieve the above scenario

1- Create a custom variable from

Admin-> System-> Other Settings-> Custom Variable

enter image description here

Then save the configurations.

2- Create a block and add an iframe embed code. Add a custom variable that you want to link.

enter image description here


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.