发明名称 Autohiding video player controls
摘要 Methods are described for maximizing the size of a video displayed in a display area of a video player. The maximum height of the video is determined using its aspect ratio and the dimensions of the display area in the video player. The control panel is removed from the display in the video player if this allows the video to be shown at its maximum height while preserving the video's resolution. The control panel is displayed in the video player if the video can be shown at its maximum height without removing the control panel from the display.
申请公布号 US9639248(B2) 申请公布日期 2017.05.02
申请号 US201514590923 申请日期 2015.01.06
申请人 Google Inc. 发明人 Harnish Philip T.;Glick Brian
分类号 G06F3/0481;G06F3/0482;G06F3/0484;H04N7/01;H04N21/431;H04N21/4402;H04N21/472 主分类号 G06F3/0481
代理机构 Fenwick & West LLP 代理人 Fenwick & West LLP
主权项 1. A computer-implemented method for displaying a video in a video player, the method comprising: instructing the video player to display a player area having a player area height and a player area width; instructing the video player to display the video at an initial video size within the player area, the initial video size having an initial video height and an initial video width; instructing the video player to display a control panel of the video player within the player area in conjunction with the video, the control panel having a height; receiving a notification that the video player has been resized during display of the video at the initial video size, the notification identifying a new player area height and a new player area width; determining a maximum video height for displaying the video within the player area, the maximum video height based on an aspect ratio of the video, the new player area height, and the new player area width; comparing the maximum video height to a difference between the new player area height and the height of the control panel to determine whether the video can be displayed at a maximum video size within the player area if the control panel is hidden, the maximum video size having the maximum video height; responsive to the maximum video height for the video being greater than the difference between the new player area height and the height of the control panel, instructing the video player to hide the control panel from the player area, and further instructing the video player to display the video at the maximum video size within the player area; and responsive to the maximum video height for the video being less than or equal to the difference between the new player area height and the height of the control panel, instructing the video player to continue displaying the control panel within the player area in conjunction with the video.
地址 Mountain View CA US