Description
- Filters default WordPress video embeds, adding styles to make them responsive.
Usage:
Just add the url of the video you want to embed on its own line as you normally would for a default WordPress video embed.
If you are using a responsive theme, when you adjust your browser width you should be able to watch your video resize to fit the width and retain the correct aspect ratio.
Screenshots
Installation
- Upload the plugin folder to your ‘/wp-content/plugins/’ directory
- Activate the plugin through the ‘Plugins’ menu in WordPress
FAQ
-
Where is the plugin’s admin page?
-
There isn’t one. This is a lightweight plugin with no options, so there is no need for an admin page.
-
Does the WordPress universe really need another responsive video embeds plugin?
-
There are already several plugins which achieve a similar result as this one. Some provide extra functionality like shortcodes, and some are fairly slimline but use client-side javascript to modify the default embed rather than a server-side function. I like plugins to be as lightweight as possible, so I think there’s room for this one.
-
How can I make it even more lightweight?
-
You can copy the css rules from the plugin’s stylesheet into your child theme’s stylesheet and prevent the plugin’s built-in styles from loading by adding the following line to your child theme’s functions.php
<?php wp_deregister_style( 'ductile-embed', 30 ); ?>
Note 1: The code to prevent the stylesheet loading has changed with version 1.2.0 of the plugin. If you previously used version 1.1.0 or below and added the line given in the documentation to prevent the styles from loading, please change it to the line above.
Note 2: Since version 1.2.0 the plugin’s styles are only loaded on pages which contain a media embed, so unless you want to customise the plugin’s default styles, there is now probably little value in replacing the styles.
-
What video services are supported?
-
Version 1.3.1 of this plugin supports YouTube, Vimeo, Daily Motion, Ted, videopress and WordPress.tv video embeds. If you are using this plugin and need it to act on any other video embeds which are supported by WordPress, please post on the Ductile responsive video plugin support page on www.ads-software.com and I will consider adding support.
If you find the plugin useful I would also appreciate a review on the plugin review page
-
Yes these are listed on the cubecolour plugins page on www.ads-software.com.
-
Why is the plugin not working as I think it should?
-
If the plugin is not working for you, please read the documentation carefully. If this does not address your issue, please post a question on the plugin support forum so we can at least have an opportunity to try to get it working before you leave a review.
-
Why doesn’t it work on my site?
-
First check that you have embedded your video as outlined on the [Embeds usage page](https://codex.www.ads-software.com/Embeds “Ductile responsive video Embeds usage page on the www.ads-software.com codex”. Do not embed your video by adding an iframe to your page editor as this does not create a valid WordPress embed.
The plugin has been tested and works for me as expected on the sites it has been tested on. If it is not working for you, the may be an incompatibility caused by some code on your theme or another plugin. Feel free to ask for help on the Ductile responsive video plugin support page on www.ads-software.com.
-
What levels of support are available?
-
I offer free forum support for free cubecolour plugins where all communication takes place on the www.ads-software.com forums and a link is provided to the page on your site where I can see the issue without needing to enter a password. If the conditions of obtaining free support on the public forum are not compatible with the level of support required, you can request (non-free) support via email. This is charged in half-hour increments. The first half-hour must be prepaid and can be requested at: cubecolour.co.uk/premium-support. I do not have have time to respond to any support requests sent by any other method.
-
I am using the plugin and love it, how can I show my appreciation?
-
You can donate via my donation page.
If you find the plugin useful I would also appreciate a five star review on the plugin review page
Reviews
Contributors & Developers
“Ductile Responsive Video” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Ductile Responsive Video” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.3.1
- Add support for videos embedded from Vimeo, Daily Motion, Ted, videopress and WordPress.tv video embeds
1.3.0
- Limit plugin to act on YouTube embeds only as it was previously acting on all embeds.
1.2.0
- The stylesheet is now only enqueued when there is an embed on the page
- AMP compatibility
- Minified CSS in stylesheet
- Prevent direct access to the plugin’s PHP file
- Prevent directory browsing
- Updated documentation
1.1.0
- Adds 20px margin below embedded videos
1.0.0
- Initial Version