YouTube Button Callback Event

Does anyone know if there is a YouTube scubscribe button (the one that appears in widgets on different sites), a callback function after the user clicked the subscribe button? I studied my own, but due to the fact that they are loaded in an iframe, I do not think this is possible.

+4
source share
2 answers

Yes, they recently added a callback function. In your GUI to create a subscription button, you can check "My applications listen for button events." and it will include a callback in the widget code: https://developers.google.com/youtube/youtube_subscribe_button

0
source

Source: https://habr.com/ru/post/1402121/


All Articles