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

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” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Video Expander”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0

  • The first release.