Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Uncaught TypeError: t.getPlayerState is not a function

Avatar

Level 5

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?