Skip to content

Tag: youtube-api

onYouTubeIframeAPIReady function is not calling

I want to call onYouTubeIframeAPIReady function but this is not firing. I am getting only frameID in console but other functions are not getting called. Answer Your onYouTubeIframeAPIReady() function must be defined globaly. Simply replace the line with It is also important to load the youtube iframe api libr…