Title: Video Expander
Author: bcupham
Published: <strong>2016 年 1 月 2 日</strong>
Last modified: 2016 年 1 月 2 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/video-expander.svg)

# Video Expander

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

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

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

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

## 描述

Creates shortcode to display video iframes in columns, where each video expands 
to play on mouse click.
 Also generates a video thumbnail to use as a placeholder
to reduce load time and memory usage.

Shortcode format is the following:
 [video-expander video-url=”THE URL OF YOUR YOUTUBE
OR VIMEO VIDEO”]The caption for your video.[/video-expander]

**Read complete instructions in Installation section**

Admin can choose how many columns of videos to display. At 800px or less, will automatically
display only
 one column of videos.

Accepts Youtube and Vimeo video urls only at this time.

**Contact me with requests for features**

## 安装

 1. Upload the plugin files to the `/wp-content/plugins` directory, or install the 
    plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Use the Settings->Media screen to configure the number of columns of videos

**How to Create a Gallery**

 1. Insert correctly formatted shortcode in your post or page content area (text edit
    mode only).
 2. Shortcode format is `[video-expander video-url="THE URL OF YOUR YOUTUBE OR VIMEO
    VIDEO"]The caption for your video.[/video-expander]`
 3. Enter as many shortcodes as you want, but group them directly next to each other(
    no spaces or line breaks) or bad things will happen.
 4. Save. The plugin will automatically wrap your shortcodes in a gallery `div`.

**Example video urls**
 https://youtu.be/MBbpzbfNaC0 or `https://vimeo.com/123685236`

**BUT NOT:**
 https://www.youtube.com/watch?v=MBbpzbfNaC0

In other words, the video id (‘MBbpzbfNaC0’) needs to go at the end of the URL.

**Also…**

 * To change colors, font-size, etc. you will need to know CSS. Either override 
   in your styles.css or edit the video-expander.css file — but remember to save
   it elsewhere before updating.
 * To change the image for the play button, delete the original play-button.png 
   file in the assets folder and give the new image the same name, including the
   file extension.

## 常见问题

  What videos can I use?

Video embed urls from Youtube and Vimeo only at this time. See Installation for 
correct format of urls.

  How do I stop the videos from auto-playing on click?

Ask me to add that as an option in the settings page and I’ll do it.

  Can you change the plugin to do XYZ?

If it is not too much work, sure. Just ask.

  What about foo bar?

Our top people are working on a solution.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

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

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

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0

 * The first release.

## 额外信息

 *  版本 **1.0**
 *  最后更新：**10 年前**
 *  活跃安装数量 **10+**
 *  语言
 * [English (US)](https://wordpress.org/plugins/video-expander/)
 * 标签
 * [video](https://cn.wordpress.org/plugins/tags/video/)[video gallery](https://cn.wordpress.org/plugins/tags/video-gallery/)
   [video shortcode](https://cn.wordpress.org/plugins/tags/video-shortcode/)
 *  [高级视图](https://cn.wordpress.org/plugins/video-expander/advanced/)

## 评级

尚未提交反馈。

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

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

## 贡献者

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

## 支持

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

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

## 捐助

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

 [ 捐助此插件 ](http://example.com/)