Title: WPDevelopers YouTube Share Buttons
Author: Tyler Johnson
Published: <strong>2014 年 12 月 31 日</strong>
Last modified: 2015 年 9 月 3 日

---

搜索插件

![](https://ps.w.org/wpdevelopers-youtube-share-buttons/assets/banner-772x250.jpg?
rev=1057556)

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

![](https://s.w.org/plugins/geopattern-icon/wpdevelopers-youtube-share-buttons_977e7b.
svg)

# WPDevelopers YouTube Share Buttons

 作者：[Tyler Johnson](https://profiles.wordpress.org/tylerjohnsondesign/)

[下载](https://downloads.wordpress.org/plugin/wpdevelopers-youtube-share-buttons.zip)

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

 [支持](https://wordpress.org/support/plugin/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」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Tyler Johnson ](https://profiles.wordpress.org/tylerjohnsondesign/)

[帮助将「WPDevelopers YouTube Share Buttons」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/wpdevelopers-youtube-share-buttons)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/wpdevelopers-youtube-share-buttons/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/wpdevelopers-youtube-share-buttons/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/wpdevelopers-youtube-share-buttons/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/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.

## 额外信息

 *  版本 **1.2**
 *  最后更新：**11 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.5 或更高版本 **
 *  已测试的最高版本为 **4.3.34**
 *  语言
 * [English (US)](https://wordpress.org/plugins/wpdevelopers-youtube-share-buttons/)
 * 标签
 * [facebook](https://cn.wordpress.org/plugins/tags/facebook/)[share](https://cn.wordpress.org/plugins/tags/share/)
   [twitter](https://cn.wordpress.org/plugins/tags/twitter/)[youtube](https://cn.wordpress.org/plugins/tags/youtube/)
 *  [高级视图](https://cn.wordpress.org/plugins/wpdevelopers-youtube-share-buttons/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/wpdevelopers-youtube-share-buttons/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/wpdevelopers-youtube-share-buttons/reviews/)

## 贡献者

 *   [ Tyler Johnson ](https://profiles.wordpress.org/tylerjohnsondesign/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/wpdevelopers-youtube-share-buttons/)