Apraksts
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/
Uzstādīšana
- Upload
wpdev-youtube-share-pluginto the/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress.
- And enjoy share buttons on your YouTube embeds!
BUJ
- 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.
Atsauksmes
Par šo spraudni nav atsauksmju.
Autori un izstrādātāji
“WPDevelopers YouTube Share Buttons” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.
LīdzdalībniekiTulkot “WPDevelopers YouTube Share Buttons” savā valodā.
Vai jūs interesē attīstība?
Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.
Izmaiņu žurnāls
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.
