Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Bug report - Youtube player (v. 7.7.4) throws JS error "Y.getVideoData is not a function'


A new error started popping up today and it's quite critical for us. We're using JW Player v. 7.7.4 to play Youtube videos. When clicking on play, an exclamation mark appears and the error below is thrown. When clicking again it does play.

TypeError: Y.getVideoData is not a function
at V (/player/v/7.7.4/
at load (/player/v/7.7.4/
at l.a (/player/v/7.7.4/
at l.<anonymous> (/player/v/7.7.4/
at b (/player/v/7.7.4/

I know that JW Player has dropped Youtube support because of the Youtube API's inconsistencies but would love to get some help. For our use case JWPlayer 7 + Youtube is still our best choice and we'd like to keep using it.



5 Community Answers


1 rated :

the same problem


JW Player Support Agent  
1 rated :

Since we dropped support there is little we can do to help other than recommend you try a later version of JW 7.


0 rated :

Thanks. I updated to 7.12.11 and the issue seems to be fixed.


0 rated :

Spoke too fast. Not fixed. For anyone else experiencing this problem, there are 2 related issues on stackoverflow:


1 rated :

We're having this problem too. If we click on the play button, we get the "Y.getVideoData is not a function" error. However, if you click on the video pane, no error (playback starts). So our thought is that we could simply remove the "getVideoData" function from the version of JWP that we are using (or change it to some dummy function that works). Note that we don't need the video title from YouTube, or presumably any of the other "video data." Is this possible? I can't seem to find getVideoData anywhere in jwplayer.js.

This question has received the maximum number of answers.