You have chosen to sponsor your bid up to a maximum amount of .
I have an chrome extension which uses YouTube Player API to control videos and playlists (pause,play,forward,rewind).
Refused to load the script 'youtube.com/iframe_api'; because it violates the following Content Security Policy directive: "script-src 'self' chrome-extension-resource
In my chrome extension I use the following function, in order to activate the controls (play,pause,forward,rewind):
var tag = document.createElement('script');
tag.src = "https://www.youtube.com/iframe_api";
var firstScriptTag = document.getElementsByTagName('script');
PS: aforementioned function is implemented on popup.js.
The idea then, is to move this iframe "tag.src = "https://www.youtube.com/iframe_api"; into a background page, and
then build an interface on popup.html to interact with the background page.
Please consider this opportunity.