Chrome Version: ToT
OS: all
[What steps will reproduce the problem?]
(1) Play a video with native media controls, e.g. https://mounirlamouri.github.io/sandbox/media/dynamic-controls.html
(2) Wait until the media controls auto-hide.
(3) Enter/exit fullscreen on the video.
Obviously for (3) you can't press the fullscreen button on the media controls. Instead one way to trigger (3) on Android is to exit fullscreen by pressing the device's back button; similarly on desktop you can press Esc. Another, particularly distracting case where this happens is if you enable video-rotate-to-fullscreen in chrome://flags ( issue 713225 ).
[What is the expected result?]
If media controls are hidden due to inactivity, they should remain hidden when entering/exiting fullscreen (except in the case of an inline video with custom controls going fullscreen and hence needing native media controls).
[What happens instead?]
Both when entering and exiting fullscreen, the media controls appear briefly then almost immediately hide again.
They are shown by HTMLMediaElement::UpdateControlsVisibility (called from HTMLMediaElement::Did{Enter,Exit}Fullscreen) and then hidden again by MediaControlsImpl::OnTimeUpdate since ShouldHideMediaControls() returns true.
Comment 1 by bugdroid1@chromium.org
, May 16 2017