Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Youtube embedded video produces error "ytcfg is not defined"

The following erro message appears in the browser console if there is embedding youtube video on the page:

enter image description here

Note: no API was used for embedding, e.g. Youtube iFrame API - just a raw iframe.

It is also reproducible on the youtube website if you go to some video, click the Share button and choose the Embed tab. Or just open some video link in a new browser window, like https://www.youtube.com/embed/.....

Is there something I can do about this error message?

like image 536
Igor Bukin Avatar asked Nov 15 '16 21:11

Igor Bukin


1 Answers

Its broken on their own site too

https://developers.google.com/youtube/youtube_player_demo

like image 196
user3598140 Avatar answered Sep 26 '22 02:09

user3598140