Closed

chrome extension youtube api player

This project received 2 bids from talented freelancers with an average bid price of $53 USD.

Get free quotes for a project like this
Employer working
Skills Required
Project Budget
$45 - $70 USD
Total Bids
2
Project Description

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.

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online