Skip to content

Responsive Videos

Ben Gillbanks edited this page Aug 30, 2019 · 2 revisions

Ensure videos embedded in post content maintain a 16:9 aspect ratio.

If your theme supports responsive-embeds and you use a responsive block then this the plugin will not resize that block.


If you want to wrap video content outside of the loop then you can call the toolbelt_responsive_video_embed_html function.

echo toolbelt_responsive_video_embed_html( $video_html );
You can’t perform that action at this time.