Embedding a Youtube video the right way in Customizr

⚠️ Code snippets might not be compatible with the latest version of your theme. Always use a child theme to customize your theme, and test your code on a staging website before migrating to production.

You can search the user’s forum or ask the user community by opening a new thread in the Customizr theme forum. Before opening a new topic, you might want to follow the troubleshooting steps..

Following a discussion on the WordPress Forum about how to embed videos in Customizr, here’s a quick snippet.

In WordPress, if you just copy and paste the url of a video in a post, it will be automatically ‘recognized’ and the video will be displayed.

But what if you want to set the dimensions of the video wrapper?

To do that, you can use the WordPress built-in shortcode  video url  , like in the following example :


Thanks to @lisa , @Jan Dembowski@tomaja for their contributions in the forum



29 thoughts on “Embedding a Youtube video the right way in Customizr”

Comments are closed.