Make your "auto embedded" YouTube and Vimeo videos full width (100%) while maintaining their original aspect ratio
This plugin modifies the built-in Vimeo and YouTube oEmbed auto-embeds so they are full-width, and flexible while maintaining their original aspect ratio.
As of version
1.2.2 it contains English, Portuguese (BR), and Spanish translations.
See a live demo here: Fluid Video Embeds Demo
Requirements: PHP5+, WordPress 3.3+
Usage: Install the plugin, activate it, then your YouTube and Vimeo embeds should start to ignore the setting in
Settings > Media > Maximum embed size You don't need to use embed code or a shortcode, you can simply paste the YouTube or Vimeo URL into your post and it should work.
You can also use the
If you want to use the Fluid Video Embeds method in a php template file in your theme, you can use the do_shortcode method:
<?php echo do_shortcode('[fve]http://youtu.be/oHg5SJYRHA0[/fve]'); ?>
The Fluid Video Embeds plugin aims to cleanly display YouTube and Vimeo videos while allowing them to be fluid(elastic/felxible) as well. The technique for doing this is not very new (and is outlined in the credits links below), however I've added a bit of "sugar" to the mix. Since Vimeo and YouTube have robust, open APIs, I'm requesting information about each video server side (which is then cached) and used to determine the optimal aspect ratio for the video container.
Requires: 3.3 or higher
Compatible up to: 4.1.6
Last Updated: 2015-4-7
Active Installs: 10,000+
0 of 5 support threads in the last two months have been resolved.
Got something to say? Need help?