I get a couple of non-critical error messages when using the YouTube player API inside the Google Chrome extension under version v2.
I have the following definitions in my content_security_policy:
"content_security_policy":
"script-src 'self' https://www.youtube.com/player_api https://s.ytimg.com/yt/jsbin/www-widgetapi-vfl9Ni0ki.js; object-src 'self'"
The first link, player_api, is dependent on widgetapi. This is understandable if you go to the player_api url and see its contents:
if (!window['YT']) {var YT = {};}if (!YT.Player) {(function(){var s = 'https:' + '//s.ytimg.com/yt/jsbin/www-widgetapi-vflU5wlSl.js';var a = document.createElement('script');a.src = s;a.async = true;var b = document.getElementsByTagName('script')[0];b.parentNode.insertBefore(a, b);YT.embed_template = "\u003ciframe width=\"425\" height=\"344\" src=\"\" frameborder=\"0\" allowfullscreen\u003e\u003c\/iframe\u003e";})();}
This is all good and good. My content security policy works and the YouTube video uploads successfully. However, behind the scenes, I see a lot of warnings:

, "Unsafe JavaScript URL..." . - , !
" ...". Google , , . , , .
? ? ( , , )?