Floating Video with Playback Controls
Picture-in-Picture mode allows you to watch a video in a floating window with playback video controls.
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"name": "__MSG_name__",
"description": "__MSG_description__",
"version": "1.4",
"default_locale": "en",
"icons": {
"32": "icon-32.png",
"64": "icon-64.png",
"128": "icon-128.png"
},
"background": {
"service_worker": "background.js"
},
"content_scripts": [
{
"js": [
"content-script.js"
],
"matches": [
"<all_urls>"
]
},
{
"js": [
"content-listener.js"
],
"all_frames": true,
"matches": [
"<all_urls>"
]
}
],
"commands": {
"_execute_action": {
"suggested_key": {
"windows": "Alt+P",
"mac": "Alt+P",
"chromeos": "Alt+P",
"linux": "Alt+P"
}
}
},
"action": {
"default_title": "__MSG_name__"
},
"options_page": "settings.html",
"permissions": [
"storage",
"activeTab",
"scripting",
"tabs"
],
"host_permissions": [
"<all_urls>"
],
"web_accessible_resources": [
{
"resources": [
"assets/*",
"css/*"
],
"matches": [
"<all_urls>"
]
}
],
"manifest_version": 3
}