Title: Ductile Responsive Video
Author: cubecolour
Published: <strong>2013 年 11 月 28 日</strong>
Last modified: 2025 年 6 月 23 日

---

搜索插件

![](https://ps.w.org/ductile-responsive-video/assets/banner-772x250.jpg?rev=1485170)

![](https://ps.w.org/ductile-responsive-video/assets/icon-256x256.jpg?rev=1485170)

# Ductile Responsive Video

 作者：[cubecolour](https://profiles.wordpress.org/numeeja/)

[下载](https://downloads.wordpress.org/plugin/ductile-responsive-video.1.3.1.zip)

 * [详情](https://cn.wordpress.org/plugins/ductile-responsive-video/#description)
 * [评价](https://cn.wordpress.org/plugins/ductile-responsive-video/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/ductile-responsive-video/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/ductile-responsive-video/#developers)

 [支持](https://wordpress.org/support/plugin/ductile-responsive-video/)

## 描述

 * 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.

## 屏幕截图

[⌊The video fits the width of the browser and retains its aspect ratio.⌉⌊The video
fits the width of the browser and retains its aspect ratio.⌉[

The video fits the width of the browser and retains its aspect ratio.

[⌊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.⌉⌊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.⌉[

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. Upload the plugin folder to your ‘/wp-content/plugins/’ directory
 2. 通过WordPress的的“Plugins”菜单激活插件

## 常见问题

### 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](https://wordpress.org/support/plugin/ductile-responsive-video)
and I will consider adding support.

If you find the plugin useful I would also appreciate a review on the [plugin review page](https://wordpress.org/support/view/plugin-reviews/ductile-responsive-video/)

### Are there any other free plugins by the same author?

Yes these are listed on the [cubecolour plugins page on WordPress.org](https://profiles.wordpress.org/numeeja/#content-plugins).

### 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](https://wordpress.org/support/plugin/ductile-responsive-video)
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](https://wordpress.org/support/plugin/ductile-responsive-video).

### 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](https://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](https://cubecolour.co.uk/wp/).

If you find the plugin useful I would also appreciate a five star review on the 
[plugin review page](https://wordpress.org/support/view/plugin-reviews/ductile-responsive-video)

## 评价

![](https://secure.gravatar.com/avatar/3f046da8f24c8cbc402fb9b01baea58d8d700147d4664259487e7a4e97e51757?
s=60&d=retro&r=g)

### 󠀁[Perfect](https://wordpress.org/support/topic/perfect-7450/)󠁿

 [oleggg](https://profiles.wordpress.org/oleggg/) 2020 年 7 月 8 日

A pefect minimalistic approach. Saves a lot of time and effort, especially when 
you’re busy and the last thing you need is doing additional research and learning
how to use a new plugin, which you will forget by next week anyway. Just install
it and it begins to work by itself!

![](https://secure.gravatar.com/avatar/f252b484ed4c40b9387a65daf2347ace5b29fe6501e5f93ac1a8b63cb42e5703?
s=60&d=retro&r=g)

### 󠀁[Works instantly; no problems!](https://wordpress.org/support/topic/works-instantly-no-problems/)󠁿

 [appleseedeon](https://profiles.wordpress.org/appleseedeon/) 2016 年 9 月 3 日 
1 回复

This is excellent! I’ve sent £5 your way, kind sir.

 [ 阅读所有7条评价 ](https://wordpress.org/support/plugin/ductile-responsive-video/reviews/)

## 贡献者及开发者

「Ductile Responsive Video」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ cubecolour ](https://profiles.wordpress.org/numeeja/)

[帮助将「Ductile Responsive Video」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/ductile-responsive-video)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/ductile-responsive-video/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/ductile-responsive-video/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/ductile-responsive-video/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/ductile-responsive-video/)。

## 更新日志

#### 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

## 额外信息

 *  版本 **1.3.1**
 *  最后更新：**12 月前**
 *  活跃安装数量 **300+**
 *  WordPress 版本 ** 4.0 或更高版本 **
 *  已测试的最高版本为 **6.8.5**
 *  语言
 * [English (US)](https://wordpress.org/plugins/ductile-responsive-video/)
 * 标签
 * [elastic](https://cn.wordpress.org/plugins/tags/elastic/)[embed](https://cn.wordpress.org/plugins/tags/embed/)
   [responsive](https://cn.wordpress.org/plugins/tags/responsive/)[video](https://cn.wordpress.org/plugins/tags/video/)
 *  [高级视图](https://cn.wordpress.org/plugins/ductile-responsive-video/advanced/)

## 评级

 4.9 星（最高 5 星）。

 *  [  6 条 5 星评价     ](https://wordpress.org/support/plugin/ductile-responsive-video/reviews/?filter=5)
 *  [  1 条 4 星评价     ](https://wordpress.org/support/plugin/ductile-responsive-video/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/ductile-responsive-video/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/ductile-responsive-video/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/ductile-responsive-video/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/ductile-responsive-video/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/ductile-responsive-video/reviews/)

## 贡献者

 *   [ cubecolour ](https://profiles.wordpress.org/numeeja/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/ductile-responsive-video/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://cubecolour.co.uk/wp)