Referenceerror: Can't Find Variable: Onplayerready (when Using Callback)
I am trying to use onPlayerReady() and onPlayerStateChange() as call backs for my YT Iframe Api wrapper, but I can't seem to reference an instance of my wrapper. How do I go about
Solution 1:
'onReady': this.onPlayerReady.bind(this)
'onStateChange': this.onPlayerStateChange.bind(this)
Post a Comment for "Referenceerror: Can't Find Variable: Onplayerready (when Using Callback)"