Expand my Community achievements bar.

Adobe Analytics Champions applications are now OPEN! Applications are open through June 2nd. Click the link to learn more and apply.

Uncaught TypeError: t.getPlayerState is not a function

Avatar

Level 7

Dear All,

In my console, this message ("Uncaught TypeError: t.getPlayerState is not a function") is showing.

Could you please help to explain that what does it mean, Thanks

kamleshmaddheshiya_0-1655660492220.png

 

3 Replies

Avatar

Community Advisor

That sounds like an issue with the YouTube API (GetPlayerState is a function there, I assume the t. is how the plugin is connecting the Adobe integration with the API)... are you on a page with a video or no video?

 

As in, when you have a video is there no error, but now all pages without video are showing this issue? Or is this happening on your pages with Video which could be causing an issue with the video tracking.

 

 

Since I saw earlier posts, I assume you are still working on integrating Video Tracking.. which extension are you using? Is it possible that the code for this is triggering before the video is loaded on the page?

page footer