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

Coub

描述

Create looped videos using Coub.com online tools and embed them to your WordPress site.

About Coub

A coub is a high-quality looped video with audio, up to 10 seconds long. Turn your favorite videos into an engaging, “living” photos, display your creative work in a novel ways. Use different video sources for your coub. Add custom audio. Share the result with friends and enjoy what others create.

Coub WordPress Plugin

This plugin enables site owners to embed Coub looped videos into WordPress site using the video URL or video ID.

Choose any video from coub.com, or create your own! Copy the video URL and paste it to your post text editor. Then simply click over to the visual editor to confirm that it loads properly.

Alternatively, you can embed videos to your content using the [coub id=""] shortcode and the video ID.

更多的信息

For any questions or more information, please contact us at contact@coub.com.

屏幕截图

  • Pasting the URL to the text-editor.
  • Pasting the URL to the visual-editor.

安装

Installation

  1. In your WordPress Dashboard go to “Plugins” -> “Add Plugin”.
  2. Search for “Coub”.
  3. Install the plugin by pressing the “Install” button.
  4. Activate the plugin by pressing the “Activate” button.

中等需求

  • WordPress version 3.5 or greater.
  • PHP version 5.2.4 or greater.
  • MySQL version 5.0 or greater.

Recommended Requirements

  • The latest WordPress version.
  • PHP version 7.0 or greater.
  • MySQL version 5.6 or greater.

常见问题

Installation Instructions

Installation

  1. In your WordPress Dashboard go to “Plugins” -> “Add Plugin”.
  2. Search for “Coub”.
  3. Install the plugin by pressing the “Install” button.
  4. Activate the plugin by pressing the “Activate” button.

中等需求

  • WordPress version 3.5 or greater.
  • PHP version 5.2.4 or greater.
  • MySQL version 5.0 or greater.

Recommended Requirements

  • The latest WordPress version.
  • PHP version 7.0 or greater.
  • MySQL version 5.6 or greater.
How do I embed videos from Coub?

With this plugin you can use the URL to embed videos. Just paste the video URL into your post editor:
https://coub.com/view/4211j

How do I set custom dimensions to my videos?

Since WordPress 4.2, you can double click the embedded item to set max width and max height. It will add the WordPress [embed] shortcode:
[embed width=”600″ height=”400″]https://coub.com/view/4211j[/embed]

Note: Doing it the WordPress way, using the [embed] shortcode, is backwards and forward compatible, and it works with all the themes.

Can I customize the embedded item?

For advanced customization, use [coub id=""] shortcode with the following attributes:

  • id (required) – item id.
  • width – item width.
  • height – item height.
  • muted – (true/false) show intro.
  • autostart – (true/false) start the Coub video automatically.
  • noControls – (true/false) don’t show player’s control buttons.
  • hideTopBar – (true/false) don’t show control buttons located on top of the player.
  • noHDControl – (true/false) don’t show the HD mode button.
  • noSiteButtons – (true/false) don’t show the link to the Coub web site.
  • originalSize – (true/false) show the video with its original dimensions.
  • startWithHD – (true/false) start the video with the HD quality.

评价

阅读所有2条评价

贡献者及开发者

“Coub” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Coub」插件已被翻译至 6 种本地化语言。 感谢所有译者为本插件所做的贡献。

将“Coub”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

1.4 (2016-04-04)

  • Add shortcode.
  • Move plugin files to ‘includes’ directory.

1.3 (2016-01-30)

1.2 (2015-11-26)

  • Filter the code returned by the oEmbed provider and add supported parameters to the code.
  • Add screenshots.

1.1 (2015-05-05)

  • Prevent direct access to main php file.
  • Add i18n support.
  • Add Russian (ru_RU) translation.
  • Add Hebrew (he_IL) translation.

1.0 (2015-04-16)

  • Initial release.
  • Register oEmbed provider.