Starting with iOS 14, iPhones now support Picture-in-Picture (PiP) mode. By default, when you switch from playing a full-screen video in a supported media app, it will continue playing in the corner of the screen. If you find this annoying, you can easily turn it off.