How To Make Fluid YouTube Video oEmbeds In WordPress ?

You can make your WordPress site’s “auto embedded” YouTube and Vimeo videos full width (100%), maintaining their original aspect ratio.

Fluid Video Embeds, is a WordPress plugin that modifiesĀ built-in Vimeo and YouTube oEmbed auto-embeds so they get fluid width and become flexible while maintaining their original aspect ratio. It makes your WordPress site videos look Ā great in all screen sizes. Currently this plugin only supports YouTube and Vimeo videos embeds.

Installation & Usage

  1. Install and activate it this plugin
  2. Visit your Dashbord -> Settings Ā -> Media -> Maximum embed size

You can also use [fve] shortcode:

[fve]http://youtu.be/oHg5SJYRHA0[/fve]

If you want to use the Fluid Video Embeds method in a php template file of your WordPress theme then use the do_shortcode method:

<?php echo do_shortcode(‘[fve]http://youtu.be/oHg5SJYRHA0[/fve]’); ?>

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.