New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 719467 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Feature

Blocking:
issue 713225



Sign in to add a comment

Rotate-to-fullscreen visibility check uses document viewport not visible viewport

Project Member Reported by joh...@chromium.org, May 8 2017

Issue description

Video rotate-to-fullscreen uses IntersectionObserver to determine whether the video is sufficiently onscreen to qualify for rotate-to-fullscreen.

But IntersectionObserver doesn't take into account pinch zoom when determining visibility (i.e. it cares about being visible within the layout viewport, not the visible viewport).

So during pinch zoom, rotate-to-fullscreen can trigger even though the video is offscreen. This is less of a concern for mobile pages, but may be an issue for desktop pages.

(IIRC it's not currently possible for JavaScript to observe pinch zoom, so the current behaviour has the benefit of being exactly polyfillable by JS)

(technically affects all OSes with touchscreens, but in practice only relevant for Android)
 
Components: Blink>Fullscreen Internals>Media

Comment 2 by e...@chromium.org, Feb 9 2018

Labels: -Type-Bug Type-Feature
Status: Available (was: Untriaged)

Sign in to add a comment