chrome extension youtube api player - repost

Cancelled Posted Jul 4, 2013 Paid on delivery
Cancelled Paid on delivery

Hi,

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 '[url removed, login to view]'; 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 = [url removed, login to view]('script');

[url removed, login to view] = "[url removed, login to view]";

var firstScriptTag = [url removed, login to view]('script')[0];

[url removed, login to view](tag, firstScriptTag);

}

PS: aforementioned function is implemented on popup.js.

The idea then, is to move this iframe "[url removed, login to view] = "[url removed, login to view]"; into a background page, and

then build an interface on [url removed, login to view] to interact with the background page.

Please consider this opportunity.

thank you.

JavaScript

Project ID: #4691959

About the project

5 proposals Remote project Active Jul 22, 2013

5 freelancers are bidding on average $130 for this job

vsebastienn

hi, ready to start working.

$25 USD in 2 days
(0 Reviews)
0.0
bmartynvw

Please read PM

$21 USD in 30 days
(0 Reviews)
0.0
anomanpk

I would like to offer my services for this job.

$22 USD in 3 days
(0 Reviews)
0.0
andyportmen

I can do this for you. Please check your PM

$25 USD in 3 days
(0 Reviews)
0.0
EssTechnologies

We are interested...thank you.

$555 USD in 3 days
(0 Reviews)
0.0