How to add a Youtube subcribe button to my site?

Maxwell

New member
Joined
Mar 5, 2013
Messages
397
Points
0
Hi folks,

I'm making a videos site for sharing on my site and on Youtube. Is there any ways to add a Youtube subcribe button to my site, please suggest any tips or tutorials.
 

rohanjain

New member
Joined
Feb 19, 2014
Messages
67
Points
0
I was also looking for the same information. Thanks for sharing the helpful link.
 

bob

New member
Joined
Apr 22, 2014
Messages
203
Points
0
To add a button, your application needs to load this JavaScript file:
https://apis.google.com/js/platform.js

You can add a button by using an element, such as a <div>, that sets its class to g-ytsubscribe and uses other attributes to customize the button. The code below shows a simple integration that displays a Subscribe button for the GoogleDevelopers channel.

<script src="https://apis.google.com/js/platform.js"></script>
<div class="g-ytsubscribe" data-channel="GoogleDevelopers"></div>
 
Newer threads
Replies
17
Views
6,906
Replies
3
Views
3,964
Replies
2
Views
2,837
Replies
21
Views
9,127
Latest threads
Recommended threads

Referral contests

Referral link for :

Sponsors

Popular tags

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top