Switch videos to Picture-in-Picture mode with a keyboard shortcut or toolbar button.
Picture-in-Picture Shortcut adds a keyboard shortcut for switching video players to the Picture-in-Picture mode in modern web browsers. Chrome has a built-in Picture-in-Picture button in the media controls, but isn't always available and requires multiple mouse clicks.
The default shortcut is Ctrl+Period (Cmd+Period on Mac), but it can be changed from the browser settings. Clicking the Picture-in-Picture Shortcut extension button works, too.
Picture-in-Picture Shortcut overrides sites that don't normally allow Picture-in-Picture mode, and attempts to add a play/pause button to the PiP popup. However, this may not always work for sites and players not originally built for PiP mode.
This extension is open-source under the GPLv3 license, the code is available on GitHub: https://github.com/corbindavenport/pip-shortcut