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,938
Replies
3
Views
3,985
Replies
2
Views
2,856
Replies
21
Views
9,192
Latest threads
Replies
0
Views
29
Replies
0
Views
31
Replies
1
Views
41
Replies
3
Views
105
Recommended threads
Replies
1
Views
2,239
Replies
2
Views
5,362
PRO
Replies
3
Views
2,502
Replies
13
Views
5,233
Top