Linux 软件免费装
Banner图

Ductile Responsive Video

开发者 numeeja
更新时间 2024年4月17日 00:20
捐献地址: 去捐款
PHP版本: 4.0 及以上
WordPress版本: 6.5
版权: GPLv2

标签

video embed responsive youtube simple elastic ductile

下载

1.3.0 1.3.1 1.1.0 1.0.0 1.2.0

详情介绍:

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.

安装:

  1. Upload the plugin folder to your '/wp-content/plugins/' directory
  2. 通过 WordPress 的的“Plugins”菜单激活插件

屏幕截图:

  • After resizing the browser window, or viewing on a mobile device, the video still fits the width of the browser and retains its aspect ratio.

升级注意事项:

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
1.2.0
  • If you have previously added the code to prevent the plugin's built-in styles from loading, please see the documentation to see how this will need to be changed.
  • 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. This can be overidden in your child theme's CSS or your custom CSS rules if required
1.0.0
  • Initial Version

常见问题:

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 WordPress.org and I will consider adding support. If you find the plugin useful I would also appreciate a review on the plugin review page

Are there any other free plugins by the same author?

Yes these are listed on the cubecolour plugins page on WordPress.org.

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.wordpress.org/Embeds "Ductile responsive video Embeds usage page on the WordPress.org 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 WordPress.org.

What levels of support are available?

I offer free forum support for free cubecolour plugins where all communication takes place on the WordPress.org 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

更新日志:

1.3.1 1.3.0 1.2.0 1.1.0 1.0.0