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,657
Replies
3
Views
3,757
Replies
2
Views
2,681
Replies
21
Views
8,653
Latest threads
Replies
1
Views
99
Replies
1
Views
105
Replies
1
Views
166
Replies
1
Views
205
Replies
1
Views
282
Recommended threads
Replies
5
Views
4,258
Replies
4
Views
3,028
Similar 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