On my iPad mini 3, a currently-playing YouTube video in Safari used to continue to play if the active tab was changed, similar to how a tabbed browser on an actual computer functions. This fact was true for the past year that I've been using this iPad.
But, since very recently, video no longer behaves in this manner on my iPad (running iOS 10.3.1.).
I have 2 tabs open in Safari.
One tab is a Stack Exchange webpage and the other is a YouTube video.
The YouTube tab is the active tab. I tap the video area to play the YouTube video.
As soon as I tap and switch to the Stack Exchange tab, the video ceases to play.
When I return to the YouTube video tab, the video does not automatically play where it left off. The video is paused, so I must tap (i.e., un-pause) the video to get the video to continue playing.
I am assuming that this is an "Apple" issue, and not a "YouTube" issue.
I tried pressing the media control buttons that appear when one swipes the bottom of the screen upward. These buttons do not affect the YouTube video (excluding the volume slider). This is more unusual behavior, because I recall that the media play/pause button used to play/pause a YouTube video, no matter whether the YouTube tab was active or hidden.
I have tried rebooting the iPad by holding the sleep button down for a few seconds, and then sliding the button to power off. Doing this did not solve the issue.
I prefer to view YouTube videos in Safari, as opposed to in a dedicated YouTube app, because having the YouTube video in a Safari tab is more convenient (i.e., it takes fewer taps to access).
Does anyone know how to keep a YouTube video in Safari playing, when another Safari tab is active?