WO2022142735A1 - Video display method and apparatus - Google Patents

Video display method and apparatus Download PDF

Info

Publication number
WO2022142735A1
WO2022142735A1 PCT/CN2021/129038 CN2021129038W WO2022142735A1 WO 2022142735 A1 WO2022142735 A1 WO 2022142735A1 CN 2021129038 W CN2021129038 W CN 2021129038W WO 2022142735 A1 WO2022142735 A1 WO 2022142735A1
Authority
WO
WIPO (PCT)
Prior art keywords
area
video
height
display interface
scrollable list
Prior art date
Application number
PCT/CN2021/129038
Other languages
French (fr)
Chinese (zh)
Inventor
周静
陈锐
Original Assignee
北京达佳互联信息技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京达佳互联信息技术有限公司 filed Critical 北京达佳互联信息技术有限公司
Publication of WO2022142735A1 publication Critical patent/WO2022142735A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks

Definitions

  • the present application relates to the technical field of video processing, and in particular, to a video display method, device, and storage medium.
  • the video zoomable playback function is one of the mainstream ways to play short videos at present.
  • video zoom playback can ensure that users watch the comments of the video while watching the video, thereby increasing the user's interaction rate in the video playback software and increasing the playback time.
  • a video display method comprising: in response to a viewing instruction, displaying a scrollable list on a display interface; wherein the scrollable list includes a video play area and a comment area;
  • the control instruction controls the movement of the scrollable list, and determines the moving distance of the scrollable list; Adjustment.
  • the displaying the scrollable list on the display interface includes: in response to the height of the video playing area being smaller than the height of the display interface, displaying the video playing on the display interface area and the comment area; or in response to the height of the video playing area not being less than the height of the display interface, displaying the video playing area on the display interface.
  • the displaying the video playing area on the display interface includes: determining that the video playing area is in the scrollable list according to the height of the upper margin of the scrollable list position; wherein, the height of the upper margin of the scrollable list is the height of the video playback area; based on the position of the video playback area in the scrollable list, determine the video playback area in the display interface position on the display interface; display the video play area on the display interface based on the position of the video play area on the display interface.
  • the height of the video playing area is determined by: determining the actual aspect ratio of the video that needs to be played in the video playing area; determining the video based on the width of the display interface The width of the video is determined, and the height of the video on the display interface is determined according to the actual aspect ratio of the video; the height of the video play area is determined based on the height of the video in the display interface.
  • the adjusting the display proportions occupied by the video playback area and the comment area in the display interface according to the moving distance includes: determining according to the moving distance The update height and update distance of the video playback area; wherein, the update height is the height of the video playback area on the display interface; the update distance is the top of the scrollable list and the top of the display interface. distance; determine the update position of the video play area in the scrollable list according to the update distance and the update height; determine the update position of the video play area in the scrollable list The position of the video playing area on the display interface; the comment area is displayed on the remaining part of the display interface.
  • determining the update height of the video playing area according to the moving distance includes: determining a corrected height based on the difference between the height of the video playing area and the moving distance; The corrected height does not exceed the preset minimum height of the video playback area, and it is determined that the updated height of the video playback area is the corrected height; in response to the corrected height exceeding the preset minimum height of the video playback area, determine The update height of the video playing area is the preset minimum height.
  • the determining the update position of the video playback area in the scrollable list according to the update distance and the update height includes: according to the update height and the need The actual aspect ratio of the video played in the video playback area is determined, and the update width of the video playback area is determined; according to the update height and the update width, the area of the video playback area is determined; according to the video playback area The area and the update distance are determined to determine the update position of the video playback area in the scrollable list.
  • a video display device comprising: a display unit configured to display a scrollable list on a display interface in response to a viewing instruction; wherein the scrollable list includes a video playing area and a comment area; a scrolling unit, configured to control the scrollable list to move in response to a control instruction, and determine a moving distance of the scrollable list; an adjustment unit, configured to adjust the video to the video according to the moving distance The display proportions occupied by the play area and the comment area in the display interface are adjusted.
  • the display unit is configured to: in response to the height of the video play area being smaller than the height of the display interface, display the video play area and the comment area on the display interface; Or in response to the height of the video play area being not less than the height of the display interface, the video play area is displayed on the display interface.
  • the display unit is configured to: determine the position of the video playing area in the scrollable list according to the height of the upper margin of the scrollable list; wherein, the upper side of the scrollable list is The height from the distance is the height of the video playback area; based on the position of the video playback area in the scrollable list, determine the position of the video playback area on the display interface; The position on the display interface where the video playing area is displayed on the display interface.
  • the apparatus further includes: a first determination unit configured to determine the actual aspect ratio of the video to be played in the video playback area; a second determination unit configured to be based on The width of the display interface is used to determine the width of the video, and according to the actual aspect ratio of the video, the height of the video in the display interface is determined; the third determining unit is configured to be based on the video in the display interface. The height of the display interface is used to determine the height of the video playing area.
  • the adjustment unit includes: a first determination subunit, configured to determine, according to the moving distance, an update height and an update distance of the video playback area; wherein the update height is the the height of the video playback area on the display interface; the update distance is the distance between the top of the scrollable list and the top of the display interface; the second determination subunit is configured to be based on the update distance and the update height , determine the update position of the video play area in the scrollable list; the third determination subunit is configured to determine the video play area according to the update position of the video play area in the scrollable list At the position of the display interface; a display unit configured to display the comment area on the remaining portion of the display interface.
  • the first determination subunit is configured to: determine a corrected height based on the difference between the height of the video playing area and the moving distance; in response to the corrected height not exceeding the video playback the preset minimum height of the area, determine that the update height of the video playback area is the corrected height; in response to the corrected height exceeding the preset minimum height of the video playback area, determine that the update height of the video playback area is The preset minimum height.
  • the second determination subunit is configured to: determine the update width of the video playback area according to the ratio of the update height to the actual width and height of the video to be played in the video playback area ; According to the update height and the update width, determine the area of the video playback area; According to the area of the video playback area and the update distance, determine the update of the video playback area in the scrollable list Location.
  • an electronic device comprising: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to achieve A video display method.
  • a storage medium when instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute a video display method.
  • a computer program product comprising at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores data that can be processed by the at least one processor
  • the instructions are executed by the processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute the video display method provided by the embodiment of the present application.
  • the display proportions of the video play area and the comment area on the display page are adjusted according to the moving distance.
  • the video zoom function is implemented through a single list, which can effectively avoid the conflict of processing events caused by the nesting of double lists.
  • Fig. 1 is the display schematic diagram of the related art display video
  • Fig. 2 is the display schematic diagram of the related art sliding video
  • FIG. 3 is a schematic flowchart of a video display method in an embodiment of the present application.
  • FIG. 4 is a schematic diagram of a scrollable list in an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a first video in an embodiment of the present application when it is not zoomed;
  • FIG. 6 is a schematic diagram of the second type of video in an embodiment of the present application when it is not scaled
  • FIG. 7 is a schematic diagram of displaying a sliding video in an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a video display device according to an embodiment of the application.
  • FIG. 9 is a schematic structural diagram of a terminal device in an embodiment of the present application.
  • Embodiments of the present application provide an audio clustering method, device, and storage medium.
  • the basic principles of the solutions are briefly described here.
  • the video zoomable playback function is one of the mainstream ways to play short videos at present.
  • video zoom playback can ensure that users watch the comments of the video while watching the video, thereby increasing the user's interaction rate in the video playback software and increasing the playback time.
  • two vertical lists are usually nested. Therefore, when a user's gesture instruction is received, a conflict of processing events may occur.
  • FIG. 1 it is a display scheme for displaying video in the related art.
  • two vertical lists are nested on the display interface, the parent list occupying the entire display page is used to display the video being played; the child list occupying part of the display page is used to display the comment area.
  • a gesture command such as sliding
  • it may cause a gesture conflict that is, it is impossible to confirm which list the user wants to process.
  • the swipe up gesture means to swipe the comment area to display other comments; for the parent list, the swipe up gesture means to change other videos.
  • the present application provides a video display method, by displaying the video play area and the comment area on the created single list, and in response to the sliding instruction, the video play area and the comment area are displayed on the display page according to the moving distance.
  • the proportion of the display is adjusted. In this way, the video zoom function is implemented through a single list, which can effectively avoid the conflict of processing events caused by the nesting of double lists.
  • step S31 in response to the viewing instruction, a scrollable list is displayed on the display interface; wherein the scrollable list includes a video play area and a comment area.
  • the scrollable list is pre-created, and the size of the scrollable list is larger than the size of the display page.
  • Figure 4 it is a schematic diagram of a scrollable list. Among them, 401 represents a display interface, and 402 represents a scrollable list.
  • the top level of the scrollable list is displayed on top of the display interface.
  • the scrollable list includes a video playing area and a commenting area. Since there are multiple cells in the scrollable list, each comment of the user is corresponding to a cell, so that the comment area is determined based on the area formed by the cells in which the comment exists.
  • an area is divided, and the video is added as a subview to the scrollable list, and the area where the video is displayed is used as the video playback area.
  • the height of the video playback area can be determined according to the actual aspect ratio of the video, which can be implemented as Steps A1-A3.
  • step A1 the actual aspect ratio of the video to be played in the video playing area is determined.
  • the playback video is pre-configured, and the playback video can be obtained through big data.
  • the aspect ratio of the played video may be determined, or may be based on the aspect ratio of the video uploaded by the user. For example, if the aspect ratio of the mobile phone of some users is 16:9, the video shot is also 16:9.
  • step A2 the width of the video is determined based on the width of the display interface, and the height of the video on the display interface is determined according to the actual aspect ratio of the video.
  • the width of the playing video can be determined according to the width of the viewing user's mobile phone display page, and the height can be determined according to the actual aspect ratio of the playing video.
  • step A3 the height of the video playing area is determined based on the height of the video on the display interface.
  • the height of the video playback area is determined according to the actual aspect ratio of the played video and the display interface, so that the display of the played video on the display interface can be maximized.
  • the content displayed by each user when watching the video is not the same.
  • the displayed content is determined according to the height of the video playing area and the height of the display interface of the user terminal device, which may be specifically implemented as follows.
  • the video play area and the comment area are displayed on the display interface.
  • FIG. 5 it is a schematic diagram when the video is not zoomed. Among them, the upper part of the display page is the video playback area, and the lower part is the comment area.
  • the video play area is displayed on the display interface.
  • the video playback area just occupies the entire display page. At this time, the comment area is not displayed, and the user needs to swipe down the screen to display the comment area.
  • an upward arrow may be displayed on the display page to instruct the user to swipe up.
  • the video playback area when the video playback area is larger than the display page, the video playback area can be displayed on the display page, but the user needs to swipe up to view the complete video; Enables the video to be fully displayed on the display interface.
  • the video play area displayed on the display page is determined according to the position of the video play area on the scrollable list, and the specific implementation may be as follows.
  • the position of the video play area in the scrollable list is determined according to the height of the top margin of the scrollable list; wherein, the height of the top margin of the scrollable list is the height of the video play area.
  • the position of the video play area on the display interface is determined.
  • the video playing area is displayed on the display interface.
  • the video playback area can be located at the top of the scrollable list.
  • the comment area is below the video playback area. This way, the user can display the video directly when the video is opened.
  • the margin is the blank space outside the scrollable list cells.
  • the top margin is the empty space above the scrollable list. In this way, setting the margin above the list and adding the video play area as a subview to the scrollable list can keep the video play area displayed on the upper part of the display page in the initial state, which is more in line with the user's viewing logic.
  • step S32 in response to the control instruction, the scrollable list is controlled to move, and the moving distance of the scrollable list is determined.
  • the scrollable list will move with the user's sliding, and after the user stops, the distance between the top of the scrollable list and the top of the display page is calculated, and the distance is taken as the moving distance.
  • the scrollable list can also move a corresponding distance according to the sliding distance after the user stops sliding.
  • step S33 according to the moving distance, the display proportions of the video playback area and the comment area in the display interface are adjusted.
  • the playing video can be zoomed according to the moving distance, which can be specifically implemented as steps B1-B4.
  • step B1 the update height and update distance of the video playback area are determined according to the moving distance; wherein, the update height is the height of the video playback area on the display interface; the update distance is the The distance between the top of the scrollable list and the top of the display interface.
  • the video playback area has a preset minimum height on the display page, and the update height is determined according to the relationship between the scrolling distance and the preset minimum height, which can be specifically implemented as follows.
  • a corrected height is determined based on the difference between the height of the video playing area and the moving distance.
  • the sum of the moving distance and the updated height is the height of the original video playback area.
  • the height of the original video playback area is 10, after scrolling, the moving distance is 4, then the update height is 6.
  • the update height of the video playback area is determined based on the preset minimum height.
  • Step B2 Determine the update position of the video playback area in the scrollable list according to the update distance and the update height.
  • the update position of the video playing area includes the area of the video playing area and the area on the display interface.
  • the update position of the video playback area in the scrollable list can be determined. Specifically, it can be implemented as follows.
  • the updated width of the video playing area is determined according to the ratio of the updated height to the actual width and height of the video to be played in the video playing area.
  • the area of the video playing area is determined according to the update height and the update width.
  • the update position of the video play area in the scrollable list is determined.
  • step B3 the position of the video play area on the display interface is determined according to the updated position of the video play area in the scrollable list.
  • step B4 the comment area is displayed on the remaining part of the display interface.
  • the scrollable list will scroll up with the user's swiping.
  • the area of the video playback area and the position in the scrollable list will be reduced. Therefore, on the display page, the area of the video playback area will be reduced, and the comment area will fill the empty part at the bottom of the display page.
  • FIG 7 it is a schematic diagram of a sliding video, in which the left side is the display interface in the initial state. After the user slides up, the proportion of the video playback area becomes smaller, and the proportion of the comment area becomes larger.
  • the playback video is zoomed, so that the user can still watch the complete video while watching the comments, thereby improving the user's viewing experience.
  • the zoom function with a single list, the conflict of processing events caused by the nesting of double lists can be effectively avoided.
  • the present application also provides a video display device.
  • FIG. 8 a schematic diagram of a video display device provided by the present application is shown.
  • the apparatus includes: a display unit 801, configured to display a scrollable list on a display interface in response to a viewing instruction; wherein the scrollable list includes a video playing area and a comment area; and a scrolling unit 802, configured to respond to control instruction to control the movement of the scrollable list, and determine the moving distance of the scrollable list; the adjustment unit 803 is configured to, according to the moving distance, adjust the video playback area and the comment area on the display interface The proportion of the display is adjusted.
  • the display unit 801 is configured to: in response to the height of the video play area being smaller than the height of the display interface, display the video play area and the comment area on the display interface ; or in response to the height of the video play area being not less than the height of the display interface, displaying the video play area on the display interface.
  • the display unit 801 is configured to: determine the position of the video playing area in the scrollable list according to the height of the upper margin of the scrollable list; wherein, the scrollable list The height of the top margin is the height of the video play area; based on the position of the video play area in the scrollable list, determine the position of the video play area on the display interface; based on the video play area At the position on the display interface, the video playing area is displayed on the display interface.
  • the apparatus further includes: a first determination unit configured to determine the actual aspect ratio of the video to be played in the video playback area; a second determination unit configured to be based on The width of the display interface is used to determine the width of the video, and according to the actual aspect ratio of the video, the height of the video in the display interface is determined; the third determining unit is configured to be based on the video in the display interface. The height of the display interface is used to determine the height of the video playing area.
  • the adjustment unit 803 includes: a first determination subunit, configured to determine the update height and update distance of the video playback area according to the moving distance; wherein the update height is the the height of the video playback area on the display interface; the update distance is the distance between the top of the scrollable list and the top of the display interface; the second determination subunit is configured to be based on the update distance and the update distance height, to determine the update position of the video play area in the scrollable list; a third determination subunit, configured to determine the video play area according to the update position of the video play area in the scrollable list The location of the area on the display interface.
  • the display unit 801 is configured to display the comment area on the rest of the display interface.
  • the first determination subunit is configured to: determine a corrected height based on the difference between the height of the video playing area and the moving distance; in response to the corrected height not exceeding the video playback the preset minimum height of the area, determine that the update height of the video playback area is the corrected height; in response to the corrected height exceeding the preset minimum height of the video playback area, determine that the update height of the video playback area is The preset minimum height.
  • the second determination subunit is configured to: determine the update width of the video playback area according to the ratio of the update height to the actual width and height of the video to be played in the video playback area ; According to the update height and the update width, determine the area of the video playback area; According to the area of the video playback area and the update distance, determine the update of the video playback area in the scrollable list Location.
  • an embodiment of the present application further provides a terminal device 900.
  • the terminal device 900 is used to implement the methods described in the above-mentioned method embodiments.
  • the terminal The device 900 may include a memory 901 , a processor 902 , an input unit 903 and a display panel 904 .
  • the memory 901 is used to store computer programs executed by the processor 902 .
  • the memory 901 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program required for at least one function, and the like;
  • the processor 902 may be a central processing unit (central processing unit, CPU), or a digital processing unit or the like.
  • the input unit 903 can be used to obtain the user instruction input by the user.
  • the display panel 904 is used to display the information input by the user or the information provided to the user. In this embodiment of the present application, the display panel 904 is mainly used to display the display interface of each application program in the terminal device and the control entities displayed in each display interface .
  • the display panel 904 may be configured in the form of a liquid crystal display (LCD) or an OLED (organic light-emitting diode, organic light-emitting diode), or the like.
  • the specific connection medium between the memory 901 , the processor 902 , the input unit 903 , and the display panel 904 is not limited in the embodiments of the present application.
  • the memory 901, the processor 902, the input unit 903, and the display panel 904 are connected through a bus 905 in FIG. 9.
  • the bus 905 is represented by a thick line in FIG. 9.
  • the connection between other components is only It is a schematic illustration and is not intended to be limiting.
  • the bus 905 can be divided into an address bus, a data bus, a control bus, and the like. For ease of presentation, only one thick line is used in FIG. 9, but it does not mean that there is only one bus or one type of bus.
  • the memory 901 may be a volatile memory (volatile memory), such as random-access memory (RAM); the memory 901 may also be a non-volatile memory (non-volatile memory), such as read-only memory, flash memory A flash memory, hard disk drive (HDD) or solid-state drive (SSD), or memory 901 is a device that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by Any other medium accessed by the computer, but not limited to this.
  • the memory 901 may be a combination of the above-described memories.
  • the processor 902, configured to implement the embodiment shown in FIG. 3, includes: the processor 902, configured to invoke the computer program stored in the memory 901 to execute the embodiment shown in FIG. 3.
  • FIG. 1 is a diagrammatic representation of the processor 902, configured to invoke the computer program stored in the memory 901 to execute the embodiment shown in FIG. 3.
  • Embodiments of the present application further provide a computer-readable storage medium, which stores computer-executable instructions to be executed by the above-mentioned processor, and includes a program to be executed by the above-mentioned processor.
  • various aspects of a video display method provided by the present application can also be implemented in the form of a program product, which includes program code, and when the program product runs on a terminal device, the program code is used for
  • the terminal device is caused to execute the steps in a video display method according to various exemplary embodiments of the present application described above in this specification.
  • the terminal device may implement the embodiment shown in FIG. 3 .
  • the program product may employ any combination of one or more readable media.
  • the readable medium may be a readable signal medium or a readable storage medium.
  • the readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples (non-exhaustive list) of readable storage media include: electrical connections with one or more wires, portable disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
  • the program product for a video display of embodiments of the present application may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be executed on a computing device.
  • CD-ROM portable compact disc read only memory
  • the program product of the present application is not limited thereto, and in this document, a readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
  • a readable signal medium may include a propagated data signal in baseband or as part of a carrier wave, carrying readable program code therein. Such propagated data signals may take a variety of forms including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a readable signal medium can also be any readable medium, other than a readable storage medium, that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
  • Program code embodied on a readable medium may be transmitted using any suitable medium including, but not limited to, wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
  • Program code for performing the operations of the present application may be written in any combination of one or more programming languages, including entity-oriented programming languages—such as Java, C++, etc., as well as conventional procedural programming Language - such as the "C" language or similar programming language.
  • the program code may execute entirely on the user computing device, partly on the user device, as a stand-alone software package, partly on the user computing device and partly on a remote computing device, or entirely on the remote computing device or server execute on.
  • the remote computing device may be connected to the user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (eg, using an Internet service) provider to connect via the Internet).
  • LAN local area network
  • WAN wide area network
  • Internet service an external computing device provider to connect via the Internet
  • the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
  • computer-usable storage media including, but not limited to, disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable video display device to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions
  • the apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.
  • These computer program instructions can also be loaded onto a computer or other programmable video display device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A video display method and apparatus, and a storage medium, relating to the technical field of video processing. In the method, a video playback area and a comment area are displayed on a created single list and, in response to a sliding command, the display ratio occupied by the video playback area and the comment area on a display page is adjusted on the basis of the moving distance.

Description

视频显示方法及装置Video display method and device
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请基于申请号为202011619624.3、申请人为2020年12月31日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is based on the Chinese patent application with the application number of 202011619624.3 and the applicant filed on December 31, 2020, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is incorporated herein by reference.
技术领域technical field
本申请涉及视频处理技术领域,尤其涉及一种视频显示方法、装置及存储介质。The present application relates to the technical field of video processing, and in particular, to a video display method, device, and storage medium.
背景技术Background technique
随着网络技术的飞速发展,各种视频播放器也随之出现。而在视频播放过程中,用户可以在评论区进行评论以及进行其他互动操作。对于短视频播放而言,视频可缩放播放功能是目前播放短视频主流方式之一。With the rapid development of network technology, various video players also appear. During the video playback, users can make comments and perform other interactive operations in the comment area. For short video playback, the video zoomable playback function is one of the mainstream ways to play short videos at present.
随着手机屏幕尺寸的增大,视频缩放播放可以保证用户在观看视频的同时,观看视频的评论,从而在提高用户在视频播放软件里的互动率的同时,增加了播放时长。With the increase of the screen size of mobile phones, video zoom playback can ensure that users watch the comments of the video while watching the video, thereby increasing the user's interaction rate in the video playback software and increasing the playback time.
然而在相关技术中,实现视频可缩放播放功能通常是采用两个竖向列表嵌套,因此在接收到用户的手势指令时,会出现处理事件的冲突。However, in the related art, to implement the zoomable video playback function, two vertical lists are usually nested. Therefore, when a user's gesture instruction is received, there will be a conflict in handling events.
发明内容SUMMARY OF THE INVENTION
根据本申请实施例的第一方面,提供一种视频显示方法,包括:响应于观看指令,在显示界面上显示可滚动列表;其中,所述可滚动列表包含视频播放区域和评论区域;响应于控制指令,控制所述可滚动列表移动,并确定所述可滚动列表的移动距离;根据所述移动距离,对所述视频播放区域和所述评论区域在所述显示界面所占的显示比例进行调整。According to a first aspect of the embodiments of the present application, a video display method is provided, comprising: in response to a viewing instruction, displaying a scrollable list on a display interface; wherein the scrollable list includes a video play area and a comment area; The control instruction controls the movement of the scrollable list, and determines the moving distance of the scrollable list; Adjustment.
在一种可能的实现方式中,所述在显示界面上显示可滚动列表,包括:响应于所述视频播放区域的高度小于所述显示界面的高度,在所述显示界面上显示所述视频播放区域和所述评论区域;或响应于所述视频播放区域的高度不小于所述显示界面的高度,在所述显示界面上显示所述视频播放区域。In a possible implementation manner, the displaying the scrollable list on the display interface includes: in response to the height of the video playing area being smaller than the height of the display interface, displaying the video playing on the display interface area and the comment area; or in response to the height of the video playing area not being less than the height of the display interface, displaying the video playing area on the display interface.
在一种可能的实现方式中,所述在所述显示界面上显示所述视频播放区域,包括:根据所述可滚动列表上边距的高度,确定所述视频播放区域在所述可滚动列表中的位置;其中,所述可滚动列表上边距的高度为所述视频播放区域的高度;基于所述视频播放区域在所述可滚动列表中的位置,确定所述视频播放区域在所述显示界面上的位置;基于所述视频播放区域在所述显示界面上的位置,在所述显示界面上显示所述视频播放区域。In a possible implementation manner, the displaying the video playing area on the display interface includes: determining that the video playing area is in the scrollable list according to the height of the upper margin of the scrollable list position; wherein, the height of the upper margin of the scrollable list is the height of the video playback area; based on the position of the video playback area in the scrollable list, determine the video playback area in the display interface position on the display interface; display the video play area on the display interface based on the position of the video play area on the display interface.
在一种可能的实现方式中,通过下列方式确定所述视频播放区域的高度:确定需要在所述视频播放区域中播放的视频的实际宽高比例;基于所述显示界面的宽度来确定所述视频的宽度,并根据所述视频的实际宽高比例,确定所述视频在所述显示界面的高度;基于所述视频在所述显示界面的高度,确定所述视频播放区域的高度。In a possible implementation manner, the height of the video playing area is determined by: determining the actual aspect ratio of the video that needs to be played in the video playing area; determining the video based on the width of the display interface The width of the video is determined, and the height of the video on the display interface is determined according to the actual aspect ratio of the video; the height of the video play area is determined based on the height of the video in the display interface.
在一种可能的实现方式中,所述根据所述移动距离,对所述视频播放区域和所述评论区域在所述显示界面所占的显示比例进行调整,包括:根据所述移动距离,确定所述视频播放区域的更新高度和更新距离;其中,所述更新高度为所述视频播放区域在所述显示界面的高度;所述更新距离为所述可滚动列表顶部与所述显示界面顶部的距离;根据所述更新距离和所述更新高度,确定所述视频播放区域在所述可滚动列表中的更新位置;根据所述视频播放区域在所述可滚动列表中的更新位置,确定所述视频播放区域在所述显示界面的位置;在所述显示界面的剩余部分上显示所述评论区域。In a possible implementation manner, the adjusting the display proportions occupied by the video playback area and the comment area in the display interface according to the moving distance includes: determining according to the moving distance The update height and update distance of the video playback area; wherein, the update height is the height of the video playback area on the display interface; the update distance is the top of the scrollable list and the top of the display interface. distance; determine the update position of the video play area in the scrollable list according to the update distance and the update height; determine the update position of the video play area in the scrollable list The position of the video playing area on the display interface; the comment area is displayed on the remaining part of the display interface.
在一种可能的实现方式中,根据所述移动距离,确定所述视频播放区域的更新高度,包括:基于所述视频播放区域的高度与所述移动距离的差,确定修正高度;响应于所述修正高度未超过所述视频播放区域的预设最小高度,确定所述视频播放区域的更新高度为所述修正高度;响应于所述修正高度超过所述视频播放区域的预设最小高度,确定所述视频播放区域的更新高度为所述预设最小高度。In a possible implementation manner, determining the update height of the video playing area according to the moving distance includes: determining a corrected height based on the difference between the height of the video playing area and the moving distance; The corrected height does not exceed the preset minimum height of the video playback area, and it is determined that the updated height of the video playback area is the corrected height; in response to the corrected height exceeding the preset minimum height of the video playback area, determine The update height of the video playing area is the preset minimum height.
在一种可能的实现方式中,所述根据所述更新距离和所述更新高度,确定所述视频播放区域在所述可滚动列表中的更新位置,包括:根据所述更新高度与需要在所述视频播放区域中播放的视频的实际宽高比例,确定所述视频播放区域的更新宽度;根据所述更新高度和所述更新宽度,确定所述视频播放区域的面积;根据所述视频播放区域的面积和所述更新距离,确定所述视频播放区域在所述可滚动列表中的更新位置。In a possible implementation manner, the determining the update position of the video playback area in the scrollable list according to the update distance and the update height includes: according to the update height and the need The actual aspect ratio of the video played in the video playback area is determined, and the update width of the video playback area is determined; according to the update height and the update width, the area of the video playback area is determined; according to the video playback area The area and the update distance are determined to determine the update position of the video playback area in the scrollable list.
根据本申请实施例的第二方面,提供一种视频显示装置,包括:显示单元,被配置为响应于观看指令,在显示界面上显示可滚动列表;其中,所述可滚动列表包含视频播放区域和评论区域;滚动单元,被配置为响应于控制指令,控制所述可滚动列表移动,并确定所述可滚动列表的移动距离;调整单元,被配置为根据所述移动距离,对所述视频播放区域和所述评论区域在所述显示界面所占的显示比例进行调整。According to a second aspect of the embodiments of the present application, there is provided a video display device, comprising: a display unit configured to display a scrollable list on a display interface in response to a viewing instruction; wherein the scrollable list includes a video playing area and a comment area; a scrolling unit, configured to control the scrollable list to move in response to a control instruction, and determine a moving distance of the scrollable list; an adjustment unit, configured to adjust the video to the video according to the moving distance The display proportions occupied by the play area and the comment area in the display interface are adjusted.
在一种可能的实现方式中,显示单元被配置为:响应于所述视频播放区域的高度小于所述显示界面的高度,在所述显示界面上显示所述视频播放区域和所述评论区域;或响应于所述视频播放区域的高度不小于所述显示界面的高度,在所述显示界面上显示所述视频播放区域。In a possible implementation manner, the display unit is configured to: in response to the height of the video play area being smaller than the height of the display interface, display the video play area and the comment area on the display interface; Or in response to the height of the video play area being not less than the height of the display interface, the video play area is displayed on the display interface.
在一种可能的实现方式中,显示单元被配置为:根据所述可滚动列表上边距的高度,确定所述视频播放区域在所述可滚动列表中的位置;其中,所述可滚动列表上边距的高度为所述视频播放区域的高度;基于所述视频播放区域在所述可滚动列表中的位置,确定所述视频播放区域在所述显示界面上的位置; 基于所述视频播放区域在所述显示界面上的位置,在所述显示界面上显示所述视频播放区域。In a possible implementation manner, the display unit is configured to: determine the position of the video playing area in the scrollable list according to the height of the upper margin of the scrollable list; wherein, the upper side of the scrollable list is The height from the distance is the height of the video playback area; based on the position of the video playback area in the scrollable list, determine the position of the video playback area on the display interface; The position on the display interface where the video playing area is displayed on the display interface.
在一种可能的实现方式中,所述装置还包括:第一确定单元,被配置为确定需要在所述视频播放区域中播放的视频的实际宽高比例;第二确定单元,被配置为基于所述显示界面的宽度来确定所述视频的宽度,并根据所述视频的实际宽高比例,确定所述视频在所述显示界面的高度;第三确定单元,被配置为基于所述视频在所述显示界面的高度来确定所述视频播放区域的高度。In a possible implementation manner, the apparatus further includes: a first determination unit configured to determine the actual aspect ratio of the video to be played in the video playback area; a second determination unit configured to be based on The width of the display interface is used to determine the width of the video, and according to the actual aspect ratio of the video, the height of the video in the display interface is determined; the third determining unit is configured to be based on the video in the display interface. The height of the display interface is used to determine the height of the video playing area.
在一种可能的实现方式中,调整单元包括:第一确定子单元,被配置为根据所述移动距离,确定所述视频播放区域的更新高度和更新距离;其中,所述更新高度为所述视频播放区域在所述显示界面的高度;所述更新距离为所述可滚动列表顶部与所述显示界面顶部的距离;第二确定子单元,被配置为根据所述更新距离和所述更新高度,确定所述视频播放区域在所述可滚动列表中的更新位置;第三确定子单元,被配置为根据所述视频播放区域在所述可滚动列表中的更新位置,确定所述视频播放区域在所述显示界面的位置;显示单元,被配置为在所述显示界面的剩余部分上显示所述评论区域。In a possible implementation manner, the adjustment unit includes: a first determination subunit, configured to determine, according to the moving distance, an update height and an update distance of the video playback area; wherein the update height is the the height of the video playback area on the display interface; the update distance is the distance between the top of the scrollable list and the top of the display interface; the second determination subunit is configured to be based on the update distance and the update height , determine the update position of the video play area in the scrollable list; the third determination subunit is configured to determine the video play area according to the update position of the video play area in the scrollable list At the position of the display interface; a display unit configured to display the comment area on the remaining portion of the display interface.
在一种可能的实现方式中,第一确定子单元被配置为:基于所述视频播放区域的高度与所述移动距离的差,确定修正高度;响应于所述修正高度未超过所述视频播放区域的预设最小高度,确定所述视频播放区域的更新高度为所述修正高度;响应于所述修正高度超过所述视频播放区域的预设最小高度,确定所述视频播放区域的更新高度为所述预设最小高度。In a possible implementation manner, the first determination subunit is configured to: determine a corrected height based on the difference between the height of the video playing area and the moving distance; in response to the corrected height not exceeding the video playback the preset minimum height of the area, determine that the update height of the video playback area is the corrected height; in response to the corrected height exceeding the preset minimum height of the video playback area, determine that the update height of the video playback area is The preset minimum height.
在一种可能的实现方式中,第二确定子单元被配置为:根据所述更新高度与需要在所述视频播放区域中播放的视频的实际宽高比例,确定所述视频播放区域的更新宽度;根据所述更新高度和所述更新宽度,确定所述视频播放区域的面积;根据所述视频播放区域的面积和所述更新距离,确定所述视频播放区域在所述可滚动列表中的更新位置。In a possible implementation manner, the second determination subunit is configured to: determine the update width of the video playback area according to the ratio of the update height to the actual width and height of the video to be played in the video playback area ; According to the update height and the update width, determine the area of the video playback area; According to the area of the video playback area and the update distance, determine the update of the video playback area in the scrollable list Location.
根据本申请实施例的第三方面,提供一种电子设备,包括:处理器;用于存储所述处理器可执行指令的存储器;其中,所述处理器被配置为执行所述指令,以实现一种视频显示方法。According to a third aspect of the embodiments of the present application, there is provided an electronic device, comprising: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to achieve A video display method.
根据本申请实施例的第四方面,提供一种存储介质,当所述存储介质中的指令由电子设备的处理器执行时,使得电子设备能够执行一种视频显示方法。According to a fourth aspect of the embodiments of the present application, a storage medium is provided, when instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute a video display method.
根据本申请实施例的第五方面,提供一种计算机程序产品,包括至少一个处理器;以及与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行本申请实施例提供的视频显示方法。According to a fifth aspect of the embodiments of the present application, there is provided a computer program product, comprising at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores data that can be processed by the at least one processor The instructions are executed by the processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute the video display method provided by the embodiment of the present application.
通过在创建的单列表上显示视频播放区域和评论区域,并在响应于滑动指令后,根据移动距离对视频播放区域和评论区域在显示页面所占的显示比例进行调整。这样,通过单列表实现视频缩放功能,可以有效地避免由双列表嵌套引发的处理事件冲突。By displaying the video play area and the comment area on the created single list, and in response to the sliding instruction, the display proportions of the video play area and the comment area on the display page are adjusted according to the moving distance. In this way, the video zoom function is implemented through a single list, which can effectively avoid the conflict of processing events caused by the nesting of double lists.
本申请的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明 书中变得显而易见,或者通过实施本申请而了解。本申请的目的和其他优点可通过在所写的说明书、权利要求书、以及附图中所特别指出的结构来实现和获得。Other features and advantages of the present application will be set forth in the description which follows, and, in part, will be apparent from the description, or may be learned by practice of the present application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description, claims, and drawings.
附图说明Description of drawings
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described herein are used to provide further understanding of the present application and constitute a part of the present application. The schematic embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation of the present application. In the attached image:
图1为相关技术显示视频的显示示意图;Fig. 1 is the display schematic diagram of the related art display video;
图2为相关技术滑动视频的显示示意图;Fig. 2 is the display schematic diagram of the related art sliding video;
图3为本申请实施例中一种视频显示方法的流程示意图;3 is a schematic flowchart of a video display method in an embodiment of the present application;
图4为本申请实施例中可滚动列表的示意图;4 is a schematic diagram of a scrollable list in an embodiment of the present application;
图5为本申请实施例中第一种视频未缩放时的示意图;5 is a schematic diagram of a first video in an embodiment of the present application when it is not zoomed;
图6为本申请实施例中第二种视频未缩放时的示意图;6 is a schematic diagram of the second type of video in an embodiment of the present application when it is not scaled;
图7为本申请实施例中滑动视频的显示示意图;7 is a schematic diagram of displaying a sliding video in an embodiment of the present application;
图8为本申请实施例中一种视频显示装置的结构示意图;FIG. 8 is a schematic structural diagram of a video display device according to an embodiment of the application;
图9为本申请实施方式中终端设备结构示意图。FIG. 9 is a schematic structural diagram of a terminal device in an embodiment of the present application.
具体实施方式Detailed ways
本申请实施例中提供一种音频聚类方法、装置及存储介质。为了更好的理解本申请实施例提供的技术方案,这里对该方案的基本原理做一下简单说明。Embodiments of the present application provide an audio clustering method, device, and storage medium. In order to better understand the technical solutions provided by the embodiments of the present application, the basic principles of the solutions are briefly described here.
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。It should be noted that the terms "first", "second", etc. in the description and claims of the present application and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence. It is to be understood that data so used may be interchanged under appropriate circumstances so that the embodiments of the application described herein can be practiced in sequences other than those illustrated or described herein. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as recited in the appended claims.
下面结合附图介绍本申请实施例提供的技术方案。The technical solutions provided by the embodiments of the present application are described below with reference to the accompanying drawings.
随着网络技术的飞速发展,各种视频播放器也随之出现。而在视频播放过程中,用户可以在评论区进行评论以及进行其他互动操作。对于短视频播放而言,视频可缩放播放功能是目前播放短视频主流方式之一。随着手机屏幕尺寸的增大,视频缩放播放可以保证用户在观看视频的同时,观看视频的评论,从而在提高用户在视频播放软件里的互动率的同时,增加了播放时长。然而在相关技术中,实现视频可缩放播放功能通常是采用两个竖向列表嵌套,因此在接收到用户的手势指令时,会出现处理事件冲突。With the rapid development of network technology, various video players also appear. During the video playback, users can make comments and perform other interactive operations in the comment area. For short video playback, the video zoomable playback function is one of the mainstream ways to play short videos at present. With the increase of the screen size of mobile phones, video zoom playback can ensure that users watch the comments of the video while watching the video, thereby increasing the user's interaction rate in the video playback software and increasing the playback time. However, in the related art, to implement the zoomable video playback function, two vertical lists are usually nested. Therefore, when a user's gesture instruction is received, a conflict of processing events may occur.
如图1所示,其为相关技术显示视频的显示方案。其中,在显示界面上由两个竖向列表嵌套,占据整个显示页面的为父列表,用以显示播放的视频;占据部分显示页面的为子列表,用以显示评论区域。根据上述方案来实现视频可 缩放播放功能时,若在父列表和子列表重合的部分进行手势指令,例如滑动,可能会造成手势冲突,即无法确认用户想对哪一个列表进行处理。As shown in FIG. 1 , it is a display scheme for displaying video in the related art. Among them, two vertical lists are nested on the display interface, the parent list occupying the entire display page is used to display the video being played; the child list occupying part of the display page is used to display the comment area. When implementing the zoomable video playback function according to the above solution, if a gesture command, such as sliding, is performed on the overlapping part of the parent list and the child list, it may cause a gesture conflict, that is, it is impossible to confirm which list the user wants to process.
如图2所示,若用户在子列表的部分向上滑动,(由于父列表包含子列表,因此导致父列表和子列表重合)系统在处理时无法确认用户想对哪一个列表进行处理,对于子列表来说,向上滑动的手势表示滑动评论区域,显示其他评论;对于父列表来说,向上滑动的手势表示更换其他视频。As shown in Figure 2, if the user swipes up the part of the sublist, (because the parent list contains sublists, the parent list and sublist overlap) the system cannot confirm which list the user wants to process during processing. For the sublist For example, the swipe up gesture means to swipe the comment area to display other comments; for the parent list, the swipe up gesture means to change other videos.
有鉴于此,本申请提供了一种视频显示方法,通过在创建的单列表上显示视频播放区域和评论区域,并在响应于滑动指令后,根据移动距离对视频播放区域和评论区域在显示页面所占的显示比例进行调整。这样,通过单列表实现视频缩放功能,可以有效地避免由双列表嵌套引发的处理事件冲突。In view of this, the present application provides a video display method, by displaying the video play area and the comment area on the created single list, and in response to the sliding instruction, the video play area and the comment area are displayed on the display page according to the moving distance. The proportion of the display is adjusted. In this way, the video zoom function is implemented through a single list, which can effectively avoid the conflict of processing events caused by the nesting of double lists.
以下结合说明书附图对本申请的实施例进行说明,应当理解,此处所描述的实施例仅用于说明和解释本申请,并不用于限定本申请,并且在不冲突的情况下,本申请实施例中的实施例及实施例中的特征可以相互组合。The embodiments of the present application will be described below with reference to the accompanying drawings. It should be understood that the embodiments described herein are only used to illustrate and explain the present application, but not to limit the present application. The embodiments in and features in the embodiments can be combined with each other.
下面对本申请实施例提供的音频聚类转移方法进行进一步的解释说明。如图3所示,包括以下步骤。The audio clustering transfer method provided by the embodiment of the present application will be further explained below. As shown in Figure 3, the following steps are included.
在步骤S31中,响应于观看指令,在显示界面上显示可滚动列表;其中,所述可滚动列表包含视频播放区域和评论区域。In step S31, in response to the viewing instruction, a scrollable list is displayed on the display interface; wherein the scrollable list includes a video play area and a comment area.
在本申请实施例中,可滚动列表为预先创建的,可滚动列表的大小大于显示页面的大小。如图4所示,其为可滚动列表的示意图。其中,401表示为显示界面,402表示为可滚动列表。In this embodiment of the present application, the scrollable list is pre-created, and the size of the scrollable list is larger than the size of the display page. As shown in Figure 4, it is a schematic diagram of a scrollable list. Among them, 401 represents a display interface, and 402 represents a scrollable list.
在用户打开视频时,默认为可滚动列表的顶层在显示界面的顶部上显示。When the user opens a video, by default the top level of the scrollable list is displayed on top of the display interface.
在本申请实施例中,可滚动列表中包括视频播放区域和评论区域。由于可滚动列表存在多个单元格,因此,将用户的每一条评论对应到一个单元格中,从而基于存在评论的单元格所组成的区域来确定评论区域。In this embodiment of the present application, the scrollable list includes a video playing area and a commenting area. Since there are multiple cells in the scrollable list, each comment of the user is corresponding to a cell, so that the comment area is determined based on the area formed by the cells in which the comment exists.
而在可滚动列表中划分出一个区域,并将视频作为子视图添加到可滚动列表中,显示视频的区域作为视频播放区域。In the scrollable list, an area is divided, and the video is added as a subview to the scrollable list, and the area where the video is displayed is used as the video playback area.
在本申请实施例中,由于拍摄视频时的长宽比与用户观看视频的终端设备的长宽比并不相同,因此可根据视频的实际宽高比确定视频播放区域的高度,具体可实施为步骤A1-A3。In the embodiment of the present application, since the aspect ratio when shooting the video is not the same as the aspect ratio of the terminal device where the user watches the video, the height of the video playback area can be determined according to the actual aspect ratio of the video, which can be implemented as Steps A1-A3.
在步骤A1中,确定需要在所述视频播放区域中播放的视频的实际宽高比例。In step A1, the actual aspect ratio of the video to be played in the video playing area is determined.
在本申请实施例中,播放视频为预先配置的,可通过大数据获取播放视频。而播放视频的长宽比例可以是确定的,也可以是根据用户上传的视频的长宽比例。例如,有的用户的手机的长宽比为16:9,则拍摄的视频也为16:9。In this embodiment of the present application, the playback video is pre-configured, and the playback video can be obtained through big data. The aspect ratio of the played video may be determined, or may be based on the aspect ratio of the video uploaded by the user. For example, if the aspect ratio of the mobile phone of some users is 16:9, the video shot is also 16:9.
在步骤A2中,基于所述显示界面的宽度来确定所述视频的宽度,并根据所述视频的实际宽高比例,确定所述视频在所述显示界面的高度。In step A2, the width of the video is determined based on the width of the display interface, and the height of the video on the display interface is determined according to the actual aspect ratio of the video.
为了让播放视频在显示界面上显示最大化,可根据观看用户的手机显示页面的宽度确定播放视频的宽度,并根据播放视频的实际长宽比例,确定高度。In order to maximize the display of the playing video on the display interface, the width of the playing video can be determined according to the width of the viewing user's mobile phone display page, and the height can be determined according to the actual aspect ratio of the playing video.
在步骤A3中,基于所述视频在所述显示界面的高度,确定所述视频播放 区域的高度。In step A3, the height of the video playing area is determined based on the height of the video on the display interface.
这样,根据播放的视频的实际宽高比例和显示界面来确定视频播放区域的高度,可以使播放视频在显示界面上显示最大化。In this way, the height of the video playback area is determined according to the actual aspect ratio of the played video and the display interface, so that the display of the played video on the display interface can be maximized.
在本申请实施例中,由于用户的终端设备的屏幕大小并不相同,因此各用户在观看视频时所显示的内容也并不相同。在用户通过终端设备观看视频时,根据视频播放区域的高度与用户终端设备显示界面的高度来确定显示的内容,具体可如下实施。In the embodiment of the present application, since the screen sizes of the terminal devices of the users are not the same, the content displayed by each user when watching the video is not the same. When a user watches a video through a terminal device, the displayed content is determined according to the height of the video playing area and the height of the display interface of the user terminal device, which may be specifically implemented as follows.
响应于所述视频播放区域的高度小于所述显示界面的高度,在所述显示界面上显示所述视频播放区域和所述评论区域。In response to the height of the video play area being smaller than the height of the display interface, the video play area and the comment area are displayed on the display interface.
如图5所示,其为视频未缩放时的示意图。其中,在显示页面上部分为视频播放区域,下部分为评论区域。As shown in FIG. 5 , it is a schematic diagram when the video is not zoomed. Among them, the upper part of the display page is the video playback area, and the lower part is the comment area.
响应于所述视频播放区域的高度不小于所述显示界面的高度,在所述显示界面上显示所述视频播放区域。In response to the height of the video play area being not less than the height of the display interface, the video play area is displayed on the display interface.
如图6所示,视频播放区域正好占据了整个显示页面,此时,并不会显示评论区域,需要用户向下滑动屏幕才能够显示评论区域。As shown in Figure 6, the video playback area just occupies the entire display page. At this time, the comment area is not displayed, and the user needs to swipe down the screen to display the comment area.
而为了能够让用户有更好的体验,能够较为容易的向上滑动,可以在显示页面上显示一个向上的箭头用以指示用户向上滑动。In order to allow the user to have a better experience and to be able to swipe up more easily, an upward arrow may be displayed on the display page to instruct the user to swipe up.
需要说明的是,在视频播放区域大于显示页面的情况下,视频播放区域可以显示在显示页面上,但是需要用户向上滑动后才能够观看到完整的视频;或者对该视频播放区域进行适当缩放,使视频能够完整显示在显示界面上。It should be noted that when the video playback area is larger than the display page, the video playback area can be displayed on the display page, but the user needs to swipe up to view the complete video; Enables the video to be fully displayed on the display interface.
这样,根据用户显示页面的不同,显示不同的显示方案,可以使视频播放区域完整显示在显示页面上。In this way, different display schemes are displayed according to different display pages of users, so that the video playing area can be completely displayed on the display page.
在本申请实施例中,在显示页面上显示的视频播放区域是根据视频播放区域在可滚动列表上的位置确定的,具体可如下实施。In this embodiment of the present application, the video play area displayed on the display page is determined according to the position of the video play area on the scrollable list, and the specific implementation may be as follows.
根据所述可滚动列表上边距的高度,确定所述视频播放区域在所述可滚动列表中的位置;其中,所述可滚动列表上边距的高度为所述视频播放区域的高度。The position of the video play area in the scrollable list is determined according to the height of the top margin of the scrollable list; wherein, the height of the top margin of the scrollable list is the height of the video play area.
基于所述视频播放区域在所述可滚动列表中的位置,确定所述视频播放区域在所述显示界面上的位置。Based on the position of the video play area in the scrollable list, the position of the video play area on the display interface is determined.
基于所述视频播放区域在所述显示界面上的位置,在所述显示界面上显示所述视频播放区域。Based on the position of the video playing area on the display interface, the video playing area is displayed on the display interface.
由于用户打开视频时,默认为可滚动列表的顶层在显示界面的顶部上显示,为了使显示页面更符合用户的观看逻辑,在初始显示状态下,可将视频播放区域位于可滚动列表的顶部,评论区域位于视频播放区域下方。这样,用户在打开视频时便可以直接显示视频。Since the top level of the scrollable list is displayed at the top of the display interface by default when the user opens the video, in order to make the display page more in line with the user's viewing logic, in the initial display state, the video playback area can be located at the top of the scrollable list. The comment area is below the video playback area. This way, the user can display the video directly when the video is opened.
边距为可滚动列表单元格之外的空白区域。而上边距则是可滚动列表上方的空白区域。这样,在列表上方设置边距,并将视频播放区域作为子视图添加到可滚动列表中,可以使视频播放区域在初始状态下保持显示在显示页面的上部分,更符合用户的观看逻辑。The margin is the blank space outside the scrollable list cells. The top margin is the empty space above the scrollable list. In this way, setting the margin above the list and adding the video play area as a subview to the scrollable list can keep the video play area displayed on the upper part of the display page in the initial state, which is more in line with the user's viewing logic.
在步骤S32中,响应于控制指令,控制所述可滚动列表移动,并确定所述可滚动列表的移动距离。In step S32, in response to the control instruction, the scrollable list is controlled to move, and the moving distance of the scrollable list is determined.
在本申请实施例中,可滚动列表会随着用户的滑动进行移动,并在用户停止后,计算可滚动列表的顶部与显示页面顶部之间的距离,将该距离作为移动距离。In this embodiment of the present application, the scrollable list will move with the user's sliding, and after the user stops, the distance between the top of the scrollable list and the top of the display page is calculated, and the distance is taken as the moving distance.
当然,可滚动列表也可以在用户滑动停止后,根据滑动的距离移动相应的距离。Of course, the scrollable list can also move a corresponding distance according to the sliding distance after the user stops sliding.
在步骤S33中,根据所述移动距离,对所述视频播放区域和所述评论区域在所述显示界面所占的显示比例进行调整。In step S33, according to the moving distance, the display proportions of the video playback area and the comment area in the display interface are adjusted.
在确定了移动距离后,便可以根据移动距离对播放视频进行缩放了,具体可实施为步骤B1-B4。After the moving distance is determined, the playing video can be zoomed according to the moving distance, which can be specifically implemented as steps B1-B4.
在步骤B1中,根据所述移动距离,确定所述视频播放区域的更新高度和更新距离;其中,所述更新高度为所述视频播放区域在所述显示界面的高度;所述更新距离为所述可滚动列表顶部与所述显示界面顶部的距离。In step B1, the update height and update distance of the video playback area are determined according to the moving distance; wherein, the update height is the height of the video playback area on the display interface; the update distance is the The distance between the top of the scrollable list and the top of the display interface.
在本申请实施例中,视频播放区域在显示页面中存在一个预设最小高度,根据滚动距离与预设最小高度之间的关系,确定更新高度,具体可如下实施。In the embodiment of the present application, the video playback area has a preset minimum height on the display page, and the update height is determined according to the relationship between the scrolling distance and the preset minimum height, which can be specifically implemented as follows.
基于所述视频播放区域的高度与所述移动距离的差,确定修正高度。A corrected height is determined based on the difference between the height of the video playing area and the moving distance.
响应于所述修正高度未超过所述视频播放区域的预设最小高度,确定所述视频播放区域的更新高度为所述修正高度。In response to the corrected height not exceeding the preset minimum height of the video playing area, determining that the updated height of the video playing area is the corrected height.
在本申请实施例中,在移动距离未超过预设最小高度的情况下,移动距离与更新高度之和为原视频播放区域的高度。如,原视频播放区域的高度为10,经过滚动后,移动距离为4,那么更新高度则为6。In this embodiment of the present application, when the moving distance does not exceed the preset minimum height, the sum of the moving distance and the updated height is the height of the original video playback area. For example, the height of the original video playback area is 10, after scrolling, the moving distance is 4, then the update height is 6.
响应于所述修正高度超过所述视频播放区域的预设最小高度,确定所述视频播放区域的更新高度为所述预设最小高度。In response to the corrected height exceeding the preset minimum height of the video playing area, determining that the updated height of the video playing area is the preset minimum height.
在移动距离超过预设最小高度的情况下,为了保证视频播放区域能够较为清晰的播放完整视频,则基于预设最小高度来确定视频播放区域的更新高度。When the moving distance exceeds the preset minimum height, in order to ensure that the video playback area can play the complete video relatively clearly, the update height of the video playback area is determined based on the preset minimum height.
这样,根据预设最小高度确定视频播放区域是否继续缩小,从而保证了视频播放区域能够较为清晰的在显示界面上显示。In this way, whether the video playback area continues to shrink is determined according to the preset minimum height, thereby ensuring that the video playback area can be displayed on the display interface relatively clearly.
步骤B2:根据所述更新距离和所述更新高度,确定所述视频播放区域在所述可滚动列表中的更新位置。Step B2: Determine the update position of the video playback area in the scrollable list according to the update distance and the update height.
视频播放区域的更新位置包括视频播放区域的面积和在显示界面上的区域。The update position of the video playing area includes the area of the video playing area and the area on the display interface.
在本申请实施例中,确定了更新距离和更新高度后,可以确定视频播放区域在可滚动列表中的更新位置。具体可如下实施。In this embodiment of the present application, after the update distance and the update height are determined, the update position of the video playback area in the scrollable list can be determined. Specifically, it can be implemented as follows.
根据所述更新高度与需要在所述视频播放区域中播放的视频的实际宽高比例,确定所述视频播放区域的更新宽度。The updated width of the video playing area is determined according to the ratio of the updated height to the actual width and height of the video to be played in the video playing area.
根据所述更新高度和所述更新宽度,确定所述视频播放区域的面积。The area of the video playing area is determined according to the update height and the update width.
根据所述视频播放区域的面积和所述更新距离,确定所述视频播放区域在所述可滚动列表中的更新位置。According to the area of the video play area and the update distance, the update position of the video play area in the scrollable list is determined.
在步骤B3中,根据所述视频播放区域在所述可滚动列表中的更新位置,确定所述视频播放区域在所述显示界面的位置。In step B3, the position of the video play area on the display interface is determined according to the updated position of the video play area in the scrollable list.
在步骤B4中,在所述显示界面的剩余部分上显示所述评论区域。In step B4, the comment area is displayed on the remaining part of the display interface.
这样,根据用户滑动可滚动列表,调整视频播放区域和评论区域,可以有效的避免由双列表嵌套引发的处理事件冲突。In this way, adjusting the video play area and the comment area according to the user's sliding of the scrollable list can effectively avoid the conflict of processing events caused by the nesting of double lists.
在本申请实施例中,若用户向下滑动,由于可滑动列表的顶部已经在显示页面的顶部了,因此用户滑动向下后,视频播放区域和评论区域保持不变。In this embodiment of the present application, if the user slides down, since the top of the slidable list is already at the top of the displayed page, after the user slides down, the video playback area and the comment area remain unchanged.
若用户向上滑动,可滚动列表会随着用户的滑动向上滚动,此时为了视频能够完整的进行显示,会缩小视频播放区域的面积,以及在可滚动列表中的位置。因此,在显示页面上,视频播放区域的面积会变小,而评论区域则会填充显示页面下方空余出的部分。If the user swipes up, the scrollable list will scroll up with the user's swiping. At this time, in order to display the video completely, the area of the video playback area and the position in the scrollable list will be reduced. Therefore, on the display page, the area of the video playback area will be reduced, and the comment area will fill the empty part at the bottom of the display page.
如图7所示,其为滑动视频示意图,其中,左侧为初始状态下的显示界面,在用户向上滑动之后,视频播放区域所占比例变小,同时评论区域所占比例变大。As shown in Figure 7, it is a schematic diagram of a sliding video, in which the left side is the display interface in the initial state. After the user slides up, the proportion of the video playback area becomes smaller, and the proportion of the comment area becomes larger.
随着用户的滑动,对播放视频进行缩放,可以使用户在观看评论的同时仍然能够观看完整的视频,从而提高用户的观看体验。这样,通过单列表实现缩放功能,可以有效地避免由双列表嵌套引发的处理事件冲突。As the user swipes, the playback video is zoomed, so that the user can still watch the complete video while watching the comments, thereby improving the user's viewing experience. In this way, by implementing the zoom function with a single list, the conflict of processing events caused by the nesting of double lists can be effectively avoided.
本申请还提供一种视频显示装置。如图8所示,为本申请提供的一种视频显示装置示意图。该装置包括:显示单元801,被配置为响应于观看指令,在显示界面上显示可滚动列表;其中,所述可滚动列表包含视频播放区域和评论区域;滚动单元802,被配置为响应于控制指令,控制所述可滚动列表移动,并确定所述可滚动列表的移动距离;调整单元803,被配置为根据所述移动距离,对所述视频播放区域和所述评论区域在所述显示界面所占的显示比例进行调整。The present application also provides a video display device. As shown in FIG. 8 , a schematic diagram of a video display device provided by the present application is shown. The apparatus includes: a display unit 801, configured to display a scrollable list on a display interface in response to a viewing instruction; wherein the scrollable list includes a video playing area and a comment area; and a scrolling unit 802, configured to respond to control instruction to control the movement of the scrollable list, and determine the moving distance of the scrollable list; the adjustment unit 803 is configured to, according to the moving distance, adjust the video playback area and the comment area on the display interface The proportion of the display is adjusted.
在一种可能的实现方式中,显示单元801被配置为:响应于所述视频播放区域的高度小于所述显示界面的高度,在所述显示界面上显示所述视频播放区域和所述评论区域;或响应于所述视频播放区域的高度不小于所述显示界面的高度,在所述显示界面上显示所述视频播放区域。In a possible implementation manner, the display unit 801 is configured to: in response to the height of the video play area being smaller than the height of the display interface, display the video play area and the comment area on the display interface ; or in response to the height of the video play area being not less than the height of the display interface, displaying the video play area on the display interface.
在一种可能的实现方式中,显示单元801被配置为:根据所述可滚动列表上边距的高度,确定所述视频播放区域在所述可滚动列表中的位置;其中,所述可滚动列表上边距的高度为所述视频播放区域的高度;基于所述视频播放区域在所述可滚动列表中的位置,确定所述视频播放区域在所述显示界面上的位置;基于所述视频播放区域在所述显示界面上的位置,在所述显示界面上显示所述视频播放区域。In a possible implementation manner, the display unit 801 is configured to: determine the position of the video playing area in the scrollable list according to the height of the upper margin of the scrollable list; wherein, the scrollable list The height of the top margin is the height of the video play area; based on the position of the video play area in the scrollable list, determine the position of the video play area on the display interface; based on the video play area At the position on the display interface, the video playing area is displayed on the display interface.
在一种可能的实现方式中,所述装置还包括:第一确定单元,被配置为确定需要在所述视频播放区域中播放的视频的实际宽高比例;第二确定单元,被配置为基于所述显示界面的宽度来确定所述视频的宽度,并根据所述视频的实际宽高比例,确定所述视频在所述显示界面的高度;第三确定单元,被配置为基于所述视频在所述显示界面的高度来确定所述视频播放区域的高度。In a possible implementation manner, the apparatus further includes: a first determination unit configured to determine the actual aspect ratio of the video to be played in the video playback area; a second determination unit configured to be based on The width of the display interface is used to determine the width of the video, and according to the actual aspect ratio of the video, the height of the video in the display interface is determined; the third determining unit is configured to be based on the video in the display interface. The height of the display interface is used to determine the height of the video playing area.
在一种可能的实现方式中,调整单元803包括:第一确定子单元,被配置为根据所述移动距离,确定所述视频播放区域的更新高度和更新距离;其中,所述更新高度为所述视频播放区域在所述显示界面的高度;所述更新距离为所述可滚动列表顶部与所述显示界面顶部的距离;第二确定子单元,被配置为根据所述更新距离和所述更新高度,确定所述视频播放区域在所述可滚动列表中的更新位置;第三确定子单元,被配置为根据所述视频播放区域在所述可滚动列表中的更新位置,确定所述视频播放区域在所述显示界面的位置。显示单元801被配置为在所述显示界面的剩余部分上显示所述评论区域。In a possible implementation manner, the adjustment unit 803 includes: a first determination subunit, configured to determine the update height and update distance of the video playback area according to the moving distance; wherein the update height is the the height of the video playback area on the display interface; the update distance is the distance between the top of the scrollable list and the top of the display interface; the second determination subunit is configured to be based on the update distance and the update distance height, to determine the update position of the video play area in the scrollable list; a third determination subunit, configured to determine the video play area according to the update position of the video play area in the scrollable list The location of the area on the display interface. The display unit 801 is configured to display the comment area on the rest of the display interface.
在一种可能的实现方式中,第一确定子单元被配置为:基于所述视频播放区域的高度与所述移动距离的差,确定修正高度;响应于所述修正高度未超过所述视频播放区域的预设最小高度,确定所述视频播放区域的更新高度为所述修正高度;响应于所述修正高度超过所述视频播放区域的预设最小高度,确定所述视频播放区域的更新高度为所述预设最小高度。In a possible implementation manner, the first determination subunit is configured to: determine a corrected height based on the difference between the height of the video playing area and the moving distance; in response to the corrected height not exceeding the video playback the preset minimum height of the area, determine that the update height of the video playback area is the corrected height; in response to the corrected height exceeding the preset minimum height of the video playback area, determine that the update height of the video playback area is The preset minimum height.
在一种可能的实现方式中,第二确定子单元被配置为:根据所述更新高度与需要在所述视频播放区域中播放的视频的实际宽高比例,确定所述视频播放区域的更新宽度;根据所述更新高度和所述更新宽度,确定所述视频播放区域的面积;根据所述视频播放区域的面积和所述更新距离,确定所述视频播放区域在所述可滚动列表中的更新位置。In a possible implementation manner, the second determination subunit is configured to: determine the update width of the video playback area according to the ratio of the update height to the actual width and height of the video to be played in the video playback area ; According to the update height and the update width, determine the area of the video playback area; According to the area of the video playback area and the update distance, determine the update of the video playback area in the scrollable list Location.
基于同一技术构思,本申请实施例还提供了一种终端设备900,参照图9所示,终端设备900用于实施上述各个方法实施例记载的方法,例如实施图3所示的实施例,终端设备900可以包括存储器901、处理器902、输入单元903和显示面板904。Based on the same technical concept, an embodiment of the present application further provides a terminal device 900. Referring to FIG. 9, the terminal device 900 is used to implement the methods described in the above-mentioned method embodiments. For example, to implement the embodiment shown in FIG. 3, the terminal The device 900 may include a memory 901 , a processor 902 , an input unit 903 and a display panel 904 .
存储器901,用于存储处理器902执行的计算机程序。存储器901可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序等;存储数据区可存储根据终端设备900的使用所创建的数据等。处理器902,可以是一个中央处理单元(central processing unit,CPU),或者为数字处理单元等。输入单元903,可以用于获取用户输入的用户指令。显示面板904,用于显示由用户输入的信息或提供给用户的信息,本申请实施例中,显示面板904主要用于显示终端设备中各应用程序的显示界面以及各显示界面中显示的控件实体。在本公开的实施例中,显示面板904可以采用液晶显示器(liquid crystal display,LCD)或OLED(organic light-emitting diode,有机发光二极管)等形式来配置显示面板904。The memory 901 is used to store computer programs executed by the processor 902 . The memory 901 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program required for at least one function, and the like; The processor 902 may be a central processing unit (central processing unit, CPU), or a digital processing unit or the like. The input unit 903 can be used to obtain the user instruction input by the user. The display panel 904 is used to display the information input by the user or the information provided to the user. In this embodiment of the present application, the display panel 904 is mainly used to display the display interface of each application program in the terminal device and the control entities displayed in each display interface . In an embodiment of the present disclosure, the display panel 904 may be configured in the form of a liquid crystal display (LCD) or an OLED (organic light-emitting diode, organic light-emitting diode), or the like.
本申请实施例中不限定上述存储器901、处理器902、输入单元903和显示面板904之间的具体连接介质。本申请实施例在图9中以存储器901、处理器902、输入单元903、显示面板904之间通过总线905连接,总线905在图9中以粗线表示,其它部件之间的连接方式,仅是进行示意性说明,并不引以为限。总线905可以分为地址总线、数据总线、控制总线等。为便于表示,图9中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The specific connection medium between the memory 901 , the processor 902 , the input unit 903 , and the display panel 904 is not limited in the embodiments of the present application. In this embodiment of the present application, the memory 901, the processor 902, the input unit 903, and the display panel 904 are connected through a bus 905 in FIG. 9. The bus 905 is represented by a thick line in FIG. 9. The connection between other components is only It is a schematic illustration and is not intended to be limiting. The bus 905 can be divided into an address bus, a data bus, a control bus, and the like. For ease of presentation, only one thick line is used in FIG. 9, but it does not mean that there is only one bus or one type of bus.
存储器901可以是易失性存储器(volatile memory),例如随机存取存储器 (random-access memory,RAM);存储器901也可以是非易失性存储器(non-volatile memory),例如只读存储器,快闪存储器(flash memory),硬盘(hard disk drive,HDD)或固态硬盘(solid-state drive,SSD)、或者存储器901是能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器901可以是上述存储器的组合。The memory 901 may be a volatile memory (volatile memory), such as random-access memory (RAM); the memory 901 may also be a non-volatile memory (non-volatile memory), such as read-only memory, flash memory A flash memory, hard disk drive (HDD) or solid-state drive (SSD), or memory 901 is a device that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by Any other medium accessed by the computer, but not limited to this. The memory 901 may be a combination of the above-described memories.
处理器902,用于实现如图3所示的实施例,包括:处理器902,用于调用存储器901中存储的计算机程序执行如实施图3所示的实施例。The processor 902, configured to implement the embodiment shown in FIG. 3, includes: the processor 902, configured to invoke the computer program stored in the memory 901 to execute the embodiment shown in FIG. 3. FIG.
本申请实施例还提供了一种计算机可读存储介质,存储为执行上述处理器所需执行的计算机可执行指令,其包含用于执行上述处理器所需执行的程序。Embodiments of the present application further provide a computer-readable storage medium, which stores computer-executable instructions to be executed by the above-mentioned processor, and includes a program to be executed by the above-mentioned processor.
在一些可能的实施方式中,本申请提供的一种视频显示方法的各个方面还可以实现为一种程序产品的形式,其包括程序代码,当程序产品在终端设备上运行时,程序代码用于使终端设备执行本说明书上述描述的根据本申请各种示例性实施方式的一种视频显示方法中的步骤。例如,终端设备可以执行如实施图3所示的实施例。In some possible implementations, various aspects of a video display method provided by the present application can also be implemented in the form of a program product, which includes program code, and when the program product runs on a terminal device, the program code is used for The terminal device is caused to execute the steps in a video display method according to various exemplary embodiments of the present application described above in this specification. For example, the terminal device may implement the embodiment shown in FIG. 3 .
程序产品可以采用一个或多个可读介质的任意组合。可读介质可以是可读信号介质或者可读存储介质。可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples (non-exhaustive list) of readable storage media include: electrical connections with one or more wires, portable disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
本申请的实施方式的用于一种视频显示程序产品可以采用便携式紧凑盘只读存储器(CD-ROM)并包括程序代码,并可以在计算设备上运行。然而,本申请的程序产品不限于此,在本文件中,可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。The program product for a video display of embodiments of the present application may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be executed on a computing device. However, the program product of the present application is not limited thereto, and in this document, a readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了可读程序代码。这种传播的数据信号可以采用多种形式,包括——但不限于——电磁信号、光信号或上述的任意合适的组合。可读信号介质还可以是可读存储介质以外的任何可读介质,该可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。A readable signal medium may include a propagated data signal in baseband or as part of a carrier wave, carrying readable program code therein. Such propagated data signals may take a variety of forms including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing. A readable signal medium can also be any readable medium, other than a readable storage medium, that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
可读介质上包含的程序代码可以用任何适当的介质传输,包括——但不限于——无线、有线、光缆、RF等,或者上述的任意合适的组合。Program code embodied on a readable medium may be transmitted using any suitable medium including, but not limited to, wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
可以以一种或多种程序设计语言的任意组合来编写用于执行本申请操作的程序代码,程序设计语言包括面向实体的程序设计语言—诸如Java、C++等,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算设备上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户计算设备上部分在远程计算设备上执行、 或者完全在远程计算设备或服务器上执行。在涉及远程计算设备的情形中,远程计算设备可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算设备,或者,可以连接到外部计算设备(例如利用因特网服务提供商来通过因特网连接)。Program code for performing the operations of the present application may be written in any combination of one or more programming languages, including entity-oriented programming languages—such as Java, C++, etc., as well as conventional procedural programming Language - such as the "C" language or similar programming language. The program code may execute entirely on the user computing device, partly on the user device, as a stand-alone software package, partly on the user computing device and partly on a remote computing device, or entirely on the remote computing device or server execute on. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (eg, using an Internet service) provider to connect via the Internet).
应当注意,尽管在上文详细描述中提及了装置的若干单元或子单元,但是这种划分仅仅是示例性的并非强制性的。实际上,根据本申请的实施方式,上文描述的两个或更多单元的特征和功能可以在一个单元中具体化。反之,上文描述的一个单元的特征和功能可以进一步划分为由多个单元来具体化。It should be noted that although several units or sub-units of the apparatus are mentioned in the above detailed description, this division is merely exemplary and not mandatory. Indeed, according to embodiments of the present application, the features and functions of two or more units described above may be embodied in one unit. Conversely, the features and functions of one unit described above may be further subdivided to be embodied by multiple units.
此外,尽管在附图中以特定顺序描述了本申请方法的操作,但是,这并非要求或者暗示必须按照该特定顺序来执行这些操作,或是必须执行全部所示的操作才能实现期望的结果。附加地或备选地,可以省略某些步骤,将多个步骤合并为一个步骤执行,和/或将一个步骤分解为多个步骤执行。Furthermore, although the operations of the methods of the present application are depicted in the figures in a particular order, this does not require or imply that the operations must be performed in the particular order, or that all illustrated operations must be performed to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps may be combined to be performed as one step, and/or one step may be decomposed into multiple steps to be performed.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by those skilled in the art, the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程视频显示设备的处理器以产生一个机器,使得通过计算机或其他可编程视频显示设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor or processor of other programmable video display device to produce a machine such that the instructions executed by the processor of the computer or other programmable video display device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程视频显示设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable video display device to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.
这些计算机程序指令也可装载到计算机或其他可编程视频显示设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable video display device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.
尽管已描述了本申请的实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要求意欲解释为包括实施例以及落入本申请范围的所有变更和修改。Although embodiments of the present application have been described, additional changes and modifications to these embodiments may occur to those skilled in the art once the basic inventive concepts are known. Therefore, the appended claims are intended to be construed to include the embodiments and all changes and modifications that fall within the scope of the present application.
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims (17)

  1. 一种视频显示方法,其中,所述方法包括:A video display method, wherein the method comprises:
    响应于观看指令,在显示界面上显示可滚动列表;其中,所述可滚动列表包含视频播放区域和评论区域;In response to the viewing instruction, a scrollable list is displayed on the display interface; wherein, the scrollable list includes a video playback area and a comment area;
    响应于控制指令,控制所述可滚动列表移动,并确定所述可滚动列表的移动距离;In response to the control instruction, controlling the scrollable list to move, and determining the moving distance of the scrollable list;
    根据所述移动距离,对所述视频播放区域和所述评论区域在所述显示界面所占的显示比例进行调整。According to the moving distance, the display proportions of the video playback area and the comment area in the display interface are adjusted.
  2. 根据权利要求1所述的方法,其中,所述在显示界面上显示可滚动列表,包括:The method of claim 1, wherein the displaying a scrollable list on the display interface comprises:
    响应于所述视频播放区域的高度小于所述显示界面的高度,在所述显示界面上显示所述视频播放区域和所述评论区域;或In response to the height of the video play area being less than the height of the display interface, displaying the video play area and the comment area on the display interface; or
    响应于所述视频播放区域的高度不小于所述显示界面的高度,在所述显示界面上显示所述视频播放区域。In response to the height of the video play area being not less than the height of the display interface, the video play area is displayed on the display interface.
  3. 根据权利要求2所述的方法,其中,所述在所述显示界面上显示所述视频播放区域,包括:The method according to claim 2, wherein the displaying the video playing area on the display interface comprises:
    根据所述可滚动列表上边距的高度,确定所述视频播放区域在所述可滚动列表中的位置;其中,所述可滚动列表上边距的高度为所述视频播放区域的高度;Determine the position of the video playback area in the scrollable list according to the height of the upper margin of the scrollable list; wherein, the height of the upper margin of the scrollable list is the height of the video playback area;
    基于所述视频播放区域在所述可滚动列表中的位置,确定所述视频播放区域在所述显示界面上的位置;determining the position of the video play area on the display interface based on the position of the video play area in the scrollable list;
    基于所述视频播放区域在所述显示界面上的位置,在所述显示界面上显示所述视频播放区域。Based on the position of the video playing area on the display interface, the video playing area is displayed on the display interface.
  4. 根据权利要求2或3所述的方法,其中,通过下列方式确定所述视频播放区域的高度:The method according to claim 2 or 3, wherein the height of the video playing area is determined by:
    确定需要在所述视频播放区域中播放的视频的实际宽高比例;determining the actual aspect ratio of the video to be played in the video playback area;
    基于所述显示界面的宽度,确定所述视频的宽度,并根据所述视频的实际宽高比例,确定所述视频在所述显示界面的高度;Determine the width of the video based on the width of the display interface, and determine the height of the video on the display interface according to the actual aspect ratio of the video;
    基于所述视频在所述显示界面的高度,确定所述视频播放区域的高度。Based on the height of the video on the display interface, the height of the video playing area is determined.
  5. 根据权利要求1所述的方法,其中,所述根据所述移动距离,对所述视频播放区域和所述评论区域在所述显示界面所占的显示比例进行调整,包括:The method according to claim 1, wherein, according to the moving distance, adjusting the display proportions occupied by the video playback area and the comment area in the display interface, comprising:
    根据所述移动距离,确定所述视频播放区域的更新高度和更新距离;其中,所述更新高度为所述视频播放区域在所述显示界面的高度;所述更新距离为所述可滚动列表顶部与所述显示界面顶部的距离;According to the moving distance, determine the update height and update distance of the video playback area; wherein, the update height is the height of the video playback area on the display interface; the update distance is the top of the scrollable list the distance from the top of the display interface;
    根据所述更新距离和所述更新高度,确定所述视频播放区域在所述可滚动列表中的更新位置;According to the update distance and the update height, determine the update position of the video playback area in the scrollable list;
    根据所述视频播放区域在所述可滚动列表中的更新位置,确定所述视频播 放区域在所述显示界面的位置;Determine the position of the video playback region on the display interface according to the updated position of the video playback region in the scrollable list;
    在所述显示界面的剩余部分上显示所述评论区域。The comment area is displayed on the remainder of the display interface.
  6. 根据权利要求5所述的方法,其中,根据所述移动距离,确定所述视频播放区域的更新高度,包括:The method according to claim 5, wherein determining the update height of the video playing area according to the moving distance comprises:
    基于所述视频播放区域的高度与所述移动距离的差,确定修正高度;Determine the corrected height based on the difference between the height of the video playing area and the moving distance;
    响应于所述修正高度未超过所述视频播放区域的预设最小高度,基于所述视频播放区域的更新高度,确定所述修正高度;In response to the corrected height not exceeding a preset minimum height of the video playback area, determining the corrected height based on the updated height of the video playback area;
    响应于所述修正高度超过所述视频播放区域的预设最小高度,基于所述视频播放区域的更新高度,确定所述预设最小高度。In response to the modified height exceeding a preset minimum height of the video play area, the preset minimum height is determined based on the updated height of the video play area.
  7. 根据权利要求5所述的方法,其中,所述根据所述更新距离和所述更新高度,确定所述视频播放区域在所述可滚动列表中的更新位置,包括:The method according to claim 5, wherein the determining the update position of the video playback area in the scrollable list according to the update distance and the update height comprises:
    根据所述更新高度与需要在所述视频播放区域中播放的视频的实际宽高比例,确定所述视频播放区域的更新宽度;Determine the update width of the video playback area according to the update height and the actual aspect ratio of the video to be played in the video playback area;
    根据所述更新高度和所述更新宽度,确定所述视频播放区域的面积;Determine the area of the video playback area according to the update height and the update width;
    根据所述视频播放区域的面积和所述更新距离,确定所述视频播放区域在所述可滚动列表中的更新位置。According to the area of the video play area and the update distance, the update position of the video play area in the scrollable list is determined.
  8. 一种视频显示装置,其中,所述装置包括:A video display device, wherein the device comprises:
    显示单元,被配置为响应于观看指令,在显示界面上显示可滚动列表;其中,所述可滚动列表包含视频播放区域和评论区域;a display unit, configured to display a scrollable list on the display interface in response to the viewing instruction; wherein the scrollable list includes a video play area and a comment area;
    滚动单元,被配置为响应于控制指令,控制所述可滚动列表移动,并确定所述可滚动列表的移动距离;a scrolling unit, configured to control the scrollable list to move in response to a control instruction, and determine a moving distance of the scrollable list;
    调整单元,被配置为根据所述移动距离,对所述视频播放区域和所述评论区域在所述显示界面所占的显示比例进行调整。The adjustment unit is configured to adjust the display proportions occupied by the video playing area and the comment area in the display interface according to the moving distance.
  9. 根据权利要求8所述的装置,其中,所述显示单元被配置为:The apparatus of claim 8, wherein the display unit is configured to:
    响应于所述视频播放区域的高度小于所述显示界面的高度,在所述显示界面上显示所述视频播放区域和所述评论区域;或In response to the height of the video play area being less than the height of the display interface, displaying the video play area and the comment area on the display interface; or
    响应于所述视频播放区域的高度不小于所述显示界面的高度,在所述显示界面上显示所述视频播放区域。In response to the height of the video play area being not less than the height of the display interface, the video play area is displayed on the display interface.
  10. 根据权利要求9所述的装置,其中,所述显示单元被配置为:The apparatus of claim 9, wherein the display unit is configured to:
    根据所述可滚动列表上边距的高度,确定所述视频播放区域在所述可滚动列表中的位置;其中,所述可滚动列表上边距的高度为所述视频播放区域的高度;Determine the position of the video playback area in the scrollable list according to the height of the upper margin of the scrollable list; wherein, the height of the upper margin of the scrollable list is the height of the video playback area;
    基于所述视频播放区域在所述可滚动列表中的位置,确定所述视频播放区域在所述显示界面上的位置;determining the position of the video play area on the display interface based on the position of the video play area in the scrollable list;
    基于所述视频播放区域在所述显示界面上的位置,在所述显示界面上显示所述视频播放区域。Based on the position of the video playing area on the display interface, the video playing area is displayed on the display interface.
  11. 根据权利要求9或10所述的装置,其中,所述装置还包括:The apparatus of claim 9 or 10, wherein the apparatus further comprises:
    第一确定单元,被配置为确定需要在所述视频播放区域中播放的视频的实际宽高比例;a first determining unit, configured to determine the actual aspect ratio of the video to be played in the video playing area;
    第二确定单元,被配置为基于所述显示界面的宽度来确定所述视频的宽度,并根据所述视频的实际宽高比例,确定所述视频在所述显示界面的高度;a second determining unit, configured to determine the width of the video based on the width of the display interface, and determine the height of the video on the display interface according to the actual aspect ratio of the video;
    第三确定单元,被配置为基于所述视频在所述显示界面的高度来确定所述视频播放区域的高度。The third determining unit is configured to determine the height of the video playing area based on the height of the video on the display interface.
  12. 根据权利要求8所述的装置,其中,所述调整单元包括:The apparatus of claim 8, wherein the adjustment unit comprises:
    第一确定子单元,被配置为根据所述移动距离,确定所述视频播放区域的更新高度和更新距离;其中,所述更新高度为所述视频播放区域在所述显示界面的高度;所述更新距离为所述可滚动列表顶部与所述显示界面顶部的距离;a first determination subunit, configured to determine an update height and an update distance of the video playback area according to the moving distance; wherein, the update height is the height of the video playback area on the display interface; the The update distance is the distance between the top of the scrollable list and the top of the display interface;
    第二确定子单元,被配置为根据所述更新距离和所述更新高度,确定所述视频播放区域在所述可滚动列表中的更新位置;a second determination subunit, configured to determine the update position of the video playback area in the scrollable list according to the update distance and the update height;
    第三确定子单元,被配置为根据所述视频播放区域在所述可滚动列表中的更新位置,确定所述视频播放区域在所述显示界面的位置;a third determining subunit, configured to determine the position of the video playing area on the display interface according to the updated position of the video playing area in the scrollable list;
    其中,所述显示单元被配置为在所述显示界面的剩余部分上显示所述评论区域。Wherein, the display unit is configured to display the comment area on the remaining part of the display interface.
  13. 根据权利要求12所述的装置,其中,所述第一确定子单元被配置为:The apparatus according to claim 12, wherein the first determination subunit is configured to:
    基于所述视频播放区域的高度与所述移动距离的差,确定修正高度;Determine the corrected height based on the difference between the height of the video playback area and the moving distance;
    响应于所述修正高度未超过所述视频播放区域的预设最小高度,确定所述视频播放区域的更新高度为所述修正高度;In response to the corrected height not exceeding the preset minimum height of the video playing area, determining that the updated height of the video playing area is the corrected height;
    响应于所述修正高度超过所述视频播放区域的预设最小高度,确定所述视频播放区域的更新高度为所述预设最小高度。In response to the corrected height exceeding the preset minimum height of the video playing area, determining that the updated height of the video playing area is the preset minimum height.
  14. 根据权利要求12所述的装置,其中,所述第二确定子单元被配置为:The apparatus according to claim 12, wherein the second determination subunit is configured to:
    根据所述更新高度与需要在所述视频播放区域中播放的视频的实际宽高比例,确定所述视频播放区域的更新宽度;Determine the update width of the video playback area according to the update height and the actual aspect ratio of the video to be played in the video playback area;
    根据所述更新高度和所述更新宽度,确定所述视频播放区域的面积;Determine the area of the video playback area according to the update height and the update width;
    根据所述视频播放区域的面积和所述更新距离,确定所述视频播放区域在所述可滚动列表中的更新位置。According to the area of the video play area and the update distance, the update position of the video play area in the scrollable list is determined.
  15. 一种电子设备,包括:An electronic device comprising:
    处理器;processor;
    用于存储所述处理器可执行指令的存储器;a memory for storing the processor-executable instructions;
    其中,所述处理器被配置为执行所述指令,以实现以下处理:wherein the processor is configured to execute the instructions to implement the following processes:
    响应于观看指令,在显示界面上显示可滚动列表;其中,所述可滚动列表包含视频播放区域和评论区域;In response to the viewing instruction, a scrollable list is displayed on the display interface; wherein, the scrollable list includes a video playback area and a comment area;
    响应于控制指令,控制所述可滚动列表移动,并确定所述可滚动列表的移动距离;In response to the control instruction, controlling the scrollable list to move, and determining the moving distance of the scrollable list;
    根据所述移动距离,对所述视频播放区域和所述评论区域在所述显示界面所占的显示比例进行调整。According to the moving distance, the display proportions of the video playback area and the comment area in the display interface are adjusted.
  16. 一种存储介质,其中,当所述存储介质中的指令由电子设备的处理器执行时,使得电子设备能够执行以下处理:A storage medium, wherein, when the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the following processing:
    响应于观看指令,在显示界面上显示可滚动列表;其中,所述可滚动列表 包含视频播放区域和评论区域;In response to the viewing instruction, a scrollable list is displayed on the display interface; wherein, the scrollable list includes a video playback area and a comment area;
    响应于控制指令,控制所述可滚动列表移动,并确定所述可滚动列表的移动距离;In response to the control instruction, controlling the scrollable list to move, and determining the moving distance of the scrollable list;
    根据所述移动距离,对所述视频播放区域和所述评论区域在所述显示界面所占的显示比例进行调整。According to the moving distance, the display proportions of the video playback area and the comment area in the display interface are adjusted.
  17. 一种计算机程序产品,包括计算机程序,其特征在于,所述计算机程序/指令被处理器执行时实现以下处理:A computer program product, comprising a computer program, characterized in that, when the computer program/instruction is executed by a processor, the following processes are implemented:
    响应于观看指令,在显示界面上显示可滚动列表;其中,所述可滚动列表包含视频播放区域和评论区域;In response to the viewing instruction, a scrollable list is displayed on the display interface; wherein, the scrollable list includes a video playback area and a comment area;
    响应于控制指令,控制所述可滚动列表移动,并确定所述可滚动列表的移动距离;In response to the control instruction, controlling the scrollable list to move, and determining the moving distance of the scrollable list;
    根据所述移动距离,对所述视频播放区域和所述评论区域在所述显示界面所占的显示比例进行调整。According to the moving distance, the display proportions of the video playback area and the comment area in the display interface are adjusted.
PCT/CN2021/129038 2020-12-31 2021-11-05 Video display method and apparatus WO2022142735A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011619624.3 2020-12-31
CN202011619624.3A CN112866815B (en) 2020-12-31 2020-12-31 Video display method, device and storage medium

Publications (1)

Publication Number Publication Date
WO2022142735A1 true WO2022142735A1 (en) 2022-07-07

Family

ID=75999019

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/129038 WO2022142735A1 (en) 2020-12-31 2021-11-05 Video display method and apparatus

Country Status (2)

Country Link
CN (1) CN112866815B (en)
WO (1) WO2022142735A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112866815B (en) * 2020-12-31 2022-12-27 北京达佳互联信息技术有限公司 Video display method, device and storage medium
CN113891164A (en) * 2021-09-28 2022-01-04 北京字跳网络技术有限公司 Video list display method and device, electronic equipment and storage medium
CN115314747B (en) * 2022-08-02 2024-03-08 北京字跳网络技术有限公司 Method and device for controlling media content, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160342287A1 (en) * 2015-05-19 2016-11-24 Vipeline, Inc. System and methods for video comment threading
CN109120981A (en) * 2018-09-20 2019-01-01 北京达佳互联信息技术有限公司 Information list methods of exhibiting, device and storage medium
CN109815367A (en) * 2019-01-24 2019-05-28 北京字节跳动网络技术有限公司 The interaction control method and device of displayed page
CN110879684A (en) * 2018-09-06 2020-03-13 北京奇元科技有限公司 Content display method and device
CN111246270A (en) * 2020-01-14 2020-06-05 广州虎牙科技有限公司 Method, device, equipment and storage medium for displaying bullet screen
CN112866815A (en) * 2020-12-31 2021-05-28 北京达佳互联信息技术有限公司 Video display method, device and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160342287A1 (en) * 2015-05-19 2016-11-24 Vipeline, Inc. System and methods for video comment threading
CN110879684A (en) * 2018-09-06 2020-03-13 北京奇元科技有限公司 Content display method and device
CN109120981A (en) * 2018-09-20 2019-01-01 北京达佳互联信息技术有限公司 Information list methods of exhibiting, device and storage medium
CN109815367A (en) * 2019-01-24 2019-05-28 北京字节跳动网络技术有限公司 The interaction control method and device of displayed page
CN111246270A (en) * 2020-01-14 2020-06-05 广州虎牙科技有限公司 Method, device, equipment and storage medium for displaying bullet screen
CN112866815A (en) * 2020-12-31 2021-05-28 北京达佳互联信息技术有限公司 Video display method, device and storage medium

Also Published As

Publication number Publication date
CN112866815A (en) 2021-05-28
CN112866815B (en) 2022-12-27

Similar Documents

Publication Publication Date Title
WO2022142735A1 (en) Video display method and apparatus
US12014040B2 (en) Dynamic resizable media item player
US8914739B2 (en) Data processing apparatus and method
US9569097B2 (en) Video streaming in a web browser
JP6151242B2 (en) Desktop as an immersive application
WO2019007227A1 (en) Method and apparatus for continuing to display view after switching pages
US20140068500A1 (en) System and method for navigation of a multimedia container
US9619131B2 (en) Methods and devices for displaying content
US20110145745A1 (en) Method for providing gui and multimedia device using the same
US10346019B2 (en) Graphical user interface for providing video in a document reader application
US20150095839A1 (en) Method and apparatus for media searching using a graphical user interface
US10572138B1 (en) Utilizing dynamic granularity for application controls
CN112004122B (en) Electronic device and control method thereof
WO2022199406A1 (en) Hot event presentation method for application, and electronic device
US20190272086A1 (en) Devices, methods, and computer program for displaying user interfaces
CN113727170A (en) Video interaction method, device, equipment and medium
WO2022179409A1 (en) Control display method and apparatus, device, and medium
US20210326010A1 (en) Methods, systems, and media for navigating user interfaces
TW201541332A (en) Animating content display
WO2020181946A1 (en) Video playback method and device
CN115605837A (en) Game console application with action fob
CN113392260B (en) Interface display control method, device, medium and electronic equipment
US10257561B2 (en) Time-line based digital media post viewing experience
US20140365969A1 (en) Method and apparatus for providing a user interface of electronic device
KR20120054191A (en) Method and apparatus for operating function of e-book in a mobile device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21913479

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 09-10-2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21913479

Country of ref document: EP

Kind code of ref document: A1