DescriptionAlways show "exit fullscreen" button.
When switching to full screen mode, we may choose to hide the exit
fullscreen button, based on whether we believe the media is capable
of being shown fullscreen. On android, this behavior can cause us
to believe that entering fullscreen is okay, only to decide that it
isn't when the user actually enters fullscreen. This leaves the
fullscreen button hidden in fullscreen mode, with no way back.
This is caused by a lack of support in Android's MediaPlayer for
checking the type of streams available before playback starts. It
goes by mime type only, and defaults to "yes" if that's unavailable.
Until we move the media stack away from android's MediaPlayer, it
will be hard to fix this root cause.
This CL makes the fullscreen button show up unconditionally when the
media is in fullscreen. Either way, this seems like a good idea.
BUG=500732
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197678
Patch Set 1 #Patch Set 2 : updated test expectations #
Total comments: 3
Patch Set 3 : /* expositionary text */ #
Messages
Total messages: 13 (5 generated)
|
||||||||||||||||||||||||||||