VideoPlayerSize
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. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["Video player sizes are categorized into unspecified, small, large, HD, and unknown."],["Small video players are less than 400x300 pixels on desktop or cover up to 20% of the screen on mobile."],["Large video players range from 400x300 to 1280x720 pixels on desktop or cover 20% to 90% of the mobile screen."],["HD video players are at least 1280x720 pixels on desktop or cover over 90% of the mobile screen."],["An unspecified size serves as a placeholder and does not reflect an actual video player size, while an unknown size indicates the dimensions are undetermined."]]],[]]