I am trying to add a readycallback function to work with my player till I realized none of the functions in the addReadyCallback function was working. After a couple of troubleshooting, the issue laid with the playerId passed into the function.
While logging the value of the playerId through the console, it kept showing this:
kdp = document.getElementById(playerId)
Could I please ask why the variable playerId isn’t returning the proper Id of the player available? Thank you!