chrome extension youtube api player

Avg Bid (USD)
Project Budget (USD)
$45 - $70

Project Description:

I have an Google Chrome extension. I need someone to resolve a problem related to Inline JavaScript restrictions.

I have an chrome extension which uses YouTube Player API to control videos and playlists (pause,play,forward,rewind).

Extension is done. Developer needs to resolve a problem related to Inline JavaScript restrictions on chrome extension.

Specifically, this:

Refused to load the script ''; 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):

function setupPlayer()

var tag = document.createElement('script');

tag.src = "";

var firstScriptTag = document.getElementsByTagName('script')[0];

firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);


PS: aforementioned function is implemented on popup.js.

The idea then, is to move this iframe "tag.src = ""; into a background page, and
then build an interface on popup.html to interact with the background page.

Please consider this opportunity.

thank you.

Skills required:
Hire gepoca
Project posted by:
gepoca Spain
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.

Hire alisher32
$ 55
in 3 days
Hire grzebrzean
$ 50
in 3 days