Related videos on YouTube (and YouTube playlists) cause media controls to disappear
<rdar://problem/28484193>
Created attachment 289960 [details] Patch
Comment on attachment 289960 [details] Patch Just an observation: the heuristics for now playing and the controls manager are diverging enough that we should consider splitting them up (rather than leaving them both in MediaElementSession::canShowControlsManager().
(In reply to comment #3) > Comment on attachment 289960 [details] > Patch > > Just an observation: the heuristics for now playing and the controls manager > are diverging enough that we should consider splitting them up (rather than > leaving them both in MediaElementSession::canShowControlsManager(). I agree! We should have a canShowNowPlaying() that we can consult. I think currently the two codepaths are in an awkward state where about half of the checks are still common to both purposes, but I think splitting them out will give us more flexibility in the future, and we should refactor this soon.
Created attachment 289994 [details] Patch for landing
Comment on attachment 289994 [details] Patch for landing Clearing flags on attachment: 289994 Committed r206454: <http://trac.webkit.org/changeset/206454>
All reviewed patches have been landed. Closing bug.