WO2021160143A1 - 用于显示视频的方法、装置、电子设备和介质 - Google Patents

用于显示视频的方法、装置、电子设备和介质 Download PDF

Info

Publication number
WO2021160143A1
WO2021160143A1 PCT/CN2021/076412 CN2021076412W WO2021160143A1 WO 2021160143 A1 WO2021160143 A1 WO 2021160143A1 CN 2021076412 W CN2021076412 W CN 2021076412W WO 2021160143 A1 WO2021160143 A1 WO 2021160143A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
page
display
horizontal screen
horizontal
Prior art date
Application number
PCT/CN2021/076412
Other languages
English (en)
French (fr)
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 北京字节跳动网络技术有限公司
Priority to JP2022535893A priority Critical patent/JP7407289B2/ja
Publication of WO2021160143A1 publication Critical patent/WO2021160143A1/zh
Priority to US17/807,084 priority patent/US20220308741A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • G06F3/04855Interaction with scrollbars
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1684Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675
    • G06F1/1694Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675 the I/O peripheral being a single or a set of motion sensors for pointer control or gesture input obtained by sensing movements of the portable computer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • 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
    • 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/485End-user interface for client configuration
    • H04N21/4858End-user interface for client configuration for modifying screen layout parameters, e.g. fonts, size of the windows
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2200/00Indexing scheme relating to G06F1/04 - G06F1/32
    • G06F2200/16Indexing scheme relating to G06F1/16 - G06F1/18
    • G06F2200/161Indexing scheme relating to constructional details of the monitor
    • G06F2200/1614Image rotation following screen orientation, e.g. switching from landscape to portrait mode

Definitions

  • the embodiments of the present disclosure relate to the field of computer technology, and in particular to methods, devices, electronic devices, and media for displaying videos.
  • both the vertical video (the video height is greater than the width) and the horizontal video (the video width is greater than the height) can only be viewed in the vertical screen.
  • the horizontal screen since the horizontal screen cannot be rotated to full screen playback, the user can only watch the video in a small area in the vertical screen state, and the user's consumption experience is not good.
  • the purpose of some embodiments of the present disclosure is to provide an improved method, device, electronic device, and medium for displaying video to solve the technical problems mentioned in the background art section above.
  • some embodiments of the present disclosure provide a method for displaying a video.
  • the method includes: in response to the display type of the target video being a landscape video, displaying an enter landscape control on the playback page of the target video, Wherein, the above-mentioned enter horizontal screen control is used to trigger entering into a horizontal screen page, the above-mentioned play page includes a predetermined position label bar, and the predetermined position label bar is displayed horizontally on the above-mentioned play page; Operation, display the horizontal display page of the target video, and display the target video on the horizontal display page; in response to detecting the switching operation for the horizontal display page, display the switched on the horizontal display page video.
  • some embodiments of the present disclosure provide a device for displaying a video.
  • the device includes: an adding unit configured to respond to the target video display type being a landscape video, and display it on the playback page of the target video.
  • Enter the horizontal screen control wherein the above horizontal screen entry control is used to trigger entering a horizontal screen page, the playback page includes a predetermined position label bar, and the predetermined position label bar is displayed horizontally on the play page;
  • the display unit is configured to respond Upon detecting the click operation for entering the horizontal screen control, the horizontal screen display page of the target video is displayed, and the target video is displayed on the horizontal screen display page;
  • the switching unit is configured to respond to the detection of the horizontal screen display The above switching operation of the page displays the switched video on the horizontal display page.
  • some embodiments of the present disclosure provide an electronic device, including: one or more processors; a storage device, on which one or more programs are stored. When one or more programs are used by one or more of the above When executed by the two processors, the above one or more processors are caused to implement the method as in any one of the first aspect.
  • some embodiments of the present disclosure provide a computer-readable medium on which a computer program is stored, where the program is executed by a processor to implement the method as in any one of the first aspect.
  • some embodiments of the present disclosure provide a computer program product.
  • the above computer program product includes: a computer program, the above computer program is stored in a readable storage medium, and at least one processor of an electronic device can be read from the above The storage medium reads the foregoing computer program, and the foregoing at least one processor executes the foregoing computer program, so that the foregoing electronic device executes the method of any one of the foregoing first aspects.
  • some embodiments of the present disclosure provide a computer program.
  • the above-mentioned computer program is stored in a readable storage medium.
  • At least one processor of an electronic device can read the above-mentioned computer program from the above-mentioned readable storage medium.
  • At least one processor executes the foregoing computer program, so that the foregoing electronic device executes the method of any one of the foregoing first aspects.
  • One of the foregoing embodiments of the present disclosure has the following beneficial effects: first, by determining that the display type of the target video is a landscape video, and adding a horizontal screen entry control on the playback page of the foregoing target video. Then, in response to detecting the click operation for entering the horizontal screen control, the horizontal screen display page of the target video is displayed, which improves the user viewing experience of the horizontal video. Finally, in response to detecting the switching operation for the horizontal display page, the video is displayed on the horizontal display page. The video switching on the above horizontal display page is realized.
  • Fig. 1 is a schematic diagram of an application scenario of a method for displaying a video according to some embodiments of the present disclosure
  • Figure 2 is a flowchart of some embodiments of a method for displaying a video according to the present disclosure
  • Fig. 3 is a schematic diagram of a video display scene for displaying a video according to some embodiments of the present disclosure
  • FIG. 4 is a flowchart of other embodiments of the method for displaying video according to the present disclosure.
  • 5 to 8 are schematic diagrams of video display scenes for displaying videos according to some embodiments of the present disclosure.
  • FIG. 9 is a schematic structural diagram of some embodiments of an apparatus for displaying a video method according to the present disclosure.
  • Fig. 10 is a schematic structural diagram of a computer system suitable for implementing an electronic device according to an embodiment of the present disclosure.
  • Fig. 1 is a schematic diagram of an application scenario of a method for displaying a video according to some embodiments of the present disclosure.
  • the execution subject of the method for displaying video may be the terminal device 101.
  • the terminal device 101 may first determine the display type of the target video 102.
  • the terminal device 101 may first determine the length and width of the display frame 103 of the target video 102. When the length of the display frame 103 is greater than the width, the display type of the target video 102 is a landscape video.
  • the terminal device 101 may display a video different from the target video 102 on the play page 104 when detecting an upward or downward slide on the play page 104. Then, the terminal device 101 may display the enter horizontal screen control 105 on the playing page 104.
  • the terminal device 101 detects a click operation for entering the horizontal screen control 105, the horizontal screen display page 106 of the target video 102 is displayed. Finally, when the terminal device 101 can detect the upward or downward sliding of the horizontal screen display page 106, the horizontal screen display page 106 displays a video that is different from the target video 102.
  • the method for displaying a video may be executed by the terminal device 101, or may also be executed by other devices, or may also be executed by various software programs.
  • the terminal device 101 may be, for example, various electronic devices with a display screen, including but not limited to smart phones, tablet computers, e-book readers, laptop computers, desktop computers, and so on.
  • the execution subject may also be embodied as a server, software, and so on.
  • the execution subject is software, it can be installed in the electronic devices listed above. It can be implemented as, for example, multiple software or software modules used to provide distributed services, or as a single software or software module. There is no specific limitation here.
  • FIG. 1 the number of terminal devices in FIG. 1 is merely illustrative. According to implementation needs, there can be any number of terminal devices.
  • the method for displaying video includes the following steps:
  • Step 201 In response to the display type of the target video being a horizontal video, display the horizontal screen control on the playback page of the target video.
  • the execution subject of the method for displaying video may add to the playback page of the target video when it is determined that the display type of the target video is a horizontal video. Enter the horizontal screen control.
  • the above-mentioned target video may be the video being watched by the terminal device.
  • the aforementioned enter horizontal screen control is used to trigger entry into a horizontal screen display page
  • the aforementioned playback page includes a predetermined position tag bar
  • the aforementioned predetermined position tag bar is displayed horizontally on the aforementioned playback page.
  • the above-mentioned display types include at least one of the following: horizontal video and vertical video.
  • the step of determining the display type includes: determining the relevant information of the display frame of the target video on the playback page, wherein the relevant information includes: width information and height information of the display frame; the width information may be the foregoing
  • the width of the display frame for example, the aforementioned width may be 6 cm.
  • the height information may be the height of the display frame, for example, the height may be 4 cm.
  • the display type of the target video is a landscape video.
  • the width information of the display frame is 6 cm in width and 4 cm in height information, because 6 cm is greater than 4 cm, it can be determined that the display type of the target video is a horizontal video.
  • the step of determining the display type further includes: in response to the width information being smaller than the height information, determining the display type of the target video as a vertical video.
  • the width information of the display frame is 6 cm in width and 8 cm in height, because 6 cm is less than 8 cm, it can be determined that the display type of the target video is a vertical video.
  • the switched video is displayed on the above-mentioned playing page.
  • the video after the switching may be a video different from the target video.
  • the above-mentioned switching operation may be a sliding operation up or down on the above-mentioned playback page.
  • Step 202 In response to detecting the click operation for entering the horizontal screen control, display the horizontal display page of the target video, and display the target video on the horizontal display page.
  • the horizontal screen display page of the above-mentioned target video is displayed , To display the above-mentioned target video on the above-mentioned horizontal display page.
  • Step 203 In response to detecting the switching operation for the horizontal display page, display the switched video on the horizontal display page.
  • the execution subject may display the video on the horizontal display page when detecting the switching operation for the horizontal display page.
  • the above method further includes: increasing the transparency of the label information in the label column of the predetermined position displayed on the horizontal screen display page, wherein the label information includes at least one of the following: text Information and icon information.
  • the predetermined location tag column 302 of the terminal device 301 includes tag information 303, tag information 304 and tag information 305.
  • the label information 303 and the label information 304 are text information
  • the label information 305 is icon information.
  • the placement state of the terminal device that plays the above-mentioned target video is determined; in response to detecting the click operation for the above-mentioned enter horizontal screen control, the horizontal position of the above-mentioned target video is displayed based on the determined placement state.
  • Screen display page the aforementioned terminal device may be a vertical screen player.
  • the vertical screen player may be a mobile phone.
  • the above placement state can be vertical screen placement, left offset, horizontal left, offset right, and horizontal right.
  • the horizontal video can be rotated 90 clockwise °To full-screen playback mode.
  • the user shifts the phone to the right or horizontally to the right, the user can rotate the horizontal video by 90° counterclockwise to full-screen playback mode in the case of detecting the click operation for entering the horizontal screen control.
  • the horizontal screen control is added to the playback page of the above target video. Then, in response to detecting the above-mentioned click operation to enter the horizontal-screen control, the horizontal-screen display page of the above-mentioned target video is displayed, which realizes the full-screen viewing of the horizontal video in the vertical player, and improves the user viewing experience of the horizontal video .
  • the method for displaying video includes the following steps:
  • Step 401 In response to the display type of the target video being a landscape video, display the enter landscape control on the playback page of the target video.
  • Step 402 In response to detecting the click operation for entering the horizontal screen control, display the horizontal screen display page of the target video, and display the target video on the horizontal screen display page.
  • Step 403 In response to detecting the switching operation for the horizontal display page, display the switched video on the horizontal display page.
  • steps 401-403 and the technical effects brought by it can refer to steps 201-203 in those embodiments corresponding to FIG. 2, which will not be repeated here.
  • step 404 it is determined whether a video broadcast control component is included on the horizontal display page.
  • the executive body may first determine whether the video broadcast control component is included on the horizontal display page.
  • the above-mentioned video broadcast control component includes at least one of the following: a current playing duration control, a total duration control, a progress bar control, a pause button control, and an exit horizontal screen button control.
  • the aforementioned current play duration control is used to display the current play time of the aforementioned target video.
  • the aforementioned total duration control is used to display the total time of the aforementioned target video.
  • the aforementioned progress bar control is used to display the corresponding relationship between the current playing time of the aforementioned target video and the total time.
  • the above-mentioned pause button control is used to trigger and control the play and pause of the above-mentioned target video.
  • the above exit horizontal screen button control is used to trigger exit from the horizontal screen display page and return to the above playback page.
  • Step 405 in response to the determination including and detecting the first user operation on the horizontal display page, control the hiding of the video broadcast control component on the horizontal display page.
  • the execution subject detects the first user operation on the horizontal display page while determining to include, and controls the hiding of the video broadcast control component on the horizontal display page.
  • the above-mentioned first user operation may be a click operation on the above-mentioned horizontal screen display page.
  • the horizontal display page 502 of the terminal device 501 includes the current playback duration control 503, the total duration control 504, the progress bar control 505, the pause button control 506, and the exit horizontal
  • the screen button control 507 controls the hiding of the video playback control component on the horizontal display page 502, and the clear display page 508 is obtained.
  • the foregoing method further includes: in response to determining that it does not include, and detecting a first user operation for the foregoing horizontal screen display page, controlling the foregoing video broadcast control component to display on the foregoing horizontal screen Display on the page.
  • a first user operation for the foregoing horizontal screen display page controlling the foregoing video broadcast control component to display on the foregoing horizontal screen Display on the page.
  • the horizontal display page 602 of the terminal device 601 does not include a video broadcast control component, and the video broadcast control component is controlled to display on the horizontal display page 603.
  • the second user operation may be for the horizontal screen display page
  • the click operation can also be the sliding operation of the above horizontal display page.
  • the aforementioned preset time may be preset.
  • the aforementioned preset time may be 3 seconds.
  • the video broadcast control component on the horizontal display page is controlled to hide. As an example, when the target video is displayed on the horizontal screen display page for 3 seconds, and no click operation or sliding operation on the horizontal screen display page is detected, the above video playback control on the horizontal screen display page will be controlled. The component is hidden.
  • the video broadcast control component In response to detecting a third user operation on the horizontal screen display page, the video broadcast control component is displayed.
  • the above-mentioned third user operation may be a sliding operation for the above-mentioned horizontal screen display page.
  • the execution subject for example, the terminal device 701 in FIG. 7 determines that a third user operation 703 for the horizontal display page 702 is detected, and the above video broadcast is displayed on the horizontal display page 704.
  • Control components include: current playing duration control 706, total duration control 708, progress bar control 707, exit horizontal screen button control 709, and time control 705.
  • the foregoing method further includes: displaying the foregoing playback page in response to detecting a fourth user operation for the foregoing exit landscape button control on the foregoing landscape display page.
  • the foregoing fourth user operation may be a click operation for the foregoing exit horizontal screen button control.
  • the execution subject for example, the terminal device 801 in FIG. 8 determines that the fourth user operation 804 for the exit horizontal screen button control 803 on the horizontal screen display page 802 is detected, and the playback is displayed. Page 805.
  • a horizontal screen control is added to the playback page of the target video.
  • the horizontal-screen display page of the above-mentioned target video is displayed, which realizes the full-screen viewing of the horizontal video in the vertical player.
  • the present disclosure provides some embodiments of an apparatus for displaying video. These apparatus embodiments correspond to those of the above-mentioned method embodiments in FIG. 2, and the apparatus Specifically, it can be applied to various electronic devices.
  • an apparatus 900 for displaying a video in some embodiments includes: an adding unit 901, a display unit 902, and a switching unit 903.
  • the adding unit 901 is configured to respond to the display type of the target video being a landscape video, and display an enter horizontal screen control on the playback page of the target video.
  • the play page includes a predetermined position label bar, and the predetermined position label bar is displayed horizontally on the play page;
  • the display unit 902 is configured to display the horizontal screen of the target video in response to detecting a click operation on the above-mentioned enter horizontal screen control
  • the display page displays the target video on the horizontal display page;
  • the switching unit 903 is configured to display the switched video on the horizontal display page in response to detecting the switching operation for the horizontal display page.
  • the step of determining the display type includes: determining the relevant information of the display frame of the target video on the playback page, wherein the relevant information includes: width information of the display frame And height information; in response to the width information being greater than the height information, the display type of the target video is determined to be a horizontal video.
  • the device 900 for displaying video is further configured to: increase the transparency of the label information in the label column of the predetermined position displayed on the horizontal screen display page, wherein the label The information includes at least one of the following: text information and icon information.
  • the apparatus 900 for displaying videos is further configured to: in response to detecting a first user operation on the horizontal display page, determine whether the horizontal display page includes A video broadcast control component, wherein the above-mentioned video broadcast control component includes at least one of the following: current playback duration control, total duration control, progress bar control, pause button control, and exit horizontal screen button control; in response to determining that it includes, control the above horizontal screen
  • the above-mentioned video broadcast control components on the display page are hidden.
  • the device 900 for displaying video is further configured to: in response to determining that it does not include, control the video broadcast control component to display on the horizontal display page; or respond to The second user operation for the horizontal display page is not detected, and it is determined whether the display time of the target video on the horizontal display page reaches the preset time; in response to the determination, the video on the horizontal display page is controlled The broadcast control component is hidden; or in response to detecting a third user operation for the horizontal screen display page, the video broadcast control component is displayed.
  • the device 900 for displaying video is further configured to: in response to detecting a fourth user operation for the foregoing exit landscape button control on the foregoing landscape display page, display The above playback page.
  • the display unit 902 in the apparatus 900 for displaying video is further configured to: determine the placement state of the terminal device that plays the above-mentioned target video; The click operation of the screen control displays the horizontal screen display page of the above target video based on the determined placement state.
  • the units recorded in the device 900 correspond to the steps in the method described with reference to FIG. 2. Therefore, the operations, features, and beneficial effects produced by the method described above are also applicable to the device 900 and the units contained therein, and will not be repeated here.
  • FIG. 10 shows a schematic structural diagram of an electronic device (for example, the server in FIG. 1) 1000 suitable for implementing some embodiments of the present disclosure.
  • the terminal devices in some embodiments of the present disclosure may include, but are not limited to, mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), vehicle-mounted terminals, etc. (E.g. car navigation terminals) and other mobile terminals and fixed terminals such as digital TVs, desktop computers, etc.
  • the terminal device shown in FIG. 10 is only an example, and should not bring any limitation to the function and scope of use of the embodiments of the present disclosure.
  • the electronic device 1000 may include a processing device (such as a central processing unit, a graphics processor, etc.) 1001, which may be loaded into a random access device according to a program stored in a read-only memory (ROM) 1002 or from a storage device 1008.
  • the program in the memory (RAM) 1003 executes various appropriate actions and processing.
  • various programs and data required for the operation of the electronic device 1000 are also stored.
  • the processing device 1001, ROM 1002, and RAM 1003 are connected to each other through a bus 1004.
  • An input/output (I/O) interface 1005 is also connected to the bus 1004.
  • the following devices can be connected to the I/O interface 1005: including input devices 1006 such as touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, liquid crystal display (LCD), speakers, vibration An output device 1007 such as a device; a storage device 1008 including, for example, a memory card; and a communication device 1009.
  • the communication device 1009 may allow the electronic device 1000 to perform wireless or wired communication with other devices to exchange data.
  • FIG. 10 shows the electronic device 1000 having various devices, it should be understood that it is not required to implement or have all the illustrated devices. It may be implemented alternatively or provided with more or fewer devices. Each block shown in FIG. 10 may represent one device, or may represent multiple devices as needed.
  • the process described above with reference to the flowchart may be implemented as a computer software program.
  • some embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart.
  • the computer program may be downloaded and installed from the network through the communication device 1009, or installed from the storage device 1008, or installed from the ROM 1002.
  • the steps in the methods of some embodiments of the present disclosure are executed to realize the above-mentioned functions defined by the computer program.
  • the present disclosure also provides a computer program that is stored in a readable storage medium, and at least one processor of an electronic device can read the computer program from the readable storage medium.
  • a computer program where the at least one processor executes the computer program, so that the electronic device executes the solution provided in any of the foregoing embodiments.
  • the aforementioned computer-readable medium in some embodiments of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two.
  • the computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or a combination of any of the above.
  • Computer-readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable removable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • the computer-readable storage medium may be any tangible medium that contains or stores a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in a baseband or as a part of a carrier wave, and a computer-readable program code is carried therein.
  • This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium.
  • the computer-readable signal medium may send, propagate, or transmit the program for use by or in combination with the instruction execution system, apparatus, or device .
  • the program code contained on the computer-readable medium can be transmitted by any suitable medium, including but not limited to: wire, optical cable, RF (Radio Frequency), etc., or any suitable combination of the above.
  • the client and server can communicate with any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and can communicate with digital data in any form or medium.
  • Communication e.g., communication network
  • Examples of communication networks include local area networks (LAN), wide area networks (WAN), the Internet (for example, the Internet), and end-to-end networks (for example, ad hoc end-to-end networks), as well as any networks currently known or developed in the future.
  • the above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or it may exist alone without being assembled into the electronic device.
  • the above-mentioned computer-readable medium carries one or more programs.
  • the electronic device responds to the display type of the target video being
  • the page display enters the horizontal screen control, wherein the above enter horizontal screen control is used to trigger the entry of the horizontal screen page, the above playback page includes a predetermined position label bar, the predetermined position label bar is displayed horizontally on the above playback page; in response to detecting that the target
  • the aforementioned click operation to enter the horizontal screen control displays the horizontal display page of the target video, and displays the target video on the horizontal display page; in response to detecting the above switching operation for the horizontal display page, the horizontal display page
  • the switched video is displayed on the display page.
  • the computer program code used to perform the operations of some embodiments of the present disclosure may be written in one or more programming languages or a combination thereof.
  • the above-mentioned programming languages include object-oriented programming languages such as Java, Smalltalk, and C++. , Also includes conventional procedural programming languages-such as "C" language or similar programming languages.
  • the program code can be executed entirely on the user's computer, partly on the user's computer, executed as an independent software package, partly on the user's computer and partly executed on a remote computer, or entirely executed on the remote computer or server.
  • the remote computer can be connected to the user’s computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (for example, using an Internet service provider to Connect via the Internet).
  • LAN local area network
  • WAN wide area network
  • each block in the flowchart or block diagram may represent a module, program segment, or part of code, and the module, program segment, or part of code contains one or more for realizing the specified logical function Executable instructions.
  • the functions marked in the block may also occur in a different order from the order marked in the drawings. For example, two blocks shown one after another can actually be executed substantially in parallel, and they can sometimes be executed in the reverse order, depending on the functions involved.
  • each block in the block diagram and/or flowchart, and the combination of the blocks in the block diagram and/or flowchart can be implemented by a dedicated hardware-based system that performs the specified functions or operations Or it can be realized by a combination of dedicated hardware and computer instructions.
  • the units described in some embodiments of the present disclosure may be implemented in software or hardware.
  • the described unit may also be provided in the processor, for example, it may be described as: a processor includes an adding unit, a display unit, and a switching unit. Among them, the names of these units do not constitute a limitation on the unit itself under certain circumstances.
  • the adding unit can also be described as "in response to the target video’s display type being horizontal video, on the playback page of the target video Display the unit that enters the horizontal screen control".
  • exemplary types of hardware logic components include: Field Programmable Gate Array (FPGA), Application Specific Integrated Circuit (ASIC), Application Specific Standard Product (ASSP), System on Chip (SOC), Complex Programmable Logical device (CPLD) and so on.
  • FPGA Field Programmable Gate Array
  • ASIC Application Specific Integrated Circuit
  • ASSP Application Specific Standard Product
  • SOC System on Chip
  • CPLD Complex Programmable Logical device
  • a method for displaying a video which includes: in response to the display type of the target video being a landscape video, displaying an enter landscape control on the playback page of the target video, wherein The aforementioned horizontal screen entry control is used to trigger entry into a horizontal screen page, the aforementioned playback page includes a predetermined position tab bar, and the aforementioned predetermined position tab bar is displayed horizontally on the aforementioned playback page; in response to detecting a click operation for the aforementioned horizontal screen entry control , Display the horizontal display page of the target video, and display the target video on the horizontal display page; in response to detecting the switching operation for the horizontal display page, display the switched video on the horizontal display page .
  • the step of determining the display type includes: determining the relevant information of the display frame of the target video on the playback page, wherein the relevant information includes: width information and height of the display frame Information; in response to the width information being greater than the height information, the display type of the target video is determined to be a horizontal video.
  • the above method further includes: increasing the transparency of the label information in the label column of the predetermined position displayed on the horizontal screen display page, wherein the label information includes at least one of the following: text information And icon information.
  • the above method further includes: in response to detecting a first user operation on the horizontal screen display page, determining whether the horizontal screen display page includes a video broadcast control component, wherein the video
  • the playback control component includes at least one of the following: current playback duration control, total duration control, progress bar control, pause button control, and exit horizontal screen button control; in response to determining that it includes, control the above video playback control component on the horizontal screen display page hide.
  • the above method further includes: in response to determining that it does not include, controlling the video broadcast control component to display on the horizontal screen display page; or in response to not detecting that the horizontal screen display page
  • the video broadcast control component on the horizontal screen display page is controlled to hide; or in response to detection
  • the above video broadcast control component is displayed.
  • the above method further includes: in response to detecting a fourth user operation for the exit horizontal screen button control on the horizontal screen display page, displaying the above playback page.
  • displaying the horizontal screen display page of the target video includes: determining the placement state of the terminal device that plays the target video; In response to detecting the click operation for entering the horizontal screen control, the horizontal screen display page of the target video is displayed based on the determined placement state.
  • an apparatus for displaying a video including: an adding unit configured to respond to the display type of the target video being a landscape video, displaying on the playback page of the target video Enter the horizontal screen control, wherein the above horizontal screen entry control is used to trigger entering a horizontal screen page, the playback page includes a predetermined position label bar, and the predetermined position label bar is displayed horizontally on the play page; the display unit is configured to respond Upon detecting the click operation for entering the horizontal screen control, the horizontal screen display page of the target video is displayed, and the target video is displayed on the horizontal screen display page; the switching unit is configured to respond to the detection of the horizontal screen display The above switching operation of the page displays the switched video on the horizontal display page.
  • the step of determining the display type includes: determining the relevant information of the display frame of the target video on the playback page, wherein the relevant information includes: width information and height of the display frame Information; in response to the width information being greater than the height information, the display type of the target video is determined to be a horizontal video.
  • the above device further includes: increasing the transparency of the label information in the label column of the predetermined position displayed on the horizontal screen display page, wherein the label information includes at least one of the following: text information And icon information.
  • the above-mentioned apparatus further includes: in response to detecting a first user operation for the above-mentioned horizontal-screen display page, determining whether the above-mentioned horizontal-screen display page includes a video broadcast control component, wherein the above-mentioned video
  • the playback control component includes at least one of the following: current playback duration control, total duration control, progress bar control, pause button control, and exit horizontal screen button control; in response to determining that it includes, control the above video playback control component on the horizontal screen display page hide.
  • the above-mentioned apparatus further includes: in response to determining that it does not include, controlling the above-mentioned video broadcast control component to display on the above-mentioned horizontal display page; or in response to not detecting that the above-mentioned horizontal display page is not included
  • the above video broadcast control component is displayed.
  • the above apparatus further includes: in response to detecting a fourth user operation for the exit horizontal screen button control on the horizontal screen display page, displaying the above playback page.
  • the display unit in the above-mentioned apparatus is further configured to: determine the placement state of the terminal device that plays the above-mentioned target video; The placement state shows the horizontal display page of the above-mentioned target video.
  • an electronic device including: one or more processors; a storage device, on which one or more programs are stored, when one or more programs are When multiple processors are executed, the foregoing one or more processors are allowed to implement the method described in any of the foregoing embodiments.
  • a computer-readable medium on which a computer program is stored, where the program is executed by a processor to implement the method described in any of the above embodiments.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Hardware Design (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Environmental & Geological Engineering (AREA)
  • User Interface Of Digital Computer (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

一种用于显示视频的方法、装置、电子设备和介质。该方法包括:响应于目标视频的显示类型是横版视频,在该目标视频的播放页面显示进入横屏控件(201);响应于检测到针对该进入横屏控件的点击操作,显示该目标视频的横屏展示页面,在该横屏展示页面上显示该目标视频(202);响应于检测到针对该横屏展示页面的该切换操作,在该横屏展示页面上显示切换后的视频(203)。该方法实现了在竖版播放器下横版视频的全屏观看,提高了用户的观看体验。

Description

用于显示视频的方法、装置、电子设备和介质
相关申请的交叉引用
本申请要求于2020年2月11日提交中国专利局、申请号为202010087512.1、申请名称为“用于显示视频的方法、装置、电子设备和介质”的中国专利申请的优先权,其全部内容通过引用并入本文。
技术领域
本公开的实施例涉及计算机技术领域,具体涉及用于显示视频的方法、装置、电子设备和介质。
背景技术
在短视频竖屏播放器下,竖版视频(视频高大于宽)及横版视频(视频宽大于高)均只能在竖屏下观看。对于横版视频,由于无法旋转横屏至全屏播放,用户只能在竖屏状态下的很小的面积范围内观看视频,用户消费体验不佳。
发明内容
本公开内容部分用于以简要的形式介绍构思,这些构思将在后面的具体实施方式部分被详细描述。本公开内容部分并不旨在标识要求保护的技术方案的关键特征或必要特征,也不旨在用于限制所要求的保护的技术方案的范围。
本公开的一些实施例的目的在于提出一种改进的用于显示视频的方法、装置、电子设备和介质,来解决以上背景技术部分提到的技术问题。
第一方面,本公开的一些实施例提供了一种用于显示视频的方法,该方法包括:响应于目标视频的显示类型是横版视频,在上述目标视频的播放页面显示进入横屏控件,其中,上述进入横屏控件用于触发进入横屏页面,上述播放页面上包括预定位置标签栏,上述预定位置标签栏在上述播放页面上横向显示;响应于检测到针对上述进入横屏控件的点击操作,显示上述目标视频的横屏展示页面,在上述横屏展示页面上显示上述目标视频;响应于检测到针对上述横屏展示页面的上述切换操作,在上述横屏展示页面上显示切换后的视频。
第二方面,本公开的一些实施例提供了一种用于显示视频的装置,装置包括:添加单元,被配置成响应于目标视频的显示类型是横版视频,在上述目标视频的播放页面显示进入横屏控件,其中,上述进入横屏控件用于触发进入横屏页面,上述播放页面上包括预定位置标签栏,上述预定位置标签栏在上述播放页面上横向显示;显示单元,被配置成响应于检测到针对上述进入横屏控件的点击操作,显示上述目标视频的横屏展示页面,在上述横屏展示页面上显示上述目标视频;切换单元,被配置成响应于检测到针对上述横屏展示页面的上述切换操作,在上述横屏展示页面上显示切换后的视频。
第三方面,本公开的一些实施例提供了一种电子设备,包括:一个或多个处理器;存储装置,其上存储有一个或多个程序,当一个或多个程序被上述一个或多个处理器执行时,使得上述一个或多个处理器实现如第一方面中任一项的方法。
第四方面,本公开的一些实施例提供了一种计算机可读介质,其上存储有计算机程序,其中,程序被处理器执行时实现如第一方面中任一项的方法。
第五方面,本公开的一些实施例提供了一种计算机程序产品,上述计算机程序产品包括:计算机程序,上述计算机程序存储在可读存储介质中,电子设备的至少一个处理器可以从上述可读存储介质读取上述计算机程序,上述至少一个处理器执行上述计算机程序,使得上述电子设备执行上述第一方面中任一项的方法。
第六方面,本公开的一些实施例提供了一种计算机程序,上述计算机程序存储在可读存储介质中,电子设备的至少一个处理器可以从上述可读存储介质中读取上述计算机程序,上述至少一个处理器执行上述计算机程序,使得上述电子设备执行上述第一方面中任一项的方法。
本公开的上述各个实施例中的一个实施例具有如下有益效果:首先,通过确定目标视频的显示类型是横版视频,在上述目标视频的播放页面添加进入横屏控件。然后,响应于检测到针对上述进入横屏控件的点击操作,显示上述目标视频的横屏展示页面,提升了横版视频的用户观看体验。最后,响应于检测到针对上述横屏展示页面的上述切换操作,在上述横屏展示页面上显示上述视频。实现了在上述横屏展示页面上视频的切换。
附图说明
结合附图并参考以下具体实施方式,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。贯穿附图中,相同或相似的附图标记表示相同或相似的元素。应当理解,附图是示意性的,原件和元素不一定按照比例绘制。
图1是根据本公开的一些实施例的用于显示视频的方法的一个应用场景的示意图;
图2是根据本公开的用于显示视频的方法的一些实施例的流程图;
图3是根据本公开的一些实施例的用于显示视频的视频显示场景示意图;
图4是根据本公开的用于显示视频的方法的另一些实施例的流程图;
图5-图8是根据本公开的一些实施例的用于显示视频的视频显示场景示意图;
图9是根据本公开的用于显示视频的方法的装置的一些实施例的结构示意图;
图10是适于用来实现本公开实施例的电子设备的计算机***的结构示意图。
具体实施方式
下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例。相反,提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。
另外还需要说明的是,为了便于描述,附图中仅示出了与有关发明相关的部分。在不冲突的情况下,本公开中的实施例及实施例中的特征可以相互组合。
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。
下面将参考附图并结合实施例来详细说明本公开。
图1是根据本公开的一些实施例的用于显示视频的方法的一个应用场景的示意图。
在如图1的应用场景中所示,首先,用于显示视频的方法的执行主体可以是终端设备101。终端设备101可以先确定目标视频102的显示类型。在这里,终端设备101可以先确定目标视频102的显示框103的长度和宽度,当显示框103的长度大于宽度的时候,目标视频102的显示类型是横版视频。其次,终端设备101可以在检测到针对播放页面104的向上滑动或向下滑动时,播放页面104显示与目标视频102不同的视频。然后,终端设备101可以在播放页面104上显示进入横屏控件105。然后,在终端设备101检测到针对进入横屏控件105的点击操作的时候,显示目标视频102的横屏展示页面106。最后,在终端设备101可以在检测到针对横屏展示页面106的向上滑动或向下滑动时,横屏展示页面106显示与目标视频102不同的视频。
可以理解的是,用于显示视频的方法可以是由终端设备101来执行,或者也可以是由其它设备来执行,或者还可以是由各种软件程序来执行。其中,终端设备101例如可以是 具有显示屏的各种电子设备,包括但不限于智能手机、平板电脑、电子书阅读器、膝上型便携计算机和台式计算机等等。此外,执行主体也可以体现为服务器、软件等。当执行主体为软件时,可以安装在上述所列举的电子设备中。其可以实现为例如用来提供分布式服务的多个软件或软件模块,也可以实现为单个软件或软件模块。在此不做具体限定。
应该理解,图1中的终端设备的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备。
继续参考图2,示出了根据本公开的用于显示视频的方法的一些实施例的流程200。该用于显示视频的方法,包括以下步骤:
步骤201,响应于目标视频的显示类型是横版视频,在上述目标视频的播放页面显示进入横屏控件。
在一些实施例中,用于显示视频的方法的执行主体(例如,图1所示的终端设备101)可以在确定目标视频的显示类型是横版视频的时候,在上述目标视频的播放页面添加进入横屏控件。上述目标视频可以是终端设备正在观看的视频。其中,上述进入横屏控件用于触发进入横屏展示页面,上述播放页面上包括预定位置标签栏,上述预定位置标签栏在上述播放页面上横向显示。上述显示类型包括以下至少一项:横版视频和竖版视频。
作为示例,上述显示类型的确定步骤包括:确定上述目标视频在上述播放页面上的显示框的相关信息,其中,上述相关信息包括:上述显示框的宽度信息和高度信息;上述宽度信息可以是上述显示框的宽,例如,上述宽度可以是6厘米。上述高度信息可以是上述显示框的高度,例如,上述高度可以是4厘米。响应于上述宽度信息大于上述高度信息,上述目标视频的显示类型是横版视频。在这里,当显示框的宽度信息是宽度为6厘米,高度信息高度为4厘米,因为6厘米大于4厘米,所以可以确定上述目标视频的显示类型是横版视频。
作为示例,上述显示类型的确定步骤还包括:响应于上述宽度信息小于上述高度信息,将上述目标视频的显示类型确定为竖版视频。在这里,当显示框的宽度信息是宽度为6厘米,高度信息高度为8厘米,因为6厘米小于8厘米,所以可以确定上述目标视频的显示类型是竖版视频。
在一些实施例中,执行主体在检测到针对上述播放页面的切换操作的时候,在上述播放页面上显示切换后的视频。在这里,上述切换后的视频可以是不同于上述目标视频的视频。上述切换操作可以在上述播放页面上的向上或向下的滑动操作。
步骤202,响应于检测到针对上述进入横屏控件的点击操作,显示上述目标视频的横 屏展示页面,在上述横屏展示页面上显示上述目标视频。
在一些实施例中,上述执行主体在基于步骤201在上述播放页面添加了进入横屏控件后,在检测到针对上述进入横屏控件的点击操作的情况下,显示上述目标视频的横屏展示页面,在上述横屏展示页面上显示上述目标视频。
步骤203,响应于检测到针对上述横屏展示页面的上述切换操作,在上述横屏展示页面上显示切换后的视频。
在一些实施例中,上述执行主体在检测到针对上述横屏展示页面的上述切换操作的时候,在上述横屏展示页面上显示上述视频。
在一些实施例的一些可选的实现方式中,上述方法还包括:增加上述横屏展示页面上显示的预定位置标签栏中的标签信息的透明度,其中,上述标签信息包括以下至少一项:文字信息和图标信息。作为示例,如图3上述,终端设备301的预定位置标签栏302包括标签信息303、标签信息304和标签信息305。其中,标签信息303和标签信息304为文字信息,标签信息305为图标信息。
在一些实施例的一些可选的实现方式中,确定播放上述目标视频的终端设备的放置状态;响应于检测到针对上述进入横屏控件的点击操作,基于确定的放置状态显示上述目标视频的横屏展示页面。在这里,上述终端设备可以是竖屏播放器。例如,竖屏播放器可以是手机。上述放置状态可以是竖屏放置、向左侧偏移、向左侧横置、向右侧偏移和向右侧横置。作为示例,当用户将手机竖屏放置、向左侧偏移或向左侧横置时,在检测到针对上述进入横屏控件的点击操作的情况下,可以将上述横版视频顺时针旋转90°至全屏播放模式。当用户将手机向右侧偏移或向右侧横置时,在检测到针对上述进入横屏控件的点击操作的情况下,可以将上述横版视频逆时针旋转90°至全屏播放模式。
由上述示例可以看出,通过确定目标视频的显示类型是横版视频,在上述目标视频的播放页面添加进入横屏控件。然后,响应于检测到针对上述进入横屏控件的点击操作,显示上述目标视频的横屏展示页面,实现了在竖版播放器下横版视频的全屏观看,提升了横版视频的用户观看体验。
继续参考图4,示出了根据本公开的用于显示视频的方法的又一些实施例的流程400。该用于显示视频的方法,包括以下步骤:
步骤401,响应于目标视频的显示类型是横版视频,在上述目标视频的播放页面显示进入横屏控件。
步骤402,响应于检测到针对上述进入横屏控件的点击操作,显示上述目标视频的横 屏展示页面,在上述横屏展示页面上显示上述目标视频。
步骤403,响应于检测到针对上述横屏展示页面的上述切换操作,在上述横屏展示页面上显示切换后的视频。
在一些实施例中,步骤401-403的具体实现及所带来的技术效果可以参考图2对应的那些实施例中的步骤201-203,在此不再赘述。
步骤404,确定上述横屏展示页面上是否包括视频播控组件。
在一些实施例中,执行主体(例如,图1所示的终端设备101)首先可以确定上述横屏展示页面上是否包括视频播控组件。其中,上述视频播控组件包括以下至少一项:当前播放时长控件、总时长控件、进度条控件、暂停按钮控件和退出横屏按钮控件。上述当前播放时长控件用于显示上述目标视频的当前播放时间。上述总时长控件用于显示上述目标视频的总时间。上述进度条控件用于显示上述目标视频的当前播放时间与总时间的对应关系。上述暂停按钮控件用于触发控制上述目标视频的播放与暂停。上述退出横屏按钮控件用于触发退出横屏展示页面回到上述播放页面。
步骤405,响应于确定包括,且检测到针对上述横屏展示页面的第一用户操作,控制上述横屏展示页面上的上述视频播控组件隐藏。
在一些实施例中,上述执行主体在确定包括的同时检测到针对上述横屏展示页面的第一用户操作,控制上述横屏展示页面上的上述视频播控组件隐藏。上述第一用户操作可以是对上述横屏展示页面的点击操作。作为示例,如图5所示,确定终端设备501的横屏展示页面502上包括视频播控组件中的当前播放时长控件503、总时长控件504、进度条控件505、暂停按钮控件506和退出横屏按钮控件507,控制横屏展示页面502上的视频播控组件隐藏,得到清屏展示页面508。
在一些实施例的一些可选的实现方式中,上述方法还包括:响应于确定不包括,且检测到针对上述横屏展示页面的第一用户操作,控制上述视频播控组件在上述横屏展示页面上进行展示。作为示例,如图6所示,确定终端设备601的横屏展示页面602上不包括视频播控组件,控制上述视频播控组件在上述横屏展示页面603上进行展示。响应于未检测到针对上述横屏展示页面的第二用户操作,确定上述目标视频在上述横屏展示页面上的显示时间是否达到预设时间;上述第二用户操作可以是对上述横屏展示页面的点击操作,也可以是对上述横屏展示页面的滑动操作。上述预设时间可以是预先设定的。例如,上述预设时间可以是3秒。响应于确定达到,控制上述横屏展示页面上的上述视频播控组件隐藏。作为示例,当上述目标视频在上述横屏展示页面上展示时间达到3秒,且未检测到针对上 述横屏展示页面的点击操作或滑动操作,将控制上述横屏展示页面上的上述视频播控组件隐藏。响应于检测到针对上述横屏展示页面的第三用户操作,显示上述视频播控组件。上述第三用户操作可以是针对上述横屏展示页面的滑动操作。作为示例,如图7所示,执行主体(例如,图7中的终端设备701)确定检测到针对上述横屏展示页面702的第三用户操作703,在横屏展示页面704上显示上述视频播控组件。其中,上述视频播控组件包括:当前播放时长控件706、总时长控件708、进度条控件707、退出横屏按钮控件709和时间控件705。
在一些实施例的一些可选的实现方式中,上述方法还包括:响应于检测到针对上述横屏展示页面上的上述退出横屏按钮控件的第四用户操作,显示上述播放页面。上述第四用户操作可以是针对上述退出横屏按钮控件的点击操作。作为示例,如图8所示,执行主体(例如,图8中的终端设备801)确定检测到针对上述横屏展示页面802上的上述退出横屏按钮控件803的第四用户操作804,显示播放页面805。
本公开的一些实施例公开的用于显示视频的方法,首先,通过在目标视频的播放页面添加进入横屏控件。其次,响应于检测到针对上述进入横屏控件的点击操作,显示上述目标视频的横屏展示页面,实现了在竖版播放器下横版视频的全屏观看。然后,可以确定上述横屏展示页面上是否包括视频播控组件,之后,响应于确定包括,且检测到针对上述横屏展示页面的第一用户操作,控制上述横屏展示页面上的上述视频播控组件隐藏。实现了视频播控组件的隐藏显示,提高了用户体验。
进一步参考图9,作为对上述各图上述方法的实现,本公开提供了一种用于显示视频的装置的一些实施例,这些装置实施例与图2上述的那些方法实施例相对应,该装置具体可以应用于各种电子设备中。
如图9所示,一些实施例的用于显示视频的装置900包括:添加单元901、显示单元902和切换单元903。其中,添加单元901,被配置成响应于目标视频的显示类型是横版视频,在上述目标视频的播放页面显示进入横屏控件,其中,上述进入横屏控件用于触发进入横屏页面,上述播放页面上包括预定位置标签栏,上述预定位置标签栏在上述播放页面上横向显示;显示单元902,被配置成响应于检测到针对上述进入横屏控件的点击操作,显示上述目标视频的横屏展示页面,在上述横屏展示页面上显示上述目标视频;切换单元903,被配置成响应于检测到针对上述横屏展示页面的上述切换操作,在上述横屏展示页面上显示切换后的视频。
在一些实施例的一些可选的实现方式中,上述显示类型的确定步骤包括:确定上述目 标视频在上述播放页面上的显示框的相关信息,其中,上述相关信息包括:上述显示框的宽度信息和高度信息;响应于上述宽度信息大于上述高度信息,将上述目标视频的显示类型确定为横版视频。
在一些实施例的一些可选的实现方式中,用于显示视频的装置900被进一步配置成:增加上述横屏展示页面上显示的上述预定位置标签栏中的标签信息的透明度,其中,上述标签信息包括以下至少一项:文字信息和图标信息。
在一些实施例的一些可选的实现方式中,用于显示视频的装置900被进一步配置成:响应于检测到针对上述横屏展示页面的第一用户操作,确定上述横屏展示页面上是否包括视频播控组件,其中,上述视频播控组件包括以下至少一项:当前播放时长控件、总时长控件、进度条控件、暂停按钮控件和退出横屏按钮控件;响应于确定包括,控制上述横屏展示页面上的上述视频播控组件隐藏。
在一些实施例的一些可选的实现方式中,用于显示视频的装置900被进一步配置成:响应于确定不包括,控制上述视频播控组件在上述横屏展示页面上进行展示;或响应于未检测到针对上述横屏展示页面的第二用户操作,确定上述目标视频在上述横屏展示页面上的显示时间是否达到预设时间;响应于确定达到,控制上述横屏展示页面上的上述视频播控组件隐藏;或响应于检测到针对上述横屏展示页面的第三用户操作,显示上述视频播控组件。
在一些实施例的一些可选的实现方式中,用于显示视频的装置900被进一步配置成:响应于检测到针对上述横屏展示页面上的上述退出横屏按钮控件的第四用户操作,显示上述播放页面。
在一些实施例的一些可选的实现方式中,用于显示视频的装置900中的显示单元902被进一步配置成:确定播放上述目标视频的终端设备的放置状态;响应于检测到针对上述进入横屏控件的点击操作,基于确定的放置状态显示上述目标视频的横屏展示页面。
可以理解的是,该装置900中记载的诸单元与参考图2描述的方法中的各个步骤相对应。由此,上文针对方法描述的操作、特征以及产生的有益效果同样适用于装置900及其中包含的单元,在此不再赘述。
下面参考图10,其示出了适于用来实现本公开的一些实施例的电子设备(例如图1中的服务器)1000的结构示意图。本公开的一些实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如 数字TV、台式计算机等等的固定终端。图10示出的终端设备仅仅是一个示例,不应对本公开的实施例的功能和使用范围带来任何限制。
如图10所示,电子设备1000可以包括处理装置(例如中央处理器、图形处理器等)1001,其可以根据存储在只读存储器(ROM)1002中的程序或者从存储装置1008加载到随机访问存储器(RAM)1003中的程序而执行各种适当的动作和处理。在RAM 1003中,还存储有电子设备1000操作所需的各种程序和数据。处理装置1001、ROM 1002以及RAM 1003通过总线1004彼此相连。输入/输出(I/O)接口1005也连接至总线1004。
通常,以下装置可以连接至I/O接口1005:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置1006;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置1007;包括例如存储卡等的存储装置1008;以及通信装置1009。通信装置1009可以允许电子设备1000与其他设备进行无线或有线通信以交换数据。虽然图10示出了具有各种装置的电子设备1000,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。图10中示出的每个方框可以代表一个装置,也可以根据需要代表多个装置。
特别地,根据本公开的一些实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的一些实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的一些实施例中,该计算机程序可以通过通信装置1009从网络上被下载和安装,或者从存储装置1008被安装,或者从ROM 1002被安装。在该计算机程序被处理装置1001执行时,执行本公开的一些实施例的方法中的步骤,以实现其限定的上述功能。
根据本公开的一些实施例,本公开还提供了一种计算机程序,所述计算机程序存储在可读存储介质中,电子设备的至少一个处理器可以从所述可读存储介质中读取所述计算机程序,所述至少一个处理器执行所述计算机程序,使得所述电子设备执行上述任一实施例提供的方案。
需要说明的是,本公开的一些实施例上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的***、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器 (CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开的一些实施例中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行***、装置或者器件使用或者与其结合使用。而在本公开的一些实施例中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行***、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。
在一些实施方式中,客户端、服务器可以利用诸如HTTP(HyperText Transfer Protocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(LAN)、广域网(WAN)、网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:响应于目标视频的显示类型是横版视频,在上述目标视频的播放页面显示进入横屏控件,其中,上述进入横屏控件用于触发进入横屏页面,上述播放页面上包括预定位置标签栏,上述预定位置标签栏在上述播放页面上横向显示;响应于检测到针对上述进入横屏控件的点击操作,显示上述目标视频的横屏展示页面,在上述横屏展示页面上显示上述目标视频;响应于检测到针对上述横屏展示页面的上述切换操作,在上述横屏展示页面上显示切换后的视频。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的一些实施例的操作的计算机程序代码,上述程序设计语言包括面向对象的程序设计语言——诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)——连接到用户计算机,或者,可以连接 到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开各种实施例的***、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的***来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开的一些实施例中的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。所描述的单元也可以设置在处理器中,例如,可以描述为:一种处理器包括添加单元、显示单元和切换单元。其中,这些单元的名称在某种情况下并不构成对该单元本身的限定,例如,添加单元还可以被描述为“响应于目标视频的显示类型是横版视频,在上述目标视频的播放页面显示进入横屏控件的单元”。
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上***(SOC)、复杂可编程逻辑设备(CPLD)等等。
根据本公开的一个或多个实施例,提供了一种用于显示视频的方法,包括:响应于目标视频的显示类型是横版视频,在上述目标视频的播放页面显示进入横屏控件,其中,上述进入横屏控件用于触发进入横屏页面,上述播放页面上包括预定位置标签栏,上述预定位置标签栏在上述播放页面上横向显示;响应于检测到针对上述进入横屏控件的点击操作,显示上述目标视频的横屏展示页面,在上述横屏展示页面上显示上述目标视频;响应于检测到针对上述横屏展示页面的上述切换操作,在上述横屏展示页面上显示切换后的视频。
根据本公开的一个或多个实施例,上述显示类型的确定步骤包括:确定上述目标视频在上述播放页面上的显示框的相关信息,其中,上述相关信息包括:上述显示框的宽度信息和高度信息;响应于上述宽度信息大于上述高度信息,将上述目标视频的显示类型确定为横版视频。
根据本公开的一个或多个实施例,上述方法还包括:增加上述横屏展示页面上显示的上述预定位置标签栏中的标签信息的透明度,其中,上述标签信息包括以下至少一项:文字信息和图标信息。
根据本公开的一个或多个实施例,上述方法还包括:响应于检测到针对上述横屏展示页面的第一用户操作,确定上述横屏展示页面上是否包括视频播控组件,其中,上述视频播控组件包括以下至少一项:当前播放时长控件,总时长控件,进度条控件,暂停按钮控件和退出横屏按钮控件;响应于确定包括,控制上述横屏展示页面上的上述视频播控组件隐藏。
根据本公开的一个或多个实施例,上述方法还包括:响应于确定不包括,控制上述视频播控组件在上述横屏展示页面上进行展示;或响应于未检测到针对上述横屏展示页面的第二用户操作,确定上述目标视频在上述横屏展示页面上的显示时间是否达到预设时间;响应于确定达到,控制上述横屏展示页面上的上述视频播控组件隐藏;或响应于检测到针对上述横屏展示页面的第三用户操作,显示上述视频播控组件。
根据本公开的一个或多个实施例,上述方法还包括:响应于检测到针对上述横屏展示页面上的上述退出横屏按钮控件的第四用户操作,显示上述播放页面。
根据本公开的一个或多个实施例,上述响应于检测到针对上述进入横屏控件的点击操作,显示上述目标视频的横屏展示页面,包括:确定播放上述目标视频的终端设备的放置状态;响应于检测到针对上述进入横屏控件的点击操作,基于确定的放置状态显示上述目标视频的横屏展示页面。
根据本公开的一个或多个实施例,提供了一种用于显示视频的装置,包括:添加单元,被配置成响应于目标视频的显示类型是横版视频,在上述目标视频的播放页面显示进入横屏控件,其中,上述进入横屏控件用于触发进入横屏页面,上述播放页面上包括预定位置标签栏,上述预定位置标签栏在上述播放页面上横向显示;显示单元,被配置成响应于检测到针对上述进入横屏控件的点击操作,显示上述目标视频的横屏展示页面,在上述横屏展示页面上显示上述目标视频;切换单元,被配置成响应于检测到针对上述横屏展示页面的上述切换操作,在上述横屏展示页面上显示切换后的视频。
根据本公开的一个或多个实施例,上述显示类型的确定步骤包括:确定上述目标视频在上述播放页面上的显示框的相关信息,其中,上述相关信息包括:上述显示框的宽度信息和高度信息;响应于上述宽度信息大于上述高度信息,将上述目标视频的显示类型确定为横版视频。
根据本公开的一个或多个实施例,上述装置还包括:增加上述横屏展示页面上显示的上述预定位置标签栏中的标签信息的透明度,其中,上述标签信息包括以下至少一项:文字信息和图标信息。
根据本公开的一个或多个实施例,上述装置还包括:响应于检测到针对上述横屏展示页面的第一用户操作,确定上述横屏展示页面上是否包括视频播控组件,其中,上述视频播控组件包括以下至少一项:当前播放时长控件、总时长控件、进度条控件、暂停按钮控件和退出横屏按钮控件;响应于确定包括,控制上述横屏展示页面上的上述视频播控组件隐藏。
根据本公开的一个或多个实施例,上述装置还包括:响应于确定不包括,控制上述视频播控组件在上述横屏展示页面上进行展示;或响应于未检测到针对上述横屏展示页面的第二用户操作,确定上述目标视频在上述横屏展示页面上的显示时间是否达到预设时间;响应于确定达到,控制上述横屏展示页面上的上述视频播控组件隐藏;或响应于检测到针对上述横屏展示页面的第三用户操作,显示上述视频播控组件。
根据本公开的一个或多个实施例,上述装置还包括:响应于检测到针对上述横屏展示页面上的上述退出横屏按钮控件的第四用户操作,显示上述播放页面。
根据本公开的一个或多个实施例,上述装置中的显示单元被进一步配置成:确定播放上述目标视频的终端设备的放置状态;响应于检测到针对上述进入横屏控件的点击操作,基于确定的放置状态显示上述目标视频的横屏展示页面。
根据本公开的一个或多个实施例,提供了一种电子设备,包括:一个或多个处理器;存储装置,其上存储有一个或多个程序,当一个或多个程序被上述一个或多个处理器执行时,使得上述一个或多个处理器实现如上述任一实施例描述的方法。
根据本公开的一个或多个实施例,提供了一种计算机可读介质,其上存储有计算机程序,其中,程序被处理器执行时实现如上述任一实施例描述的方法。
以上描述仅为本公开的一些较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开的实施例中所涉及的发明范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述发明构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开的实施例中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。

Claims (12)

  1. 一种用于显示视频的方法,包括:
    响应于目标视频的显示类型是横版视频,在所述目标视频的播放页面显示进入横屏控件,其中,所述进入横屏控件用于触发进入横屏页面,所述播放页面上包括预定位置标签栏,所述预定位置标签栏在所述播放页面上横向显示;
    响应于检测到针对所述进入横屏控件的点击操作,显示所述目标视频的横屏展示页面,在所述横屏展示页面上显示所述目标视频;
    响应于检测到针对所述横屏展示页面的所述切换操作,在所述横屏展示页面上显示切换后的视频。
  2. 根据权利要求1所述的方法,其中,所述显示类型的确定步骤包括:
    确定所述目标视频在所述播放页面上的显示框的相关信息,其中,所述相关信息包括:所述显示框的宽度信息和高度信息;
    响应于所述宽度信息大于所述高度信息,将所述目标视频的显示类型确定为横版视频。
  3. 根据权利要求1或2所述的方法,其中,所述方法还包括:
    增加所述横屏展示页面上显示的所述预定位置标签栏中的标签信息的透明度,其中,所述标签信息包括以下至少一项:文字信息和图标信息。
  4. 根据权利要求1-3中任一项所述的方法,其中,所述方法还包括:
    确定所述横屏展示页面上是否包括视频播控组件,其中,所述视频播控组件包括以下至少一项:当前播放时长控件、总时长控件、进度条控件、暂停按钮控件和退出横屏按钮控件;
    响应于确定所述横屏展示页面上包括视频播控组件,且检测到针对所述横屏展示页面的第一用户操作,控制所述横屏展示页面上的所述视频播控组件隐藏。
  5. 根据权利要求1-4中任一项所述的方法,其中,所述方法还包括:
    响应于确定所述横屏展示页面上不包括视频播控组件,且检测到针对所述横屏展示页面的第一用户操作,控制所述视频播控组件在所述横屏展示页面上进行展示;或
    响应于未检测到针对所述横屏展示页面的第二用户操作,确定所述目标视频在所述横屏展示页面上的显示时间是否达到预设时间;
    响应于确定所述目标视频在所述横屏展示页面上的显示时间达到预设时间,控制所述横屏展示页面上的所述视频播控组件隐藏;或
    响应于检测到针对所述横屏展示页面的第三用户操作,显示所述视频播控组件。
  6. 根据权利要求4或5所述的方法,其中,所述方法还包括:
    响应于检测到针对所述横屏展示页面上的所述退出横屏按钮控件的第四用户操 作,显示所述播放页面。
  7. 根据权利要求1-6中任一项所述的方法,其中,所述响应于检测到针对所述进入横屏控件的点击操作,显示所述目标视频的横屏展示页面,包括:
    确定播放所述目标视频的终端设备的放置状态;
    响应于检测到针对所述进入横屏控件的点击操作,基于确定的放置状态显示所述目标视频的横屏展示页面。
  8. 一种用于显示视频的装置,包括:
    添加单元,被配置成响应于目标视频的显示类型是横版视频,在所述目标视频的播放页面显示进入横屏控件,其中,所述进入横屏控件用于触发进入横屏页面,所述播放页面上包括预定位置标签栏,所述预定位置标签栏在所述播放页面上横向显示;
    显示单元,被配置成响应于检测到针对所述进入横屏控件的点击操作,显示所述目标视频的横屏展示页面,在所述横屏展示页面上显示所述目标视频;
    切换单元,被配置成响应于检测到针对所述横屏展示页面的所述切换操作,在所述横屏展示页面上显示切换后的视频。
  9. 一种电子设备,包括:
    一个或多个处理器;
    存储装置,其上存储有一个或多个程序;
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-7中任一项所述的方法。
  10. 一种计算机可读介质,其上存储有计算机程序,其中,所述程序被处理器执行时实现如权利要求1-7中任一项所述的方法。
  11. 一种计算机程序产品,其中,包括计算机程序指令,所述计算机程序指令使得计算机执行如权利要求1-7中任一项所述的方法。
  12. 一种计算机程序,其中,所述计算机程序使得计算机执行如权利要求1-7中任一项所述的方法。
PCT/CN2021/076412 2020-02-11 2021-02-09 用于显示视频的方法、装置、电子设备和介质 WO2021160143A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2022535893A JP7407289B2 (ja) 2020-02-11 2021-02-09 ビデオを表示するための方法、装置、電子機器及び媒体
US17/807,084 US20220308741A1 (en) 2020-02-11 2022-06-15 Method and apparatus for displaying video, electronic device and medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010087512.1 2020-02-11
CN202010087512.1A CN111338537B (zh) 2020-02-11 2020-02-11 用于显示视频的方法、装置、电子设备和介质

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/807,084 Continuation US20220308741A1 (en) 2020-02-11 2022-06-15 Method and apparatus for displaying video, electronic device and medium

Publications (1)

Publication Number Publication Date
WO2021160143A1 true WO2021160143A1 (zh) 2021-08-19

Family

ID=71185236

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/076412 WO2021160143A1 (zh) 2020-02-11 2021-02-09 用于显示视频的方法、装置、电子设备和介质

Country Status (4)

Country Link
US (1) US20220308741A1 (zh)
JP (1) JP7407289B2 (zh)
CN (1) CN111338537B (zh)
WO (1) WO2021160143A1 (zh)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111338537B (zh) * 2020-02-11 2021-06-25 北京字节跳动网络技术有限公司 用于显示视频的方法、装置、电子设备和介质
CN111741366A (zh) * 2020-07-16 2020-10-02 广州酷狗计算机科技有限公司 音频播放方法、装置、终端及存储介质
CN112153470B (zh) * 2020-09-11 2022-04-08 腾讯科技(深圳)有限公司 一种视频播放方法、装置、计算机设备和存储介质
CN112506868A (zh) * 2020-12-03 2021-03-16 北京达佳互联信息技术有限公司 一种文件展示方法、装置、电子设备及存储介质
CN113420247A (zh) * 2021-06-23 2021-09-21 北京字跳网络技术有限公司 页面展示方法、装置、电子设备、存储介质及程序产品
CN115988251B (zh) * 2021-10-14 2024-05-03 聚好看科技股份有限公司 移动终端及短视频展示的方法
CN114286122B (zh) * 2021-12-22 2024-05-28 北京字跳网络技术有限公司 一种直播间的页面展示方法、装置、设备、存储介质及程序产品
CN114415928A (zh) * 2022-01-17 2022-04-29 北京字跳网络技术有限公司 一种页面控制方法、装置、设备以及存储介质
CN114489336B (zh) * 2022-01-21 2024-03-29 北京有竹居网络技术有限公司 多媒体展示方法、装置、可读介质及电子设备
CN115237299B (zh) * 2022-06-29 2024-03-22 北京优酷科技有限公司 播放页面切换方法及终端设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106488293A (zh) * 2016-09-14 2017-03-08 乐视控股(北京)有限公司 视频播放方法及装置
US20170249925A1 (en) * 2014-05-30 2017-08-31 Guangzhou Ucweb Computer Technology Co., Ltd. Method and device for switching playing mode of a mobile terminal, storage medium and program
CN109151504A (zh) * 2018-09-28 2019-01-04 上海哔哩哔哩科技有限公司 一种视频自适应播放方法、装置和存储介质
CN109842818A (zh) * 2019-01-02 2019-06-04 平安科技(深圳)有限公司 一种视频播放方法、装置、计算机设备及存储介质
CN110769300A (zh) * 2019-10-16 2020-02-07 上海掌门科技有限公司 一种呈现信息流中横屏视频的方法与设备
CN111338537A (zh) * 2020-02-11 2020-06-26 北京字节跳动网络技术有限公司 用于显示视频的方法、装置、电子设备和介质

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100611182B1 (ko) * 2004-02-27 2006-08-10 삼성전자주식회사 회전상태에 따라 메뉴표시상태를 변경하는 휴대형전자기기 및 그 방법
US7956849B2 (en) * 2006-09-06 2011-06-07 Apple Inc. Video manager for portable multifunction device
US20080249925A1 (en) 2007-04-04 2008-10-09 Financial Crossing, Inc. Liability advice system and method
US20150100885A1 (en) 2013-10-04 2015-04-09 Morgan James Riley Video streaming on a mobile device
US10620796B2 (en) 2013-12-19 2020-04-14 Barnes & Noble College Booksellers, Llc Visual thumbnail scrubber for digital content
CN104978115B (zh) 2014-04-02 2019-09-20 腾讯科技(深圳)有限公司 内容显示方法及装置
KR20170064242A (ko) 2015-12-01 2017-06-09 삼성전자주식회사 영상통화를 제공하는 전자 장치 및 방법
US9961297B2 (en) 2015-12-26 2018-05-01 Intel Corporation Method and system of rotation of video frames for displaying a video
CN108260018B (zh) * 2017-02-13 2020-05-22 广州市动景计算机科技有限公司 网页视频的全屏设置方法、设备及网页视频设置移动设备
CN107168712B (zh) * 2017-05-19 2021-02-23 Oppo广东移动通信有限公司 界面绘制方法、移动终端及计算机可读存储介质
CN108234763B (zh) * 2017-12-29 2021-02-26 阿里巴巴(中国)有限公司 横竖屏切换方法、装置和终端
CN108924633B (zh) * 2018-07-16 2021-04-27 腾讯科技(深圳)有限公司 视频播放速率控制方法、装置、***及存储介质
CN110109636B (zh) 2019-04-28 2022-04-05 华为技术有限公司 投屏方法、电子设备以及***

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170249925A1 (en) * 2014-05-30 2017-08-31 Guangzhou Ucweb Computer Technology Co., Ltd. Method and device for switching playing mode of a mobile terminal, storage medium and program
CN106488293A (zh) * 2016-09-14 2017-03-08 乐视控股(北京)有限公司 视频播放方法及装置
CN109151504A (zh) * 2018-09-28 2019-01-04 上海哔哩哔哩科技有限公司 一种视频自适应播放方法、装置和存储介质
CN109842818A (zh) * 2019-01-02 2019-06-04 平安科技(深圳)有限公司 一种视频播放方法、装置、计算机设备及存储介质
CN110769300A (zh) * 2019-10-16 2020-02-07 上海掌门科技有限公司 一种呈现信息流中横屏视频的方法与设备
CN111338537A (zh) * 2020-02-11 2020-06-26 北京字节跳动网络技术有限公司 用于显示视频的方法、装置、电子设备和介质

Also Published As

Publication number Publication date
US20220308741A1 (en) 2022-09-29
CN111338537A (zh) 2020-06-26
JP2023506801A (ja) 2023-02-20
CN111338537B (zh) 2021-06-25
JP7407289B2 (ja) 2023-12-28

Similar Documents

Publication Publication Date Title
WO2021160143A1 (zh) 用于显示视频的方法、装置、电子设备和介质
WO2021160142A1 (zh) 视频播放方法、装置、电子设备和计算机可读介质
WO2021004221A1 (zh) 特效的展示处理方法、装置及电子设备
WO2021088798A1 (zh) 信息展示方法、装置、电子设备和计算机可读介质
WO2021052255A1 (zh) 热点推荐弹窗的控制方法、装置、介质及电子设备
WO2021147462A1 (zh) 标签展示方法、装置、电子设备和计算机可读介质
WO2021223752A1 (zh) 展示方法、装置和电子设备
WO2021135626A1 (zh) 菜单项选择方法、装置、可读介质及电子设备
WO2021218518A1 (zh) 视频的处理方法、装置、设备及介质
WO2023169340A1 (zh) 信息展示方法、装置、电子设备、存储介质和程序产品
WO2023160416A1 (zh) 信息展示方法、装置、电子设备、存储介质和程序产品
WO2021052256A1 (zh) 弹窗的控制方法、装置、介质及电子设备
WO2021114979A1 (zh) 视频页面显示方法、装置、电子设备和计算机可读介质
US11586255B2 (en) Method and apparatus for adjusting view for target device, electronic device and medium
WO2020253453A1 (zh) 图像切换方法、装置、电子设备及存储介质
WO2023072296A1 (zh) 多媒体信息处理方法、装置、电子设备和存储介质
WO2021218556A1 (zh) 信息展示方法、装置和电子设备
WO2023024921A1 (zh) 视频交互方法、装置、设备及介质
WO2020156056A1 (zh) 一种视频播放的控制方法、装置、设备和介质
WO2023134559A1 (zh) 评论提示方法、装置、电子设备、存储介质和程序产品
US20230421857A1 (en) Video-based information displaying method and apparatus, device and medium
WO2023216936A1 (zh) 视频播放方法、装置、电子设备、存储介质和程序产品
WO2024008184A1 (zh) 一种信息展示方法、装置、电子设备、计算机可读介质
EP3890331A1 (en) Information interaction method and device, electronic apparatus, and computer readable storage medium
WO2021218919A1 (zh) 人机交互方法、装置和电子设备

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: 21753615

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2022535893

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21753615

Country of ref document: EP

Kind code of ref document: A1

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.02.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21753615

Country of ref document: EP

Kind code of ref document: A1