On November 13th, I got a call from a customer reporting that the YouTube player didn't work anymore. After a quick look in the dev tool, I found that there was an error:
Uncaught TypeError: a.getVideoData is not a function
Looking into what the player object was containing, I learned that there's no function getVideoData
anymore.
The function getVideoData
provided a way to get the video title. Now, how can I get the title?
Is there any article from Google about this change?
getVideoData()
function ever listed in there at all. Could this have been functionality that was never officially supported? Regardless, I agree with you that it would have been nice to know in advance that it was being removed. I've spent all day fixing my live implementations of this API.