error event
scippio opened this issue · 0 comments
scippio commented
I want catch error but when I removed some characters from videoId and video not loaded via loadVideoById() function the error event not call 🤔
var p = YouTubePlayer(this.$el)
p.on('stateChange', (event) => {
console.log("test1")
})
p.on('error', (event) => {
console.log("test")
})
p.loadVideoById(myID)