This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

WPDevelopers YouTube Share Buttons

Description

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/

Installation

  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!

FAQ

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.

Contributors & Developers

“WPDevelopers YouTube Share Buttons” is open source software. The following people have contributed to this plugin.

Changelog

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.