Videojs Webextension

Videojs Webextension

Use video.js rather than downloading, or using the native player to play video.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 2,
  "applications": {
    "gecko": {
      "id": "[email protected]"
    }
  },
  "name": "Videojs Webextension",
  "version": "1.3.2",
  "description": "Use video.js rather than downloading, or using the native player to play video.",
  "author": "Brandon Casey",
  "homepage_url": "https://github.com/BrandonOCasey/videojs-webextension",
  "background": {
    "scripts": [
      "background/index.js"
    ],
    "persistent": true
  },
  "icons": {
    "16": "img/videojs-logo-16.png",
    "48": "img/videojs-logo-48.png",
    "128": "img/videojs-logo-128.png"
  },
  "browser_action": {
    "default_title": "videojs-webextension",
    "default_popup": "popup/index.html"
  },
  "options_ui": {
    "page": "options/index.html",
    "chrome_style": true
  },
  "content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'",
  "content_scripts": [
    {
      "js": [
        "client/index.js"
      ],
      "css": [
        "client/index.css"
      ],
      "run_at": "document_end",
      "matches": [
        "*://*/*.m3u8",
        "*://*/*.m3u8?*"
      ]
    }
  ],
  "permissions": [
    "storage",
    "webRequest",
    "webRequestBlocking",
    "*://*/*.m3u8",
    "*://*/*.m3u8?*"
  ]
}