Fix iOS 14 Picture-in-Picture for YouTube Not Working
Again, YouTube app does not support and won't support iOS 14 video overlay in the near future. The only way to make those streaming apps work with iOS 14 PIP feature is that you make good use of Safari/Chrome/Firefox, meaning to log in the web version of the video streaming app and those browsers will make PIP mode effective.
Step 1: Open Safari for example
Head to a streaming site that supported PiP, such as YouTube.com. Make sure the streaming app does offer a web page access.
Step 2: Find your way to start a video playback
Log in or not, it's up to you. You can simply tap on a video clip or a live broadcast.
Step 3: Click the Square icon on the video right lower corner
You need to make the video in Full screen mode before enabling PiP.
Step 4: Find the Picture-in-Picture icon and tap it
Your video will then shrink to fit the iPhone screen in PiP size. And you can feel free to swipe to other applications for messaging, viewing forums, etc. The PiP mode video can be moved around, up and down.
Upate: As of now, even the website of YouTube picture in picture is not working on iOS 14 any more. It seems that you have to upgade to YouTube premium version to make that enabled.
iOS 14 YouTube PiP not working issue has been elevated to not even supporting webpage PIP. And YouTube purposely refuse to support that feature except for its premium subscribers. Therefore, there's no way to directly solve this issue but to dig for better workarounds. And requesting the desktop version of YouTube in safari seems like to be a way to go.
Step 1: Open Shortcuts and click on Plus button to add a new shortcut
Step 2: Tap on Add Action and then tap the Web icon
Step 3: Tap Run JavaScript on Web Page
Step 4: Hit the Web Page blue icon and then choose Shortcut Input
Step 5: Delete the existing scripts and paste the following script onto it:
let v = document.querySelector('video');
v.addEventListener('webkitpresentationmodechanged', (e)=>e.stopPropagation(), true);
setTimeout(()=>v.webkitSetPresentationMode('picture-in-picture'), 3000);
completion()
Note that you'd better delete the script line by line instead of selecting all and paste. Otherwise, Shortcuts might experience error of unexpected quit.
Step 6: Rename this action as "YouTube PiP iOS 14" by tapping the three-dots icon on the top right corner
Step 7: Toggle on "Show in Sharesheet" and go to Share Sheet Types
Step 8: Deselect All types and select only Safari Web Page
Step 9: Confirm all the settings and tap done
Now you can open a YouTube video in Safari and tap the Share button. Swipe down to the YouTube PiP iOS shortcut tab and tap on it. Remember to allow safari access. Tada, job's done!
Fix iOS 14 Picture-in-Picture Not Working with Saved Videos in GALLERY/Files
"Picture-in-Picture (PIP) not working on Saved videos in GALLERY and FILES app, I want it mainly for the already saved videos in iPhone. What to do?" - from a Reddit user
To watch already saved videos on iOS 14 in Picture in Picture mode, you should know that not all applications support this feature. The application you use to play the video should be working with PIP mode.
What apps work with iOS 14 picture in picture:
- Communication app that supports PIP: Face-Time
- Steaming apps that supports PIP within their own: Netflix, Amazon Prime, Disney+, Twitch, Hulu, and Apple TV+.
- Utility apps that supports PIP within their own: Home, iTunes, Podcast.
- Browsers that supports PIP: Safari, Chrome, Firefox
Note: Twitch picture in picture does not work stably on iOS 14 beta 8. With "Play in Background" enabled in app preference, the video playback crashes some times when you shift to another app.
iOS 14 Picture-in-Picture won't work for local media players like VLC, Quicktime, Kmplayer, etc. And YouTube does not support PIP on iOS 14 as well.
However, Apple TV app has a local version called Video and it does 100% supports PIP on iOS 14. In there, under the Library, you'll see two categories – Home Video and Downloaded. All videos saved in this application can be played in PIP mode on iOS 14.
Q: How to watch saved videos on iOS 14 in Picture in Picture mode? A: Simply transfer those saved video to Apple TV app (Video app)
Step 1: Install DearMob iPhone Manager and launch it.
You will need DearMob iPhone Manager, by using this tool, you can export videos in Gallery and Files app and transfer them back to your Apple TV/Video app. You can also directly transfer TV series and movies from your computer to iPhone Apple TV to enjoy PiP view.
Step 2: Locate all the videos you want to watch in PIP mode and export them.
Case 1: If your videos are saved in Files, direct to Files Tab > Select the video via its path > Click Export
Case 2: If your videos are saved in Gallery, head to the Video/Movie tab > Video Recorded > Select the videos > Click Export
Note: Upon export, your can delete those videos on iPhone right away to prevent duplicate vidoes taking up too much iPhone storage space.
Step 3: Import the video into Apple TV app
Go to Video & Movie > under Home Video > Click "Add video" > Click Sync
Or, you can directly drag and drop the video to the Home Video panel and click Sync button
This time, on your iPhone, you can check out all your saved videos being moved to the Home Video, tap on one and enjoy the iOS 14 Picture in Picture mode now!
Note: From untrusted sites, it is reported that both the Photos app and Files app might be added to support PIP soon in iOS 14.x very soon.