Simple Responsive Video Plugin

This plugin will automatically resize your videos inserted in your WordPress editor. The code is light and only uses CSS. No javascript is used so there is no delay in your iframes and/or embeded objects from being resized. This plugin will also try to correctly guess your aspect ratio so your videos always look great. And if the aspect ratio is not correctly identified, then you can easily apply the correct aspect ratio using CSS. Every video is assigned a unique class name.

It currently has been tested for the following providers:

  • YouTube
  • Vimeo
  • DailyMotion

Testing Different Aspect Ratio and Responsiveness

16:9 Aspect Ratio

Wafer pastry halvah ice cream lemon drops halvah chocolate bar. Fruitcake cake soufflé dessert chocolate cake wafer topping. Lemon drops liquorice pie candy muffin. Dragée lollipop dragée chocolate bar chupa chups chocolate croissant pastry. Unerdwear.com pastry lemon drops. Muffin lemon drops marshmallow chocolate. Chupa chups biscuit sweet roll dessert croissant tootsie roll croissant.

Centered Video

Applicake lollipop pastry. Apple pie unerdwear.com lollipop gummi bears danish sesame snaps. Sweet topping chocolate. Cake cotton candy pastry toffee. Macaroon tart sweet roll gummi bears candy chocolate bar pie.

Three Columns

Wafer pastry halvah ice cream lemon drops halvah chocolate bar. Fruitcake cake soufflé dessert chocolate cake wafer topping. Lemon drops liquorice pie candy muffin. Dragée lollipop dragée chocolate bar chupa chups chocolate croissant pastry. Unerdwear.com pastry lemon drops. Muffin lemon drops marshmallow chocolate. Chupa chups biscuit sweet roll dessert croissant tootsie roll croissant.

Still Responsive

Wafer pastry halvah ice cream lemon drops halvah chocolate bar. Fruitcake cake soufflé dessert chocolate cake wafer topping. Unerdwear.com pastry lemon drops. Muffin lemon drops marshmallow chocolate. Chupa chups biscuit sweet roll dessert croissant tootsie roll croissant.

4:3 Aspect Ratio

Customization

If you find that your aspect ratio is incorrect, you can simply set the correct aspect ratio with a little CSS targeting your specific video. When you look at the source code for your video, you will notice a unique class name identifying the video. Then apply any of the CSS below.

.wc-rv-id-httpyoutu-beyzlzlvaujiu {
	padding-bottom: 56.25% !important; /* 16:9 */
}
.wc-rv-id-httpyoutu-beyzlzlvaujiu {
	padding-bottom: 75% !important; /* 4:3 */
}
.wc-rv-id-httpyoutu-beyzlzlvaujiu {
	padding-bottom: 66.6667% !important; /* 3:2 */
}