VideoPlayerSize

  • Different enum values define various video player sizes, including unspecified, small, large, HD, and unknown.

  • VIDEO_PLAYER_SIZE_SMALL corresponds to dimensions less than 400x300 on desktop or up to 20% of the screen on mobile.

  • VIDEO_PLAYER_SIZE_LARGE covers dimensions between 400x300 and 1280x720 on desktop or 20% to 90% of the screen on mobile.

  • VIDEO_PLAYER_SIZE_HD applies to dimensions of 1280x720 or greater on desktop or over 90% of the screen on mobile.

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.