Rotate
- support 0°, 90°, 180°, 270°
- affect Youtube video preview
Zoom / Mirror
- support long press +,- button
* the value will be reset after pressing the reset button or the rotate button
* not affect Youtube video preview
Premium users can view and search full source code, and see the source code differences
between two versions.
Upgrade to premium
manifest.json
{
"manifest_version": 3,
"name": "Rotate Youtube Video",
"version": "6.0.2.5",
"description": "Toolbar button for easier Rotate, Zoom or Mirror Youtube video",
"icons": {
"48": "icons/logo_48.png",
"64": "icons/logo_64.png",
"96": "icons/logo_96.png"
},
"options_page": "options/index.html",
"background": {
"page": "background.html"
},
"action": {
"default_popup": "popup/index.html"
},
"content_scripts": [
{
"matches": [
"https://www.youtube.com/*"
],
"css": [
"content-script/main.css"
],
"js": [
"content-script/main.js"
]
}
],
"permissions": [
"tabs",
"storage",
"management",
"scripting"
],
"host_permissions": [
"https://www.youtube.com/*"
],
"web_accessible_resources": [
{
"resources": [
"/tensorflow/model/model.json",
"/tensorflow/model/group1-shard1of3.bin",
"/tensorflow/model/group1-shard2of3.bin",
"/tensorflow/model/group1-shard3of3.bin"
],
"matches": [
"<all_urls>"
]
}
],
"content_security_policy": {
"extension_pages": "script-src 'self' 'wasm-unsafe-eval'; object-src 'self';"
},
"commands": {
"show_options_page": {
"suggested_key": {
"default": "Ctrl+Shift+1",
"mac": "MacCtrl+Shift+1"
},
"description": "Show Options Page"
},
"rotate": {
"suggested_key": {
"default": "Ctrl+Shift+9",
"mac": "MacCtrl+Shift+9"
},
"description": "Rotate"
},
"mirror": {
"suggested_key": {
"default": "Ctrl+Shift+8",
"mac": "MacCtrl+Shift+8"
},
"description": "Mirror"
},
"zoom_in": {
"suggested_key": {
"default": "Ctrl+Shift+Period",
"mac": "MacCtrl+Shift+Period"
},
"description": "Zoom in"
},
"zoom_out": {
"suggested_key": {
"default": "Ctrl+Shift+Comma",
"mac": "MacCtrl+Shift+Comma"
},
"description": "Zoom out"
},
"move_left": {
"suggested_key": {
"default": "Ctrl+Shift+Left",
"mac": "MacCtrl+Shift+Left"
},
"description": "Move left"
},
"move_right": {
"suggested_key": {
"default": "Ctrl+Shift+Right",
"mac": "MacCtrl+Shift+Right"
},
"description": "Move right"
},
"move_up": {
"suggested_key": {
"default": "Ctrl+Shift+Up",
"mac": "MacCtrl+Shift+Up"
},
"description": "Move up"
},
"move_down": {
"suggested_key": {
"default": "Ctrl+Shift+Down",
"mac": "MacCtrl+Shift+Down"
},
"description": "Move down"
},
"reset": {
"suggested_key": {
"default": "Ctrl+Shift+7",
"mac": "MacCtrl+Shift+7"
},
"description": "Reset Zoom / Move / Mirror Options"
},
"centerZoomedVideo": {
"description": "Center Zoomed Video"
}
},
"browser_specific_settings": {
"gecko": {
"id": "{075e8f87-f625-445c-926e-e2411df98fba}"
}
}
}