How to hide Youtube subscribe button when already subscribed

Hello friends,

I need your help for youtube subscribe button on my website. I need to hide the button for thos visitor who already subscribed my youtube channel (depends on if he logged in youtube/google). The button will be visible only to them who did not subscribe or not logged in youtube/google.

I think to do the I need to check the button status then hide/show based on status. But I can't do it. So I am seeking your help.

The code id bellow and also the youtube button generator page...

How to hide Youtube subscribe button when already subscribed

from JavaScript http://ift.tt/1qcSZ04
via IFTTT
Previous
Next Post »
Thanks for your comment