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,654
Replies
3
Views
3,744
Replies
2
Views
2,675
Replies
21
Views
8,648
Latest threads
Replies
1
Views
100
Replies
1
Views
121
Replies
1
Views
240
Replies
0
Views
251
Replies
0
Views
262
Recommended threads
Replies
1
Views
1,534
Replies
9
Views
1,881
wms
Replies
1
Views
4,154
Ric
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