With the new concept of "dominant" video in HTMLMediaElement/WebMediaPlayer, we could merge it with a fullscreen video to allow content/ embedders to have behaviour based on whether a video is currently fullscreen (or almost fullscreen in the case of dominant).
CC'ing some people that might be interested.
FWIW, I not 100% clear what information we could provide. I'w considering starting with only exposing a "playing fullscreen/dominant" API then maybe add something were it's possible to get status information about a dominant video.
Summary: Provide an WebContents API exposing if a video is effectively fullscreen (was: Provide an WebContents API exposing if a video is fullscreen or dominant)
Comment 1 by mlamouri@chromium.org
, Feb 10 2017