Udemy Playback Control

Udemy Playback Control

Use global keyboard shortcut to control Udemy video playback on separate monitor/tab.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 3,
  "name": "Udemy Playback Control",
  "version": "1.0",
  "author": "Raja Jamwal",
  "description": "Use global keyboard shortcut to control Udemy video playback on separate monitor/tab.",
  "permissions": [
    "tabs",
    "activeTab",
    "commands"
  ],
  "content_scripts": [
    {
      "matches": [
        "*://*.udemy.com/*"
      ],
      "js": [
        "event_handler.js"
      ]
    }
  ],
  "background": {
    "service_worker": "background.js"
  },
  "commands": {
    "seek-backward": {
      "suggested_key": {
        "default": "Ctrl+Shift+1",
        "mac": "Command+Shift+1"
      },
      "description": "Seek Backward",
      "global": true
    },
    "play-pause": {
      "suggested_key": {
        "default": "Ctrl+Shift+2",
        "mac": "Command+Shift+2"
      },
      "description": "Play/Pause Video",
      "global": true
    },
    "seek-forward": {
      "suggested_key": {
        "default": "Ctrl+Shift+0",
        "mac": "Command+Shift+0"
      },
      "description": "Seek Forward",
      "global": true
    }
  }
}