(As multiple people didnt know that this already works)
PiP works and the windows can stay on top, but they don’t by default, they need a kwin rule.
Search for that settings page in the menu and add a rule
class unimportant
window types all
window title exactly "Picture-in-Picture
force put window to foreground
The UI is weird because there is no clear distinction between conditions and actions, but it works, this one might be specific to Firefox based browsers though.
How to get this working now
(As multiple people didnt know that this already works)
PiP works and the windows can stay on top, but they don’t by default, they need a kwin rule.
Search for that settings page in the menu and add a rule
The UI is weird because there is no clear distinction between conditions and actions, but it works, this one might be specific to Firefox based browsers though.