Add Some Awesome Youtube Subscribe & View Video Video Buttons On Your Website!
Import The Latest Version :-
<script src="https://sancho1952007.github.io/Youtube_Buttons.js/dist/main.min.js"></script>
Just Create The Div Element As Follows :-
Subscribe Button :-
<div class="youtube-subscribe-btn" size="130" channel="Youtube Channel URL"></div>
Video Button :-
<div class="youtube-video-btn" size="130" video="https://youtu.be/ecjyX29yNII"></div>
Note: Once You Import The Script, The Needed Functions Will Automatically Called.
Make The div Element And Then, Just Call The Function In JS :-
Youtube_Buttons_Refresh()