FANDOM


YouTubeButton imports the platform.js script from Google, which enables the use of YouTube subscribe buttons.

Usage

dev:YouTubeButton/code.js
  • To embed a subscribe button, use the following HTML:
<div class="g-ytsubscribe" data-channel="ChannelName" data-layout="default" data-count="default"></div>
  • Replace ChannelName with a YouTuber's channel name

Example

Code
<div class="g-ytsubscribe" data-channel="wikia" data-layout="default" data-count="default"></div>


Code
<div class="g-ytsubscribe" data-channel="wikia" data-layout="full" data-count="default"></div>

External links