chrome extension youtube api player - repost 2

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: #4692068

About the project

2 proposals Remote project Active Jul 22, 2013

2 freelancers are bidding on average $53 for this job

vsebastienn

Ready to fix this issue.

$50 USD in 1 day
(0 Reviews)
0.0
vishnutekale13

Hello Sir, I am a UI developer with extensive work in JavaScript, object oriented JavaScript, jQuery etc. I have just launched myself on the freelancer. I would like to apply for this Job. I havent work with free More

$55 USD in 3 days
(0 Reviews)
0.0