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

WPDevelopers YouTube Share Buttons

描述

This plugin searches your posts for YouTube embeds and then wraps the player with share buttons that appear on hover when view on desktop or display on place when view on mobile devices. There’s both a share button for Facebook and for Twitter that share your current post URL. When the post share on Facebook, it share the full URL. When sharing on Twitter however, it uses the shortlink, so that the tweet does not surpass the 180 character limit. It works with both regular YouTube iFrame embeds and the oEmbed system.

View the demo here: http://wpdevelopers.com/wpdeveloper-youtube-share-buttons/

安装

  1. Upload wpdev-youtube-share-plugin to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. And enjoy share buttons on your YouTube embeds!

常见问题

Is there a control panel or options page?

Since this plugin is so straight forward, there isn’t a control panel or options page as it truly isn’t needed.

Can I update the styles?

You can do so using your own stylesheet, whether is be a custom.css file or a child theme stylesheet.

What size should the YouTube player be?

It would be best if the player were as wide as it can be. I suggest setting iFrames to be 100% width within the content in order for everything to look great.

评价

此插件暂无评价。

贡献者及开发者

「WPDevelopers YouTube Share Buttons」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.2

  • Updated style.css with some styling changes.
  • Updated code within youtube-share-plugin.php, so that it better finds YouTube embeds within the_content().

1.0

  • First release.