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,918
Replies
3
Views
3,971
Replies
2
Views
2,845
Replies
21
Views
9,143
Latest threads
Replies
0
Views
590
Replies
2
Views
789
Recommended threads
Replies
1
Views
3,046
Replies
3
Views
2,107
Replies
5
Views
2,579
Replies
2
Views
1,407

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