<script src=”https://apis.google.com/js/platform.js”></script>
<script>
function onYtEvent(payload) {
if (payload.eventType == ‘subscribe’) {
// Add code to handle subscribe event.
} else if (payload.eventType == ‘unsubscribe’) {
// Add code to handle unsubscribe event.
}
if (window.console) { // for debugging only
window.console.log(‘YT event: ‘, payload);
}
}
</script>
<.div class=”g-ytsubscribe” data-channel=”GoogleDevelopers” data-layout=”default” data-count=”hidden” data-onytevent=”onYtEvent”><./div>
I’m new in this forum, and I don’t know how to send code for a proper view but here’s the problem, it doesn’t work on my dreamweaver html page..
:(