WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Fluid Video Embeds

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 [fve] shortcode:

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

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]'); ?>

How It Works

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.

Credits

Requires: 3.3 or higher
Compatible up to: 3.9.1
Last Updated: 2014-4-24
Downloads: 31,121

Ratings

4 stars
4.6 out of 5 stars

Support

0 of 8 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

3 people say it works.
0 people say it's broken.

100,1,1
100,1,1
100,4,4
100,2,2
0,1,0
100,1,1
0,1,0
100,2,2 100,1,1
100,2,2
100,3,3
100,3,3