WO2020134864A1 - 视频播放方法、装置及设备 - Google Patents

视频播放方法、装置及设备 Download PDF

Info

Publication number
WO2020134864A1
WO2020134864A1 PCT/CN2019/122087 CN2019122087W WO2020134864A1 WO 2020134864 A1 WO2020134864 A1 WO 2020134864A1 CN 2019122087 W CN2019122087 W CN 2019122087W WO 2020134864 A1 WO2020134864 A1 WO 2020134864A1
Authority
WO
WIPO (PCT)
Prior art keywords
video playback
component
video
playback component
layout
Prior art date
Application number
PCT/CN2019/122087
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 北京字节跳动网络技术有限公司
Publication of WO2020134864A1 publication Critical patent/WO2020134864A1/zh

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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4438Window management, e.g. event handling following interaction with the user interface
    • 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

Definitions

  • the present disclosure relates to the technical field of application program development, and in particular to a video playback method, device, and equipment.
  • Activity is an application component that provides interactive functions for users by providing a screen.
  • the Activity may include a slideable component, a video playback component, etc., to provide users with functions such as video playback and sliding.
  • a video playback component is usually added to the root layout of the current Activity.
  • the position of the video playback component is continuously adjusted through position synchronization so that the video playback component slides along with the slideable component, presenting to the user A feeling that the video playback component is in the slideable component.
  • the position adjustment of the video playback component in this solution is intermittent and cannot be followed 100%, and due to the difference in the timing of the call, the code for synchronously adjusting the position often fails to take effect in time, resulting in the video playback component obscuring the content of the slideable component.
  • An embodiment of the first aspect of the present disclosure provides a video playback method, including:
  • Controlling the video playback component to perform video playback Controlling the video playback component to perform video playback.
  • the adding the video playback component to the project of the slidable component includes: directly adding the layout of the video playback component to the project layout of the slidable component; or, by The newly created way creates the video playback component in the project layout of the slidable component.
  • the controlling the video playback component to perform video playback includes: receiving a full-screen playback instruction; removing the video playback component from the current project and adding it to the application root layout; and adjusting The size and screen orientation of the video playback component, so that the video playback component plays the video in full screen.
  • the removing the video playback component from the current project and adding it to the application root layout includes: removing the video playback component from the current project and adding it to the application The top layer of the root layout.
  • the video playback method further includes: receiving an instruction to exit the full screen; and determining with the video playback component Corresponding target item; remove the video playback component from the root layout of the application and add it to the target item; adjust the size and screen orientation of the video playback component.
  • the determining the target item corresponding to the video playback component includes: comparing the first video source corresponding to the video playback component with the video source corresponding to each item in the slideable component; and A second video source consistent with the first video source is determined from the video sources corresponding to the items, and the item corresponding to the second video source is determined as the target item.
  • An embodiment of the second aspect of the present disclosure provides a video playback device, including:
  • the determination module is configured to determine a slidable component to be laid out
  • a processing module configured to add a video playback component to the item of the slidable component
  • the playback module is configured to control the video playback component to perform video playback.
  • the playback module may include: a receiving unit configured to receive a full-screen playback instruction; a processing unit configured to remove the video playback component from the current project and add it to the application root In the layout; and an adjustment unit configured to adjust the size and screen orientation of the video playback component so that the video playback component plays the video in full screen.
  • the processing unit is further configured to: remove the video playback component from the current project and add it to the uppermost layer of the application root layout.
  • the receiving unit is further configured to receive a full screen exit instruction
  • the playback module further includes: a determining unit, further configured to determine a target item corresponding to the video playback component
  • the processing unit Is further configured to remove the video playback component from the application root layout and add it to the target project
  • the adjustment unit is further configured to adjust the size and screen orientation of the video playback component .
  • the determination unit is further configured to: compare the first video source corresponding to the video playback component with the video source corresponding to each item in the slidable component; from the video corresponding to each item The source determines a second video source consistent with the first video source, and determines that the item corresponding to the second video source is the target item.
  • An embodiment of the third aspect of the present disclosure provides an electronic device, including a processor and a memory; wherein, the processor runs an executable program code corresponding to the executable program code by reading the executable program code stored in the memory A program for implementing the video playback method as described in the embodiment of the first aspect.
  • An embodiment of the fourth aspect of the present disclosure provides a non-transitory computer-readable storage medium on which a computer program is stored, which when executed by a processor implements the video playback method as described in the embodiment of the first aspect.
  • FIG. 1 is a schematic flowchart of a video playback method provided by an embodiment of the present disclosure
  • FIG. 2 is a schematic flowchart of another video playback method provided by an embodiment of the present disclosure.
  • FIG. 3 is a schematic flowchart of another video playback method provided by an embodiment of the present disclosure.
  • FIG. 4 is a schematic structural diagram of a video playback device provided by an embodiment of the present disclosure.
  • FIG. 5 is a schematic structural diagram of another video playback device provided by an embodiment of the present disclosure.
  • FIG. 6 shows a block diagram of an exemplary electronic device suitable for implementing embodiments of the present disclosure.
  • FIG. 1 is a schematic flowchart of a video playback method provided by an embodiment of the present disclosure. As shown in FIG. 1, the method includes:
  • Step 101 Determine a slidable component to be laid out.
  • the video playback method of the embodiments of the present disclosure can be applied to electronic devices.
  • electronic devices include, but are not limited to, smart phones, tablet computers, personal digital assistants, wearable devices, and other devices with video playback capabilities.
  • a video playback component may be set to play video through the video playback component.
  • the slideable component to be laid out may be determined first, so as to further add the video playback component to the layout of the slideable component.
  • the ListView component is determined to be a slideable component to be laid out.
  • the slidable components include but are not limited to ListView, RecyclerView, ViewPager and other slidable components.
  • Step 102 Add the video playback component to the project of the slideable component.
  • the layout of the video playback component is directly added to the project layout of the slideable component.
  • the relevant layout of the video playback component can be added to the ItemView layout of the ListView, so that the system adds the video playback component to the item of the slideable component ListView by calling newView.
  • a video playback component is created in the project layout of the slidable component in a new way.
  • a video playback component can be directly created in the ListView through the new View method, so that the video playback component is added to the item Item of the slideable component ListView.
  • the slideable component may include one or more items.
  • Step 103 Control the video playback component to perform video playback.
  • the video playback instruction may be triggered by the user, for example, in the form of triggering the video playback button. Furthermore, the electronic device receives the video playback instruction and controls the video playback component to perform video playback.
  • the electronic device when playing a full-screen video, can also receive a full-screen playback instruction, and further, the video playback component is removed from the current project and added to the application root layout. Further, the size and screen orientation of the video playback component are adjusted, and other components in the root layout of the application program are hidden, so that the video playback component plays the video in full screen.
  • a video playback component when a video playback component is set, a video playback component is usually added under the root layout of the application.
  • a slideable component such as ListView starts to slide, for example, when the user browses the news and slides the news push list, if the position of an item in the list includes the video playback component, the position of the video playback component needs to be continuously adjusted in the onScroll callback, Make the video playback component slide along with the ListView, so that the video playback component does not block the content in the ListView, and at the same time presents a visual effect of the video playback component in the ListView to the user.
  • the position adjustment of the video playback component is also intermittent, and it is impossible to achieve 100% follow-up.
  • the delay in the position adjustment of the video playback component is particularly noticeable on low-end models. Due to the difference in calling timing, the code for synchronously adjusting the position often does not take effect in time, and the video playback component may block the ListView. The amount of code to maintain the synchronization position is large, the complexity is high, and there are many bugs.
  • the video playback component by determining the slideable component to be laid out, and then adding the video playback component to the project of the slideable component, the video playback component is further controlled to perform video playback.
  • the video playback component by adding the video playback component to the project of the slideable component, if the slideable component starts to slide when playing the video, since the video playback component is set in the project, the video playback component will automatically follow the slideable component to slide , To achieve 100% follow-up, reducing the delay of the video playback component position adjustment, to avoid the video playback component blocking other content in the slideable component.
  • no code related to position synchronization is needed, which reduces the amount of code, solves the problem of high code complexity, and reduces the number of bugs.
  • the video playback method of the embodiment of the present disclosure can achieve full-screen playback of the video playback component.
  • the following describes the full-screen playback in detail.
  • FIG. 2 is a schematic flowchart of another video playback method provided by an embodiment of the present disclosure. As shown in FIG. 2, after the video playback component is added to the item of the slidable component, the method includes:
  • Step 201 Receive a full-screen playback instruction.
  • a full-screen playback button may be preset, and the user uses the button to trigger a full-screen playback instruction. Furthermore, the electronic device receives the full-screen playback instruction to further control the video playback component to change to the full-screen mode.
  • the implementation form of the full-screen playback instruction includes but not limited to key trigger, voice trigger, touch track trigger, and the like.
  • Step 202 Remove the video playback component from the current project and add it to the top layer of the root layout of the application.
  • the video playback component can be removed from the current Item of ListView, and the video playback component can be added to the top layer of the root layout of the current Activity.
  • the video playback component can also be added to the application root layout when it is removed from the current project. For example, you can remove the video playback component from the current Item in the ListView, and add the video playback component to any layer of the root layout of the current Activity. Furthermore, adjust the size and screen orientation of the video playback component, and hide other components that may block the video playback component, so that the video playback component plays the video in full screen.
  • Step 203 Adjust the size of the video playback component and the screen orientation so that the video playback component plays the video in full screen.
  • the video playback component can be adjusted to the full screen size, and the ratio of the video playback component can be obtained, and the screen orientation can be adjusted according to the scale.
  • the screen orientation corresponding to the video playback component can be adjusted to the horizontal screen according to the scale. Since the video playback component is at the top level of the root layout, other components are naturally blocked, so no additional hidden component operations are required.
  • the video playback method of the embodiment of the present disclosure may also enable the video playback component to exit full-screen playback.
  • the following describes in detail the case of exiting full-screen playback.
  • FIG. 3 is a schematic flowchart of another video playback method provided by an embodiment of the present disclosure. As shown in FIG. 3, after the video playback component is added to the item of the slidable component, the method includes:
  • Step 301 Receive an instruction to exit the full screen.
  • an exit full-screen button may be preset, and the user triggers an exit full-screen instruction through the button. Furthermore, the electronic device receives the exit full screen instruction to further control the video playback component to exit the full screen mode.
  • the implementation form of the exit full screen instruction includes but is not limited to key trigger, voice trigger, touch track trigger, and so on.
  • Step 302 Determine the target item corresponding to the video playback component.
  • the first video source corresponding to the video playback component and the video source corresponding to each item in the slideable component may be compared, and further, the video source corresponding to each item may be determined to be consistent with the first video source.
  • the second video source and determine that the item corresponding to the second video source is the target item.
  • the video playback component corresponds to video source A
  • item 1 in the slideable component corresponds to video source A
  • item 2 corresponds to video source B
  • the video source may be the video source address.
  • the above implementation method of determining the target item is only an example, and the target item can also be determined by setting the identification information in advance and matching, which is not limited here.
  • the video source in the slidable component when the video source in the slidable component is not repeated, only one video source in the slidable component is consistent with the first video source, and the item corresponding to the video source consistent with the first video source is determined as the target Project; when the video source in the slideable component is duplicated, you can compare the first video source with the video source in the slideable component in the preset order, and target the item corresponding to the first matching video source as the target project.
  • Step 303 Remove the video playback component from the root layout of the application and add it to the target project.
  • Step 304 Adjust the size and screen orientation of the video playback component.
  • the video playback component can be removed from the application root layout and added to the target project, for example, taking ListView as an example, the video playback component can be removed from the root of the current Activity Next remove, and add the video playback component to the determined target Item. Furthermore, adjust the size and screen orientation of the video playback component.
  • the size of the target item can be obtained, and then, the size of the video playback component can be adjusted to the size of the target item, and the screen orientation of the video playback component can be restored.
  • the video playback method of the embodiment of the present disclosure achieves video playback by removing the video playback component from the current project and adding it to the top layer of the root layout of the application, and adjusting the size and screen orientation of the video playback component to the full-screen mode Full-screen playback of components.
  • the video playback component is removed from the application root layout and added to the target project, and then the size and screen orientation of the video playback component are adjusted, and the video playback component exits full-screen playback To ensure the reliability of video playback in the embodiments of the present disclosure.
  • the present disclosure also proposes a video playback device.
  • FIG. 4 is a schematic structural diagram of a video playback device according to an embodiment of the present disclosure. As shown in FIG. 4, the device includes: a determination module 100, a processing module 200, and a playback module 300.
  • the determination module 100 determines the slidable components to be laid out.
  • the processing module 200 adds the video playback component to the item of the slideable component.
  • the playback module 300 controls the video playback component to perform video playback.
  • the playback module 300 includes: a receiving unit 310, a processing unit 320, an adjusting unit 330, and a determining unit 340.
  • the receiving unit 310 receives a full-screen playback instruction.
  • the processing unit 320 removes the video playback component from the current project and adds it to the application root layout.
  • the adjusting unit 330 adjusts the size and screen orientation of the video playback component so that the video playback component plays the video in full screen.
  • processing unit 320 removes the video playback component from the current project and adds it to the uppermost layer of the application root layout.
  • the receiving unit 310 also receives an instruction to exit the full screen.
  • the playing module 300 further includes: a determining unit 340, which determines the target item corresponding to the video playing component.
  • the processing unit 320 is further configured to remove the video playback component from the application root layout and add it to the target project; and the adjustment unit 330 is further configured to adjust the size and screen orientation of the video playback component.
  • the determining unit 340 compares the first video source corresponding to the video playback component with the video source corresponding to each item in the slidable component; and determines the second corresponding to the first video source from the video sources corresponding to each item Video source, and determine the item corresponding to the second video source as the target item.
  • processing module 200 directly adds the layout of the video playback component to the project layout of the slideable component; or, creates the video playback component in the project layout of the slideable component in a new way.
  • the present disclosure also proposes an electronic device, including a processor and a memory; wherein, the processor runs the program corresponding to the executable program code by reading the executable program code stored in the memory for Implement the video playback method as described in any of the foregoing embodiments.
  • the present disclosure also proposes a computer program product, which implements the video playback method described in any of the foregoing embodiments when instructions in the computer program product are executed by a processor.
  • the present disclosure also proposes a non-transitory computer-readable storage medium on which a computer program is stored, which when executed by a processor implements the video playback method described in any of the foregoing embodiments.
  • FIG. 6 shows a block diagram of an exemplary electronic device suitable for implementing embodiments of the present disclosure.
  • the electronic device 12 shown in FIG. 6 is only an example, and should not bring any limitation to the functions and use scope of the embodiments of the present disclosure.
  • the electronic device 12 is represented in the form of a general-purpose computing device.
  • the components of the electronic device 12 may include, but are not limited to, one or more processors or processing units 16, a system memory 28, and a bus 18 that connects different system components (including the system memory 28 and the processing unit 16).
  • the bus 18 represents one or more of several types of bus structures, including a memory bus or a memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of a variety of bus structures.
  • these architectures include, but are not limited to, industry standard architecture (Industry Standard Architecture; hereinafter referred to as: ISA) bus, micro channel architecture (Micro Channel Architecture (hereinafter referred to as: MAC) bus, enhanced ISA bus, video electronics Standard Association (Video Electronics Standards Association; hereinafter referred to as: VESA) local bus and peripheral component interconnection (Peripheral Component Interconnection; hereinafter referred to as: PCI) bus.
  • Industry Standard Architecture hereinafter referred to as: ISA
  • MAC Micro Channel Architecture
  • VESA Video Electronics Standards Association
  • PCI peripheral component interconnection
  • the electronic device 12 typically includes a variety of computer system readable media. These media may be any available media that can be accessed by the electronic device 12, including volatile and nonvolatile media, removable and non-removable media.
  • the memory 28 may include a computer system readable medium in the form of volatile memory, such as random access memory (Random Access Memory; hereinafter referred to as RAM) 30 and/or cache memory 32.
  • RAM random access memory
  • the electronic device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media.
  • the storage system 34 may be used to read and write non-removable, non-volatile magnetic media (not shown in FIG. 6 and is commonly referred to as a "hard disk drive").
  • each drive may be connected to the bus 18 through one or more data medium interfaces.
  • the memory 28 may include at least one program product having a set (eg, at least one) of program modules, which are configured to perform the functions of the embodiments of the present application.
  • a program/utility tool 40 having a set of (at least one) program modules 42 may be stored in, for example, the memory 28.
  • Such program modules 42 include but are not limited to an operating system, one or more application programs, other program modules, and program data Each of these examples or some combination may include the implementation of a network environment.
  • the program module 42 generally performs the functions and/or methods in the embodiments described in this application.
  • the electronic device 12 may also communicate with one or more external devices 14 (eg, keyboard, pointing device, display 24, etc.), and may also communicate with one or more devices that enable users to interact with the computer system/server 12, and/or Or communicate with any device (such as a network card, modem, etc.) that enables the computer system/server 12 to communicate with one or more other computing devices. This communication can be performed through an input/output (I/O) interface 22.
  • external devices 14 eg, keyboard, pointing device, display 24, etc.
  • any device such as a network card, modem, etc.
  • the electronic device 12 may also be connected to one or more networks (such as a local area network (Local Area Network; hereinafter referred to as: LAN), wide area network (Wide Area Network; hereinafter referred to as WAN) and/or a public network, such as the Internet through the network adapter 20 ) Communication.
  • networks such as a local area network (Local Area Network; hereinafter referred to as: LAN), wide area network (Wide Area Network; hereinafter referred to as WAN) and/or a public network, such as the Internet through the network adapter 20 ) Communication.
  • the network adapter 20 communicates with other modules of the electronic device 12 via the bus 18.
  • other hardware and/or software modules may be used in conjunction with the electronic device 12, including but not limited to: microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive And data backup storage system.
  • the processing unit 16 executes various functional applications and data processing by running the program stored in the system memory 28, for example, to implement the method mentioned in the foregoing embodiment.
  • first and second are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated.
  • the features defined as “first” and “second” may include at least one of the features explicitly or implicitly.
  • the meaning of "plurality” is at least two, for example, two, three, etc., unless specifically defined otherwise.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本公开提出了一种视频播放方法、装置及设备,其中,该方法包括:确定待布局的可滑动组件;将视频播放组件添加至可滑动组件的项目中;控制视频播放组件进行视频播放。由此,通过将视频播放组件添加至可滑动组件的项目中,实现了当可滑动组件开始滑动时,视频播放组件会自动跟随可滑动组件进行滑动,实现100%跟手,降低了视频播放组件位置调整的延迟,避免视频播放组件遮挡可滑动组件中的其他内容。

Description

视频播放方法、装置及设备
相关申请的交叉引用
本公开要求于2018年12月27日在中国国家知识产权局提交的申请号为201811608783.6的中国专利申请的权益,其全部内容通过引用整体并入本文。
技术领域
本公开涉及应用程序开发技术领域,尤其涉及一种视频播放方法、装置及设备。
背景技术
在Android系统中,Activity是一个应用程序组件,通过提供一个屏幕为用户提供交互功能。例如,Activity中可以包括可滑动组件、视频播放组件等,从而为用户提供视频播放、滑动等功能。
相关技术中,通常在当前Activity的根布局下增加视频播放组件,在可滑动组件开始滑动时,通过位置同步不断调整视频播放组件的位置,使视频播放组件跟随可滑动组件滑动,给用户呈现出一种视频播放组件就在可滑动组件中的感觉。然而,该方案中视频播放组件的位置调整是间歇性的,无法做到100%跟手,并且由于调用时机差异,同步调整位置的代码往往不能及时生效,导致视频播放组件遮挡可滑动组件内容。
发明内容
本公开第一方面实施例提出了一种视频播放方法,包括:
确定待布局的可滑动组件;
将视频播放组件添加至所述可滑动组件的项目中;以及
控制所述视频播放组件进行视频播放。
根据本公开的实施例,所述将视频播放组件添加至所述可滑动组件的项目中,包括:将所述视频播放组件的布局直接添加至所述可滑动组件的项目布局中;或者,通过新建的方式在所述可滑动组件的项目布局中创建所述视频播放组件。
根据本公开的实施例,所述控制所述视频播放组件进行视频播放,包括:接收全屏播放指令;将所述视频播放组件从当前项目中移除,并添加至应用程序根布局中;以及调整所述视频播放组件的大小与屏幕方向,以使所述视频播放组件全屏播放视频。
根据本公开的实施例,所述将所述视频播放组件从当前项目中移除,并添加至应用程 序根布局中包括:将所述视频播放组件从当前项目中移除,并添加至应用程序根布局的最上层。
根据本公开的实施例,在调整所述视频播放组件的大小与屏幕方向,以使所述视频播放组件全屏播放视频之后,视频播放方法还包括:接收退出全屏指令;确定与所述视频播放组件对应的目标项目;将所述视频播放组件从所述应用程序根布局中移除,并添加至所述目标项目中;调整所述视频播放组件的大小与屏幕方向。
根据本公开的实施例,所述确定与所述视频播放组件对应的目标项目,包括:比较所述视频播放组件对应的第一视频源与所述可滑动组件中各项目对应的视频源;以及从所述各项目对应的视频源中确定与所述第一视频源一致的第二视频源,并确定与所述第二视频源对应的项目为目标项目。
本公开第二方面实施例提出了一种视频播放装置,包括:
确定模块,被配置为确定待布局的可滑动组件;
处理模块,被配置为将视频播放组件添加至所述可滑动组件的项目中;以及
播放模块,被配置为控制所述视频播放组件进行视频播放。
根据本公开的实施例,所述播放模块可以包括:接收单元,被配置为接收全屏播放指令;处理单元,被配置为将所述视频播放组件从当前项目中移除,并添加至应用程序根布局中;以及调整单元,被配置为调整所述视频播放组件的大小与屏幕方向,以使所述视频播放组件全屏播放视频。
根据本公开的实施例,所述处理单元被进一步配置为:将所述视频播放组件从当前项目中移除,并添加至应用程序根布局的最上层。
根据本公开的实施例,所述接收单元被进一步配置为接收退出全屏指令,所述播放模块还包括:确定单元,被进一步配置为确定与所述视频播放组件对应的目标项目,所述处理单元被进一步配置为将所述视频播放组件从所述应用程序根布局中移除,并添加至所述目标项目中,并且所述调整单元被进一步配置为调整所述视频播放组件的大小与屏幕方向。
根据本公开的实施例,所述确定单元被进一步配置为:比较所述视频播放组件对应的第一视频源与所述可滑动组件中各项目对应的视频源;从所述各项目对应的视频源中确定与所述第一视频源一致的第二视频源,并确定与所述第二视频源对应的项目为目标项目。
本公开第三方面实施例提出了一种电子设备,包括处理器和存储器;其中,所述处理器通过读取所述存储器中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于实现如第一方面实施例所述的视频播放方法。
本公开第四方面实施例提出了一种非临时性计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如第一方面实施例所述的视频播放方法。
本公开附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本公开的实践了解到。
附图说明
图1为本公开实施例所提供的一种视频播放方法的流程示意图;
图2为本公开实施例所提供的另一种视频播放方法的流程示意图;
图3为本公开实施例所提供的另一种视频播放方法的流程示意图;
图4为本公开实施例所提供的一种视频播放装置的结构示意图;
图5为本公开实施例所提供的另一种视频播放装置的结构示意图;以及
图6示出了适于用来实现本公开实施例的示例性电子设备的框图。
具体实施方式
下面详细描述本公开的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本公开,而不能理解为对本公开的限制。
下面参考附图描述本公开实施例的视频播放方法、装置及设备。
图1为本公开实施例所提供的一种视频播放方法的流程示意图,如图1所示,该方法包括:
步骤101,确定待布局的可滑动组件。
本公开实施例的视频播放方法可以应用于电子设备。其中,电子设备包括但不限于智能手机、平板电脑、个人数字助理、穿戴式设备等具有视频播放功能的设备。
本实施例中,可以设置视频播放组件,以通过视频播放组件播放视频。比如,可以先确定待布局的可滑动组件,以便于进一步将视频播放组件添加至可滑动组件的布局中。
例如,以Android系统为例,在将视频播放组件添加至ListView布局中时,确定该ListView组件为待布局的可滑动组件。其中,可滑动组件包括但不限于ListView、RecyclerView、ViewPager等可滑动的组件。
步骤102,将视频播放组件添加至可滑动组件的项目中。
在本公开的一个实施例中,将视频播放组件的布局直接添加至可滑动组件的项目布局中。例如,以可滑动组件为ListView组件为例,可以将视频播放组件的相关布局加入ListView的Item布局,以使系统通过调用new View的方式将视频播放组件添加至可滑动组件ListView的项目Item中。
在本公开的一个实施例中,通过新建的方式在可滑动组件的项目布局中创建视频播放 组件。例如,以可滑动组件为ListView组件为例,可以直接通过new View的方式在ListView中创建视频播放组件,从而实现将视频播放组件添加至可滑动组件ListView的项目Item中。
其中,可滑动组件中可以包括一个或多个项目Item。
需要说明的是,上述将视频播放组件添加至可滑动组件的项目中的实现方式仅仅是示例性的,本领域技术人员可以根据需要进行设置,此处不作限制。
步骤103,控制视频播放组件进行视频播放。
在本公开的一个实施例中,在将视频播放组件添加至可滑动组件的项目中之后,可以由用户触发视频播放指令,比如以触发视频播放按键的形式触发视频播放指令。进而,电子设备接收视频播放指令,控制视频播放组件进行视频播放。
在本公开的一个实施例中,在进行全屏视频播放时,电子设备还可以接收全屏播放指令,进而,将视频播放组件从当前项目中移除,并添加至应用程序根布局中。进一步,调整所述视频播放组件的大小与屏幕方向,并隐藏应用程序根布局中的其他组件,以使视频播放组件全屏播放视频。
可以理解,相关技术中在设置视频播放组件时,通常在应用程序根布局下添加视频播放组件。而当ListView等可滑动组件开始滑动时,例如在用户浏览新闻并滑动新闻推送列表时,若列表中某一项目的位置处包括视频播放组件,需要在onScroll回调中不断调整视频播放组件的位置,使视频播放组件跟随ListView滑动,从而使视频播放组件不会挡住ListView中的内容,同时给用户呈现出一种视频播放组件就在ListView中的视觉效果。然而,由于onScroll回调有间歇性,因此视频播放组件的位置调整也是间歇性的,无法做到100%跟手,视频播放组件的位置调整延迟在低端机型上尤为明显。由于调用时机差异,同步调整位置的代码往往不能及时生效,会出现视频播放组件遮挡ListView的情况。维护同步位置的代码量大,复杂度高,bug较多。
本公开实施例的视频播放方法,通过确定待布局的可滑动组件,进而将视频播放组件添加至可滑动组件的项目中,进一步控制视频播放组件进行视频播放。本实施例中,通过将视频播放组件添加至可滑动组件的项目中,在播放视频时若可滑动组件开始滑动,由于视频播放组件设置在项目中,视频播放组件会自动跟随可滑动组件进行滑动,实现100%跟手,降低了视频播放组件位置调整的延迟,避免视频播放组件遮挡可滑动组件中的其他内容。并且,由于不需要进行位置的同步,不再需要位置同步相关的代码,降低了代码量,解决了代码复杂度高的问题,降低bug数量。
基于上述实施例,进一步地,本公开实施例的视频播放方法,可以实现视频播放组件的全屏播放,下面针对全屏播放的情况进行详细说明。
图2为本公开实施例所提供的另一种视频播放方法的流程示意图,如图2所示,在将视频播放组件添加至可滑动组件的项目中之后,该方法包括:
步骤201,接收全屏播放指令。
作为一种可能的实现方式,可以预先设置全屏播放按键,用户通过该按键触发全屏播放指令。进而,电子设备接收该全屏播放指令,以进一步控制视频播放组件变为全屏模式。
其中,全屏播放指令的实现形式包括但不限于按键触发、语音触发、触摸轨迹触发等。
步骤202,将视频播放组件从当前项目中移除,并添加至应用程序根布局的最上层。
作为一种示例,以ListView为例,可以将视频播放组件从ListView的当前Item中移除,并将视频播放组件添加至当前Activity的根布局的最上层。
在本公开的一个实施例中,还可以将视频播放组件从当前项目中移除时,并添加至应用程序根布局中。例如,可以将视频播放组件从ListView的当前Item中移除,并将视频播放组件添加至当前Activity的根布局的任意一层。进而,调整视频播放组件的大小与屏幕方向,并隐藏可能挡住视频播放组件的其他组件,以使视频播放组件全屏播放视频。
步骤203,调整视频播放组件的大小与屏幕方向,以使视频播放组件全屏播放视频。
作为一种可能的实现方式,可以将视频播放组件调整至全屏大小,并获取视频播放组件的比例,根据比例调整屏幕方向,例如,可以根据比例将视频播放组件对应的屏幕方向调整为横屏。由于视频播放组件在根布局的最上层,其他组件自然会被遮挡,因此无需额外的隐藏组件操作。
基于上述实施例,进一步地,本公开实施例的视频播放方法,还可以实现视频播放组件退出全屏播放,下面针对退出全屏播放的情况进行详细说明。
图3为本公开实施例所提供的另一种视频播放方法的流程示意图,如图3所示,在将视频播放组件添加至可滑动组件的项目中之后,该方法包括:
步骤301,接收退出全屏指令。
作为一种可能的实现方式,可以预先设置退出全屏按键,用户通过该按键触发退出全屏指令。进而,电子设备接收该退出全屏指令,以进一步控制视频播放组件退出全屏模式。
其中,退出全屏指令的实现形式包括但不限于按键触发、语音触发、触摸轨迹触发等。
步骤302,确定与视频播放组件对应的目标项目。
在本公开的一个实施例中,可以比较视频播放组件对应的第一视频源与可滑动组件中各项目对应的视频源,进而,从各项目对应的视频源中确定与第一视频源一致的第二视频源,并确定与该第二视频源对应的项目为目标项目。例如,视频播放组件对应视频源A,可滑动组件中项目1对应视频源A、项目2对应视频源B,比较获知项目1为目标项目。其中,视频源可以是视频源地址。
需要说明的是,上述确定目标项目的实现方式仅仅是一种示例,还可以通过预先设置标识信息并匹配的方式确定目标项目,此处不作限制。
根据本公开的实施例,当可滑动组件中的视频源不重复时,只有一个可滑动组件中的视频源与第一视频源一致,确定与第一视频源一致的视频源对应的项目作为目标项目;当可滑动组件中的视频源存在重复时,可以按照预设顺序比较第一视频源与可滑动组件中的视频源,并将匹配到的第一个一致的视频源对应的项目作为目标项目。
步骤303,将视频播放组件从应用程序根布局中移除,并添加至目标项目中。
步骤304,调整视频播放组件的大小与屏幕方向。
本实施例中,在确定目标项目后,可以将视频播放组件从应用程序根布局中移除,并添加至目标项目中,例如,以ListView为例,可以将视频播放组件从当前Activity的根布局下移除,并将视频播放组件添加至确定的目标Item中。进而,调整视频播放组件的大小与屏幕方向。
作为一种示例,可以获取目标项目的大小,进而,将视频播放组件大小调整至目标项目的大小,并恢复视频播放组件的屏幕方向。
本公开实施例的视频播放方法,通过将视频播放组件从当前项目中移除,并添加至应用程序根布局的最上层,并调整视频播放组件的大小与屏幕方向至全屏模式,实现了视频播放组件的全屏播放。通过确定与视频播放组件对应的目标项目,将视频播放组件从应用程序根布局中移除,并添加至目标项目中,进而调整视频播放组件的大小与屏幕方向,实现了视频播放组件退出全屏播放,保证了本公开实施例中视频播放的可靠性。
为了实现上述实施例,本公开还提出一种视频播放装置。
图4为本公开实施例所提供的一种视频播放装置的结构示意图,如图4所示,该装置包括:确定模块100,处理模块200,播放模块300。
其中,确定模块100确定待布局的可滑动组件。
处理模块200将视频播放组件添加至可滑动组件的项目中。
播放模块300控制视频播放组件进行视频播放。
在图4的基础上,图5所示的视频播放装置中,播放模块300包括:接收单元310、处理单元320、调整单元330、确定单元340。
其中,接收单元310接收全屏播放指令。
处理单元320将视频播放组件从当前项目中移除,并添加至应用程序根布局中。
调整单元330调整视频播放组件的大小与屏幕方向,以使视频播放组件全屏播放视频。
进一步地,处理单元320将视频播放组件从当前项目中移除,并添加至应用程序根布局的最上层。
进一步地,接收单元310还接收退出全屏指令。播放模块300还包括:确定单元340,确定与视频播放组件对应的目标项目。处理单元320被进一步配置为将视频播放组件从应用程序根布局中移除,并添加至目标项目中;并且调整单元330被进一步配置为调整视频播放组件的大小与屏幕方向。
进一步地,确定单元340比较视频播放组件对应的第一视频源与可滑动组件中各项目对应的视频源;从所述各项目对应的视频源中确定与所述第一视频源一致的第二视频源,并确定与第二视频源对应的项目为目标项目。
进一步地,处理模块200将视频播放组件的布局直接添加至可滑动组件的项目布局中;或者,通过新建的方式在可滑动组件的项目布局中创建视频播放组件。
需要说明的是,前述实施例中对视频播放方法的解释说明同样适用于本实施例的视频播放装置,此处不再赘述。
为了实现上述实施例,本公开还提出一种电子设备,包括处理器和存储器;其中,处理器通过读取存储器中存储的可执行程序代码来运行与可执行程序代码对应的程序,以用于实现如前述任一实施例所述的视频播放方法。
为了实现上述实施例,本公开还提出一种计算机程序产品,当计算机程序产品中的指令被处理器执行时实现如前述任一实施例所述的视频播放方法。
为了实现上述实施例,本公开还提出一种非临时性计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如前述任一实施例所述的视频播放方法。
图6示出了适于用来实现本公开实施例的示例性电子设备的框图。图6示出的电子设备12仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图6所示,电子设备12以通用计算设备的形式表现。电子设备12的组件可以包括但不限于:一个或者多个处理器或者处理单元16、系统存储器28、连接不同系统组件(包括系统存储器28和处理单元16)的总线18。
总线18表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器、外围总线、图形加速端口、处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括但不限于工业标准体系结构(Industry Standard Architecture;以下简称:ISA)总线、微通道体系结构(Micro Channel Architecture;以下简称:MAC)总线、增强型ISA总线、视频电子标准协会(Video Electronics Standards Association;以下简称:VESA)局域总线以及外围组件互连(Peripheral Component Interconnection;以下简称:PCI)总线。
电子设备12典型地包括多种计算机系统可读介质。这些介质可以是任何能够被电子设备12访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动的介质。
存储器28可以包括易失性存储器形式的计算机系统可读介质,例如随机存取存储器(Random Access Memory;以下简称:RAM)30和/或高速缓存存储器32。电子设备12可以进一步包括其它可移动/不可移动的、易失性/非易失性计算机系统存储介质。仅作为举例,存储系统34可以用于读写不可移动的、非易失性磁介质(图6未示出,通常称为“硬盘驱动器”)。尽管图6中未示出,可以提供用于对可移动非易失性磁盘(例如“软盘”)读写的磁盘驱动器,以及对可移动非易失性光盘(例如:光盘只读存储器(Compact Disc Read Only Memory;以下简称:CD-ROM)、数字多功能只读光盘(Digital Video Disc Read Only Memory;以下简称:DVD-ROM)或者其它光介质)读写的光盘驱动器。在这些情况下,每个驱动器可以通过一个或者多个数据介质接口与总线18相连。存储器28可以包括至少一个程序产品,该程序产品具有一组(例如至少一个)程序模块,这些程序模块被配置以执行本申请各实施例的功能。
具有一组(至少一个)程序模块42的程序/实用工具40,可以存储在例如存储器28中,这样的程序模块42包括但不限于操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。程序模块42通常执行本申请所描述的实施例中的功能和/或方法。
电子设备12也可以与一个或多个外部设备14(例如键盘、指向设备、显示器24等)通信,还可与一个或者多个使得用户能与该计算机系统/服务器12交互的设备通信,和/或与使得该计算机系统/服务器12能与一个或多个其它计算设备进行通信的任何设备(例如网卡、调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口22进行。并且,电子设备12还可以通过网络适配器20与一个或者多个网络(例如局域网(Local Area Network;以下简称:LAN)、广域网(Wide Area Network;以下简称:WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器20通过总线18与电子设备12的其它模块通信。应当明白,尽管图中未示出,可以结合电子设备12使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。
处理单元16通过运行存储在系统存储器28中的程序,从而执行各种功能应用以及数据处理,例如实现前述实施例中提及的方法。
在本公开的描述中,需要理解的是,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本公开的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、 或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本公开的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。
尽管上面已经示出和描述了本公开的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本公开的限制,本领域的普通技术人员在本公开的范围内可以对上述实施例进行变化、修改、替换和变型。

Claims (14)

  1. 一种视频播放方法,包括:
    确定待布局的可滑动组件;
    将视频播放组件添加至所述可滑动组件的项目中;以及
    控制所述视频播放组件进行视频播放。
  2. 如权利要求1所述的视频播放方法,其中,所述将视频播放组件添加至所述可滑动组件的项目中,包括:
    将所述视频播放组件的布局直接添加至所述可滑动组件的项目布局中;或者,
    通过新建的方式在所述可滑动组件的项目布局中创建所述视频播放组件。
  3. 如权利要求1所述的视频播放方法,其中,所述控制所述视频播放组件进行视频播放,包括:
    接收全屏播放指令;
    将所述视频播放组件从当前项目中移除,并添加至应用程序根布局中;以及
    调整所述视频播放组件的大小与屏幕方向,以使所述视频播放组件全屏播放视频。
  4. 如权利要求3所述的视频播放方法,其中,所述将所述视频播放组件从当前项目中移除,并添加至应用程序根布局中包括:
    将所述视频播放组件从当前项目中移除,并添加至应用程序根布局的最上层。
  5. 如权利要求3或4所述的视频播放方法,其中,在调整所述视频播放组件的大小与屏幕方向,以使所述视频播放组件全屏播放视频之后,还包括:
    接收退出全屏指令;
    确定与所述视频播放组件对应的目标项目;
    将所述视频播放组件从所述应用程序根布局中移除,并添加至所述目标项目中;以及
    调整所述视频播放组件的大小与屏幕方向。
  6. 如权利要求5所述的视频播放方法,其中,所述确定与所述视频播放组件对应的目标项目,包括:
    比较所述视频播放组件对应的第一视频源与所述可滑动组件中各项目对应的视频源;以及
    从所述各项目对应的视频源中确定与所述第一视频源一致的第二视频源,并确定与所述第二视频源对应的项目为目标项目。
  7. 一种视频播放装置,包括:
    确定模块,被配置为确定待布局的可滑动组件;
    处理模块,被配置为将视频播放组件添加至所述可滑动组件的项目中;以及
    播放模块,被配置为控制所述视频播放组件进行视频播放。
  8. 如权利要求7所述的视频播放装置,其中,所述处理模块被进一步配置为:
    将所述视频播放组件的布局直接添加至所述可滑动组件的项目布局中;或者,
    通过新建的方式在所述可滑动组件的项目布局中创建所述视频播放组件。
  9. 如权利要求7所述的视频播放装置,其中,所述播放模块包括:
    接收单元,被配置为接收全屏播放指令;
    处理单元,被配置为将所述视频播放组件从当前项目中移除,并添加至应用程序根布局中;以及
    调整单元,被配置为调整所述视频播放组件的大小与屏幕方向,以使所述视频播放组件全屏播放视频。
  10. 如权利要求9所述的视频播放装置,其中,所述处理单元被进一步配置为:
    将所述视频播放组件从当前项目中移除,并添加至应用程序根布局的最上层。
  11. 如权利要求9或10所述的视频播放装置,其中,
    所述接收单元被进一步配置为接收退出全屏指令,
    所述播放模块还包括:确定单元,被配置为确定与所述视频播放组件对应的目标项目,所述处理单元被进一步配置为将所述视频播放组件从所述应用程序根布局中移除,并添加至所述目标项目中,并且
    所述调整单元被进一步配置为调整所述视频播放组件的大小与屏幕方向。
  12. 如权利要求11所述的视频播放装置,其中,所述确定单元被进一步配置为:
    比较所述视频播放组件对应的第一视频源与所述可滑动组件中各项目对应的视频源;以及
    从所述各项目对应的视频源中确定与所述第一视频源一致的第二视频源,并确定与所述第二视频源对应的项目为目标项目。
  13. 一种电子设备,包括处理器和存储器;
    其中,所述处理器通过读取所述存储器中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于实现如权利要求1-6中任一项所述的视频播放方法。
  14. 一种非临时性计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如权利要求1-6中任一项所述的视频播放方法。
PCT/CN2019/122087 2018-12-27 2019-11-29 视频播放方法、装置及设备 WO2020134864A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811608783.6 2018-12-27
CN201811608783.6A CN109688455B (zh) 2018-12-27 2018-12-27 视频播放方法、装置及设备

Publications (1)

Publication Number Publication Date
WO2020134864A1 true WO2020134864A1 (zh) 2020-07-02

Family

ID=66189967

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/122087 WO2020134864A1 (zh) 2018-12-27 2019-11-29 视频播放方法、装置及设备

Country Status (2)

Country Link
CN (1) CN109688455B (zh)
WO (1) WO2020134864A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109688455B (zh) * 2018-12-27 2021-03-09 北京字节跳动网络技术有限公司 视频播放方法、装置及设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140029600A (ko) * 2012-08-28 2014-03-11 엘지전자 주식회사 스크롤 바를 이용한 컨텐츠 제어 기능을 갖는 이동 단말기 및 그의 제어방법
CN106406899A (zh) * 2016-09-28 2017-02-15 北京金山安全软件有限公司 一种基于安卓系统的分区域显示方法、装置及电子设备
CN106528026A (zh) * 2016-11-29 2017-03-22 武汉斗鱼网络科技有限公司 文本显示方法及装置
CN106843701A (zh) * 2017-02-06 2017-06-13 福建中金在线信息科技有限公司 一种图片轮换展示方法及装置
CN108234763A (zh) * 2017-12-29 2018-06-29 广州优视网络科技有限公司 横竖屏切换方法、装置和终端
CN109688455A (zh) * 2018-12-27 2019-04-26 北京字节跳动网络技术有限公司 视频播放方法、装置及设备

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2477719B (en) * 2010-02-05 2012-01-18 Nayl Benadam Celebration timer
JP5929745B2 (ja) * 2012-01-24 2016-06-08 Jfeスチール株式会社 表面処理鋼板
CN108337549B (zh) * 2015-07-20 2020-10-27 阿里巴巴(中国)有限公司 视频播放方法及其装置
CN105657490A (zh) * 2015-08-21 2016-06-08 乐视致新电子科技(天津)有限公司 音视频播放设备
CN105657491A (zh) * 2015-08-21 2016-06-08 乐视致新电子科技(天津)有限公司 音视频播放设备
CN106851395B (zh) * 2015-12-04 2020-06-02 中国电信股份有限公司 视频播放方法和播放器
CN107241657A (zh) * 2017-07-06 2017-10-10 广州优视网络科技有限公司 视频播放方法、装置、计算设备以及存储介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140029600A (ko) * 2012-08-28 2014-03-11 엘지전자 주식회사 스크롤 바를 이용한 컨텐츠 제어 기능을 갖는 이동 단말기 및 그의 제어방법
CN106406899A (zh) * 2016-09-28 2017-02-15 北京金山安全软件有限公司 一种基于安卓系统的分区域显示方法、装置及电子设备
CN106528026A (zh) * 2016-11-29 2017-03-22 武汉斗鱼网络科技有限公司 文本显示方法及装置
CN106843701A (zh) * 2017-02-06 2017-06-13 福建中金在线信息科技有限公司 一种图片轮换展示方法及装置
CN108234763A (zh) * 2017-12-29 2018-06-29 广州优视网络科技有限公司 横竖屏切换方法、装置和终端
CN109688455A (zh) * 2018-12-27 2019-04-26 北京字节跳动网络技术有限公司 视频播放方法、装置及设备

Also Published As

Publication number Publication date
CN109688455A (zh) 2019-04-26
CN109688455B (zh) 2021-03-09

Similar Documents

Publication Publication Date Title
US9110635B2 (en) Initiating personal assistant application based on eye tracking and gestures
US20150177843A1 (en) Device and method for displaying user interface of virtual input device based on motion recognition
CN111615682B (zh) 用于基于视角来选择呈现模式的方法和装置
CN107463302B (zh) 一种图标布局调整方法及其装置
JP2014519109A (ja) エッジ・ジェスチャー
WO2023125425A1 (zh) 一种显示方法、装置和电子设备
US20190251961A1 (en) Transcription of audio communication to identify command to device
WO2023155885A1 (zh) 图标整理方法、装置和电子设备
US20180060028A1 (en) Controlling navigation of a visual aid during a presentation
CN113553024A (zh) 一种分屏窗口的音量配置方法、存储介质及终端设备
CN110377220B (zh) 一种指令响应方法、装置、存储介质及电子设备
WO2016078251A1 (zh) 一种投影仪播放控制方法、装置及计算机存储介质
WO2022171054A1 (zh) 一种刷新显示的方法、装置和电子设备
US9323367B2 (en) Automatic annotation de-emphasis
CN114779977A (zh) 界面显示方法、装置、电子设备及存储介质
WO2020134864A1 (zh) 视频播放方法、装置及设备
US20240086136A1 (en) Display method and display apparatus
WO2024078552A1 (zh) 后台应用的管理方法、装置、电子设备及介质
WO2024046266A1 (zh) 视频管理方法、装置、电子设备及可读存储介质
WO2024012416A1 (zh) 显示方法和装置
WO2023216976A1 (zh) 显示方法、装置、电子设备及存储介质
US10386933B2 (en) Controlling navigation of a visual aid during a presentation
US10416759B2 (en) Eye tracking laser pointer
WO2023174328A1 (zh) 屏幕控制方法、装置、电子设备及存储介质
WO2023155809A1 (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: 19906063

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: OTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 05/10/2021)

122 Ep: pct application non-entry in european phase

Ref document number: 19906063

Country of ref document: EP

Kind code of ref document: A1