REGRESSION (r217223): [iOS] Video keeps playing after application is backgrounded
Created attachment 313641 [details] Patch
<rdar://problem/32587317>
Comment on attachment 313641 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=313641&action=review > Source/WebCore/html/HTMLMediaElement.cpp:5342 > + m_elementIsHidden = document().hidden() && m_videoFullscreenMode != VideoFullscreenModePictureInPicture; Don't we also want to override when playing to AppleTV?
(In reply to Eric Carlson from comment #3) > Comment on attachment 313641 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=313641&action=review > > > Source/WebCore/html/HTMLMediaElement.cpp:5342 > > + m_elementIsHidden = document().hidden() && m_videoFullscreenMode != VideoFullscreenModePictureInPicture; > > Don't we also want to override when playing to AppleTV? That's handled in shouldOverrideBackgroundPlaybackRestriction(); in the case that we are playing to the AppleTV, the interruption is overridden.
Comment on attachment 313641 [details] Patch Clearing flags on attachment: 313641 Committed r218710: <http://trac.webkit.org/changeset/218710>
All reviewed patches have been landed. Closing bug.