You can enter the Picture-in-Picture(PiP) mode on Mac using QuickTime Player. All of these platforms developed by Apple comes with the PiP feature natively. But if you are using Firefox, the keyboard shortcut to enter the PiP mode is command + option + shift + ] or command + option + shift + ).