VideoPlayerSize

  • Video players can be sized as SMALL, LARGE, or HD, corresponding to varying dimensions and screen coverage on desktop and mobile.

  • VIDEO_PLAYER_SIZE_UNSPECIFIED acts as a placeholder and VIDEO_PLAYER_SIZE_UNKNOWN indicates dimensions are unavailable.

  • SMALL players are under 400x300 pixels on desktop or up to 20% screen coverage on mobile, while LARGE ones range from 400x300 to 1280x720 pixels on desktop or 20% to 90% screen coverage on mobile.

  • HD video players have dimensions of 1280x720 pixels or greater on desktop and occupy over 90% of the screen on mobile devices.

Possible video player sizes.

Enums
VIDEO_PLAYER_SIZE_UNSPECIFIED Video player size is not specified in this version. This enum is a place holder for a default value and does not represent a real video player size.
VIDEO_PLAYER_SIZE_SMALL The dimensions of the video player are less than 400×300 (desktop), or up to 20% of screen covered (mobile).
VIDEO_PLAYER_SIZE_LARGE The dimensions of the video player are between 400x300 and 1280x720 pixels (desktop), or 20% to 90% of the screen covered (mobile).
VIDEO_PLAYER_SIZE_HD The dimensions of the video player are 1280×720 or greater (desktop), or over 90% of the screen covered (mobile).
VIDEO_PLAYER_SIZE_UNKNOWN The dimensions of the video player are unknown.