Uncaught TypeError: t.getPlayerState is not a function | Community
Skip to main content
kamlesh-maddheshiya
Community Advisor
Community Advisor
June 19, 2022
Solved

Uncaught TypeError: t.getPlayerState is not a function

  • June 19, 2022
  • 2 replies
  • 1788 views

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

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by yuhuisg

This is a duplicate question, posted here (with my response that has a solution): https://experienceleaguecommunities.adobe.com/t5/adobe-analytics-questions/youtube-video-tracking-through-adobe-launch/m-p/462486/highlight/true#M38345

2 replies

Jennifer_Dungan
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
June 20, 2022

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?

yuhuisg
Community Advisor
yuhuisgCommunity AdvisorAccepted solution
Community Advisor
July 24, 2022
kamlesh-maddheshiya
Community Advisor
Community Advisor
August 20, 2022

thank you for response @yuhuisg @jennifer_dungan