Skip to content Skip to sidebar Skip to footer

YouTube API OnPlayerReady Is Never Getting Called

Follow this tutorial, I have been trying to integrate the YouTube API into my website. Specifically, when a button is pressed I want to play a video hosted on YouTube in fullscreen

Solution 1:

From what I can see, it seems as though your issue may be in the player div seems to be of the class player and from what I can see in the tutorial, its looking for an div with player id. so something like the following may work:

.body
    #player

I am not 100% familiar with Slim so you may need to mark this up differently.


Post a Comment for "YouTube API OnPlayerReady Is Never Getting Called"