Press and hold the key and then move the cursor to select the video on the page to open the picture-in-picture function.
select-picture-in-picture Extension
Press and hold the corresponding shortcut key, then move the cursor to select the video on the page to open the picture-in-picture function.Hold down Alt/Option and move the cursor, the element where the cursor rests will draw a border, if the border is green, press the P key again to start picture-in-picture mode.
Read more
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "select-picture-in-picture", "version": "1.0.1", "action": {}, "description": "Press and hold the key and then move the cursor to select the video on the page to open the picture-in-picture function.", "icons": { "16": "icon16.png", "48": "icon48.png", "128": "icon128.png" }, "author": "Marshall", "permissions": [ "activeTab", "scripting" ], "background": { "service_worker": "background.js" }}
Read more