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

Dream Broker Embed

描述

After creating a channel at Dream Broker Studio, you can easily integrate it into your
WordPress site with this plugin. You can list the videos in your channel, add a category bar, and
customize list layout. You can also add social media buttons to ensure that your videos can be shared easily. To reduce network traffic, caching time of the feed can be modified.

屏幕截图

  • Videos from a Dream Broker channel listed with a shortcode.
  • A video from a Dream Broker channel embedded with a shortcode.

安装

  1. Upload ‘db-embed’ directory to the ‘/wp-content/plugins/’ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. On wp-admin page, click on DB Embed and modify settings to make plugin fit your purpose (Channel ID is the most important; point it to your Dream Broker channel you want to show on your site)

To embed a video from your Dream Broker channel to an article, add a shortcode

[db-video id=””], where is the id of the video
You can optionally add controls=”false”. Then the video controls do not show until video thumbnail is clicked.

To list a Dream Broker channel in an article, add a shortcode

[db-channel]

常见问题

What if an embedded video is deleted at Dream Broker side but there is still a shortcode in an article?

The shortcode is ignored. No error messages are shown.

评价

2017 年 4 月 18 日
A lot of deprecated errors when saving the plugin settings. I would be surprised if it worked after 3 years without any update. If you want to embed a dreambroker video, just paste the following code: <div class="db-video-wrapper"><iframe scrolling="no" frameBorder="0" width="100%" height="100%" allowfullscreen webkitallowfullscreen mozallowfullscreen src="http://dreambroker.com/channel/XXXchannelIDXXX/iframe/XXXvideoIDXXX"></iframe></div>
阅读所有1条评价

贡献者及开发者

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

贡献者

将“Dream Broker Embed”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

1.1.2

  • Fixed a bug that caused an incorrect link below the default video

1.1.1

  • Fixed a bug that caused a Javascript error on pages not using shortcodes of this plugin

1.1.0

  • Theme color can be modified
  • “Direct link” and “Share by email” buttons
  • More styled category bar
  • Changed shortcode [video id=”xyz”] to [db-video id=”xyz”] (“video” still works)
  • [db-video/video] shortcode takes an optional parameter “controls”. If controls=”false”, then the actual video player does not open (hence video controls are not shown) until a thumbnail image is clicked. This may improve mobile user experience.
  • Added publish date under video title
  • Bug fixes

1.0.4

  • Layout improvements
  • Small bug fixes