CN110267088B - Video playing control method and device, electronic equipment and storage medium - Google Patents

Video playing control method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN110267088B
CN110267088B CN201910650717.3A CN201910650717A CN110267088B CN 110267088 B CN110267088 B CN 110267088B CN 201910650717 A CN201910650717 A CN 201910650717A CN 110267088 B CN110267088 B CN 110267088B
Authority
CN
China
Prior art keywords
page
video
playing
list
list page
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201910650717.3A
Other languages
Chinese (zh)
Other versions
CN110267088A (en
Inventor
杨理
贾世豪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
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 Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201910650717.3A priority Critical patent/CN110267088B/en
Publication of CN110267088A publication Critical patent/CN110267088A/en
Application granted granted Critical
Publication of CN110267088B publication Critical patent/CN110267088B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/482End-user interface for program selection
    • H04N21/4825End-user interface for program selection using a list of items to be played back in a given order, e.g. playlists

Landscapes

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

Abstract

The embodiment of the disclosure discloses a method and a device for controlling video playing, an electronic device and a storage medium, wherein the method comprises the following steps: receiving a close detail page instruction, wherein the detail page is used for displaying one video playing window in a list page, and the list page is used for displaying a plurality of video playing windows; jumping from the detail page to the list page; and if the player finishes playing the corresponding video on the detail page and the current state of the list page is an active state, playing the animation of the list page for switching the next video. According to the technical scheme of the embodiment of the disclosure, when the detail page is played and the list page is returned, the animation for automatically switching the next video can be displayed normally.

Description

Video playing control method and device, electronic equipment and storage medium
Technical Field
The embodiment of the disclosure relates to the technical field of computer application, in particular to a method and a device for controlling video playing, electronic equipment and a storage medium.
Background
With the popularization of intelligent terminals, application software (APP) with various functions is gradually increased, and the functions of the APP are also in continuous upgrade and update.
In an application that uses a list page to display a plurality of video playing windows to play a video, a user may jump to a detail page during the video playing process of the list page, on the one hand, the video may be continuously viewed on the detail page, and on the other hand, information related to the video, such as information about a brief introduction, a comment, and an associated recommendation of the video, may be browsed through the detail page.
When the user clicks the close button on the details page, the application will exit the details page and return to the list page. When returning to the list page, if the current video has been played out on the detail page, the user sometimes sees overlapping animations, and the display effect is poor.
Disclosure of Invention
In view of this, embodiments of the present disclosure provide a method and an apparatus for controlling video playing, an electronic device, and a storage medium, so as to solve the problem that when a detail page is played and a list page is returned, an animation display effect is poor.
Additional features and advantages of the disclosed embodiments will be set forth in the detailed description which follows, or in part will be obvious from the description, or may be learned by practice of the disclosed embodiments.
In a first aspect, an embodiment of the present disclosure provides a method for controlling video playing, including:
receiving a close detail page instruction, wherein the detail page is used for displaying one video playing window in a list page, and the list page is used for displaying a plurality of video playing windows;
jumping from the detail page to the list page;
and if the player finishes playing the corresponding video on the detail page and the current state of the list page is an active state, playing the animation of the list page for switching the next video.
In a second aspect, an embodiment of the present disclosure further provides a control device for video playing, including:
the instruction receiving unit is used for receiving an instruction of closing a detail page, wherein the detail page is used for displaying one video playing window in a list page, and the list page is used for displaying a plurality of video playing windows;
a page jump unit for jumping from the detail page to the list page;
and the animation playing unit is used for playing the animation of the list page for switching the next video if the player finishes playing the corresponding video on the detail page and the current state of the list page is an active state.
In a third aspect, an embodiment of the present disclosure further provides an electronic device, including:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the instructions of the method of any one of the first aspects.
In a fourth aspect, the disclosed embodiments also provide a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps of the method according to any one of the first aspect.
The technical scheme provided by the embodiment of the disclosure has the beneficial technical effects that:
according to the embodiment of the invention, after the instruction of closing the detail page is received, the corresponding video of the detail page is determined to be played, and when the current state of the list page is the active state, the animation of the list page for switching the next video is played, so that the animation for automatically switching the next video can be normally displayed when the detail page is played and the list page is returned, and the display effect is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings needed to be used in the description of the embodiments of the present disclosure will be briefly described below, and it is obvious that the drawings in the following description are only a part of the embodiments of the present disclosure, and for those skilled in the art, other drawings can be obtained according to the contents of the embodiments of the present disclosure and the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a method for controlling video playing according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of another control method for video playing according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a control device for video playing according to an embodiment of the present disclosure;
FIG. 4 shows a schematic structural diagram of an electronic device suitable for use in implementing embodiments of the present disclosure.
Detailed Description
In order to make the technical problems solved, technical solutions adopted and technical effects achieved by the embodiments of the present disclosure clearer, the technical solutions of the embodiments of the present disclosure will be described in further detail below with reference to the accompanying drawings, and it is obvious that the described embodiments are only some embodiments, but not all embodiments, of the embodiments of the present disclosure. All other embodiments, which can be obtained by a person skilled in the art without making creative efforts based on the embodiments of the present disclosure, belong to the protection scope of the embodiments of the present disclosure.
It should be noted that the terms "system" and "network" are often used interchangeably in the embodiments of the present disclosure. Reference to "and/or" in embodiments of the present disclosure is intended to "include any and all combinations of one or more of the associated listed items. The terms "first", "second", and the like in the description and claims of the present disclosure and in the drawings are used for distinguishing between different objects and not for limiting a particular order.
It should also be noted that, in the embodiments of the present disclosure, each of the following embodiments may be executed alone, or may be executed in combination with each other, and the embodiments of the present disclosure are not limited specifically.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
The technical solutions of the embodiments of the present disclosure are further described by the following detailed description in conjunction with the accompanying drawings.
Fig. 1 shows a flowchart of a method for controlling video playing according to an embodiment of the present disclosure, where this embodiment is applicable to displaying an animation situation of automatically switching to a next video when a detail page is completely played and a list page is returned, and this method may be executed by a control device for video playing configured in an electronic device, as shown in fig. 1, the method for controlling video playing according to this embodiment includes:
in step S110, a close detail page instruction is received.
Wherein the detail page is used for displaying one video playing window in a list page, and the list page is used for displaying a plurality of video playing windows.
The list page may be implemented by a circular view component for displaying the list, such as a RecycleView component in the case of an android operating system.
The close detail page instruction is used for instructing the system to return to the list page, and may be, for example, an exit page instruction received through the detail page, or a trigger instruction received through a return control of the electronic device. The specific form can be sent by a user through a physical interface of the electronic equipment, or sent by the user through a setting interface of the system.
In step S120, a jump is made from the detail page to the list page.
I.e. changing the active status of said detail page and said list page, and closing the view after the resource is released by the detail page and informing the list page, the process of closing the view by the detail page can add animation to add visual effect, for example, exit animation of said detail page can be played.
The list page requests to return to the active state to obtain user focus (e.g., execute the callback function onResume) after receiving notification of the detail page, and when the system control detail page returns to the active state, the detail page view is closed.
In step S130, if the player has finished playing the corresponding video on the detail page and the current state of the list page is an active state, playing an animation of the list page for switching to a next video.
The method can be used for automatically playing the scene of the next video after one video is played when a plurality of video playing windows are displayed through the list page to play the videos.
And if the detail page is determined to have played the corresponding video, determining that the next video needs to be automatically switched after the list page is returned. Whether the detail page has the exit animation or not, if the current state of the list page is the active state, the detail page view is determined to be closed, and the animation of the list page for switching the next video is played without any interference from the detail page, such as the interference of playing the detail page exit animation.
According to the technical scheme, after the instruction of closing the detail page is received, after the fact that the corresponding video is played on the detail page is determined, and the current state of the list page is the active state, the animation of the list page for switching the next video is played, so that the situation that the fact that the detail page quit animation is possibly overlapped with the video switching animation of the list page can be avoided, and a user sometimes sees the overlapped animation and cannot see the normal animation for automatically switching the next video can be avoided.
Fig. 2 is a flowchart illustrating another control method for video playing according to an embodiment of the present disclosure, which may be combined with the foregoing embodiments. As shown in fig. 2, the method for controlling video playing according to this embodiment includes:
in step S210, the first active interface corresponding to the detail page receives the close detail page instruction.
The Activity interface is an application component for providing a screen that a user can interact with to complete a task, such as an Activity component in an android operating system.
In step S220, if the player has finished playing the corresponding video on the detail page, the first active interface releases the player and notifies a second active interface corresponding to the list page.
In an embodiment, for an active interface, if the active interface in the active state is closed or jumped, the lower active interface may be notified to switch to the active state. For an application that uses a list page to display multiple video playing windows to play videos, if the current video is completely played on the detail page, the list page needs to play the next video. In one embodiment, when a user clicks a close button or a system return key, the detail page executes actions of pausing, stopping and destroying and notifies a second activity interface corresponding to the list page, and when the first activity interface is destroyed, the playable interface exits from the animation. It should be noted that, for an Activity component, when the Activity component is destroyed, the Activity component itself will exit the animation, if the detail page is realized by the Activity component, the Activity component itself will be played when the detail page exits, and no additional exit animation needs to be added.
In step S230, when the player has finished playing the corresponding video on the detail page and the current state of the second active interface is an active state, the second active interface plays an animation of the list page for switching to a next video.
Because in step S220, the exiting animation for playing the detail page is executed by the first active interface, and in step S230, the animation for switching to the next video for playing the list page is executed by the second active interface, both belong to parallel active entities, and the order of the two active interfaces cannot be guaranteed, in order to prevent overlapping with the exiting animation described in the previous step, it is necessary to control the list page to wait until the list page returns to the foreground (for example, an onResume callback in an android system), and then perform the operation for switching to the next video.
Further, if the player has finished playing the corresponding video on the detail page, the first active interface releases the player, and notifies a second active interface corresponding to the list page that the corresponding video has been played on the second active interface corresponding to the list page.
Generally, in the prior art, since the timing of playing the animation for switching the next video is not considered, the information whether the corresponding video has been played back is not used by the second activity interface corresponding to the list page.
In the technical solution of this embodiment, in this step, a timing for playing an animation for switching to a next video needs to be determined according to the information of whether the corresponding video has been played completely and the state of the second active interface corresponding to the list page, and the information of whether the corresponding video has been played completely is obtained according to a global variable for recording state information of video playing, or may be obtained by calculation according to other information.
If the first activity interface notifies the second activity interface, the information that the corresponding video has been played is added, so that the information acquisition efficiency of the second activity page can be reduced, and the response speed of the second activity page can be improved.
According to the technical scheme of the embodiment of the disclosure, by taking the case that the detail page and the list page respectively adopt the active interfaces, when the player has already played the corresponding video on the detail page through the second active interface corresponding to the list page, and the current state of the second active interface is the active state, the second active interface plays the animation of the list page for switching the next video, so that the animation of the next video can be normally displayed and automatically switched, and the situation that the animation is overlapped with the exit animation of the detail page can be avoided.
As an implementation of the methods shown in the above figures, the present application provides an embodiment of a control apparatus for video playback, and fig. 3 illustrates a schematic structural diagram of a control apparatus for video playback provided in this embodiment, where the embodiment of the apparatus corresponds to the embodiment of the methods shown in fig. 1 and fig. 2, and the apparatus may be applied to various electronic devices. As shown in fig. 3, the control apparatus for video playback according to the present embodiment includes an instruction receiving unit 310, a page jump unit 320, and an animation playback unit 330.
The instruction receiving unit 310 is configured to receive a close detail page instruction.
Wherein the detail page is used for displaying one video playing window in a list page, and the list page is used for displaying a plurality of video playing windows.
The page jump unit 320 is configured to jump from the detail page to the list page.
The animation playing unit 330 is configured to play the animation of the list page for switching to the next video if the player has finished playing the corresponding video on the detail page and the current state of the list page is the active state.
Further, the close detail page instruction comprises an exit page instruction received through the detail page and a trigger instruction received through a return control of the electronic device.
Further, the page jump unit 320 is also configured to play an exit animation of the detail page.
For example, the device is used for an android operating system, and the functions of each unit module are as follows:
the instruction receiving unit 310 is configured to receive the close detail page instruction for the first active interface corresponding to the detail page.
The page jump unit 320 is configured to, if the player has finished playing the corresponding video on the detail page, the first active interface releases the player, and notifies a second active interface corresponding to the list page, and plays an exit animation of the detail page.
The animation playing unit 330 is configured to, when the player has finished playing the corresponding video on the detail page and the current state of the second active interface is an active state, play an animation of the list page for switching to a next video by the second active interface.
Further, the animation playing unit 330 is configured to release the player from the first active interface and notify the list page of an exit animation of the detail page before or after the corresponding second active interface.
Further, the page jumping unit 320 is further configured to notify the second active interface corresponding to the list page that the corresponding video has been played.
Further, the list page is implemented by a looping view component for displaying a list.
Further, the apparatus is configured to immersive play the plurality of videos through the list page.
The control device for video playing provided by the embodiment can execute the control method for video playing provided by the method embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
Referring now to FIG. 4, a block diagram of an electronic device 400 suitable for use in implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 4, electronic device 400 may include a processing device (e.g., central processing unit, graphics processor, etc.) 401 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)402 or a program loaded from a storage device 408 into a Random Access Memory (RAM) 403. In the RAM 403, various programs and data necessary for the operation of the electronic apparatus 400 are also stored. The processing device 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
Generally, the following devices may be connected to the I/O interface 405: input devices 406 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 407 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 408 including, for example, tape, hard disk, etc.; and a communication device 409. The communication means 409 may allow the electronic device 400 to communicate wirelessly or by wire with other devices to exchange data. While fig. 4 illustrates an electronic device 400 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication device 409, or from the storage device 408, or from the ROM 402. The computer program performs the above-described functions defined in the methods of the embodiments of the present disclosure when executed by the processing device 401.
It should be noted that the computer readable medium described above in the embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the disclosed embodiments, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the disclosed embodiments, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to:
receiving a close detail page instruction, wherein the detail page is used for displaying one video playing window in a list page, and the list page is used for displaying a plurality of video playing windows;
jumping from the detail page to the list page;
and if the player finishes playing the corresponding video on the detail page and the current state of the list page is an active state, playing the animation of the list page for switching the next video.
Computer program code for carrying out operations for embodiments of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of a unit does not in some cases constitute a limitation of the unit itself, for example, the first retrieving unit may also be described as a "unit for retrieving at least two internet protocol addresses".
According to one or more embodiments of the present disclosure, in the control method for video playing, the instruction for closing the detail page includes an instruction for exiting the page received through the detail page, and a trigger instruction received through a return control of the electronic device.
In accordance with one or more embodiments of the present disclosure, jumping from the detail page to the list page in the method includes playing an exit animation of the detail page.
According to one or more embodiments of the present disclosure, the method is used for an android operating system;
receiving a close detail page instruction includes: a first activity interface corresponding to the detail page receives the instruction for closing the detail page;
jumping from the details page to the list page comprises: if the player finishes playing the corresponding video on the detail page, the first active interface releases the player, and notifies a second active interface corresponding to the list page and plays an exit animation of the detail page;
if the player has finished playing the corresponding video on the detail page and the current state of the list page is an active state, playing the animation of the list page for switching to the next video includes: and when the player finishes playing the corresponding video on the detail page and the current state of the second active interface is an active state, the second active interface plays the animation of the list page for switching the next video.
According to one or more embodiments of the present disclosure, the first active interface releases the player and notifies a second active interface corresponding to the list page of a previous or subsequent exit animation for playing the detail page.
According to one or more embodiments of the present disclosure, notifying the second activity interface corresponding to the list page further includes: and informing a second activity interface corresponding to the list page that the corresponding video is played.
In accordance with one or more embodiments of the present disclosure, the list page is implemented by a looping view component for displaying a list.
According to one or more embodiments of the present disclosure, the method is for immersive playing of the plurality of videos through the list page.
According to one or more embodiments of the present disclosure, in the control apparatus for video playing, the instruction to close the detail page includes an exit page instruction received through the detail page, and a trigger instruction received through a return control of the electronic device.
According to one or more embodiments of the present disclosure, the page jump unit is further configured to play an exit animation of the detail page.
According to one or more embodiments of the present disclosure, the apparatus is for an android operating system;
the instruction receiving unit is used for: a first activity interface corresponding to the detail page receives the instruction for closing the detail page;
the page jump unit is used for: if the player finishes playing the corresponding video on the detail page, the first active interface releases the player, and notifies a second active interface corresponding to the list page and plays an exit animation of the detail page;
the animation playing unit is used for: and when the player finishes playing the corresponding video on the detail page and the current state of the second active interface is an active state, the second active interface plays the animation of the list page for switching the next video.
According to one or more embodiments of the present disclosure, the animation playing unit is configured to play the exit animation of the detail page before or after the first active interface releases the player and notifies the second active interface corresponding to the list page.
According to one or more embodiments of the present disclosure, the page jump unit is further configured to: and informing a second activity interface corresponding to the list page that the corresponding video is played.
In accordance with one or more embodiments of the present disclosure, the list page is implemented by a looping view component for displaying a list.
According to one or more embodiments of the present disclosure, the apparatus is configured to play the plurality of videos immersive through the list page.
The foregoing description is only a preferred embodiment of the disclosed embodiments and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure in the embodiments of the present disclosure is not limited to the particular combination of the above-described features, but also encompasses other embodiments in which any combination of the above-described features or their equivalents is possible without departing from the scope of the present disclosure. For example, the above features and (but not limited to) the features with similar functions disclosed in the embodiments of the present disclosure are mutually replaced to form the technical solution.

Claims (10)

1. A method for controlling video playback, comprising:
receiving a close detail page instruction, wherein the detail page is used for displaying one video playing window in a list page, and the list page is used for displaying a plurality of video playing windows;
jumping from the detail page to the list page;
and if the player finishes playing the corresponding video on the detail page and the current state of the list page is an active state, playing the animation of the list page for switching the next video.
2. The method of claim 1, wherein:
receiving a close detail page instruction includes: a first activity interface corresponding to the detail page receives the instruction for closing the detail page;
jumping from the details page to the list page comprises: if the player finishes playing the corresponding video on the detail page, the first active interface releases the player and informs a second active interface corresponding to the list page;
if the player has finished playing the corresponding video on the detail page and the current state of the list page is an active state, playing the animation of the list page for switching to the next video includes: and when the second active interface determines that the player has finished playing the corresponding video on the detail page and the current state of the second active interface is an active state, the second active interface plays the animation of the list page for switching the next video.
3. The method of claim 2, wherein: and the first activity interface releases the player and informs a second activity interface corresponding to the list page of a quitting animation before or after the second activity interface, wherein the quitting animation plays the detail page.
4. The method of claim 2, wherein: notifying a second activity interface corresponding to the list page further comprises: and informing a second activity interface corresponding to the list page that the corresponding video is played.
5. The method of claim 1, wherein the close detail page instruction comprises an exit page instruction received via the detail page or a trigger instruction received via a return control of an electronic device.
6. The method of claim 1, wherein jumping from the detail page to the list page comprises: and playing the exit animation of the detail page.
7. The method of claim 1, wherein the list page is implemented by a looping view component for displaying the list.
8. A control apparatus for video playback, comprising:
the instruction receiving unit is used for receiving an instruction of closing a detail page, wherein the detail page is used for displaying one video playing window in a list page, and the list page is used for displaying a plurality of video playing windows;
a page jump unit for jumping from the detail page to the list page;
and the animation playing unit is used for playing the animation of the list page for switching the next video if the player finishes playing the corresponding video on the detail page and the current state of the list page is an active state.
9. An electronic device, comprising:
one or more processors;
a memory for storing one or more programs;
instructions which, when executed by the one or more processors, cause the one or more processors to carry out the method of any one of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN201910650717.3A 2019-07-18 2019-07-18 Video playing control method and device, electronic equipment and storage medium Active CN110267088B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910650717.3A CN110267088B (en) 2019-07-18 2019-07-18 Video playing control method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910650717.3A CN110267088B (en) 2019-07-18 2019-07-18 Video playing control method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110267088A CN110267088A (en) 2019-09-20
CN110267088B true CN110267088B (en) 2021-09-07

Family

ID=67927018

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910650717.3A Active CN110267088B (en) 2019-07-18 2019-07-18 Video playing control method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110267088B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111314791B (en) * 2020-03-19 2022-04-05 杭州小影创新科技股份有限公司 Seamless jump method in video playing based on Android
CN111459487A (en) * 2020-04-02 2020-07-28 上海极链网络科技有限公司 Method, device and equipment for displaying control and storage medium
CN114296617B (en) * 2022-03-11 2022-05-06 北京麟卓信息科技有限公司 Method for automatically switching playing video of android application

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106604086A (en) * 2016-12-08 2017-04-26 武汉斗鱼网络科技有限公司 Full-screen playback method and system for previewing video in Android application
CN107341018A (en) * 2017-07-07 2017-11-10 广州优视网络科技有限公司 A kind of method and apparatus for continuing to show view after page layout switch
CN108920247A (en) * 2018-07-20 2018-11-30 腾讯科技(深圳)有限公司 Processing method, device and the terminal of page switching, storage medium, program product
CN109032738A (en) * 2018-07-17 2018-12-18 腾讯科技(深圳)有限公司 Control method for playing multimedia, device, terminal and storage medium
CN109286836A (en) * 2018-10-11 2019-01-29 腾讯科技(深圳)有限公司 Multimedia data processing method, device and intelligent terminal, storage medium
CN109495699A (en) * 2018-11-23 2019-03-19 青岛海信宽带多媒体技术有限公司 A kind of video playing switching method and device
CN109656444A (en) * 2018-12-13 2019-04-19 广州市百果园信息技术有限公司 List localization method, device, equipment and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10346019B2 (en) * 2016-01-09 2019-07-09 Apple Inc. Graphical user interface for providing video in a document reader application
US20170228211A1 (en) * 2016-02-04 2017-08-10 Sami Fahid Daoud Restaurant audio control system
CN105898523B (en) * 2016-06-29 2019-04-09 无锡天脉聚源传媒科技有限公司 A kind of video broadcasting method and device
CN106303664B (en) * 2016-10-13 2019-07-23 合一信息技术(北京)有限公司 Video broadcasting method and device
CN107241657A (en) * 2017-07-06 2017-10-10 广州优视网络科技有限公司 Video broadcasting method, device, computing device and storage medium
CN109828800A (en) * 2017-11-23 2019-05-31 电子科技大学中山学院 Processing method for conflict between QML video playing and page switching
CN108733447B (en) * 2018-05-28 2021-06-29 北京酷我科技有限公司 Video detail page animation expansion algorithm
CN109640188B (en) * 2018-12-28 2020-02-07 北京微播视界科技有限公司 Video preview method and device, electronic equipment and computer readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106604086A (en) * 2016-12-08 2017-04-26 武汉斗鱼网络科技有限公司 Full-screen playback method and system for previewing video in Android application
CN107341018A (en) * 2017-07-07 2017-11-10 广州优视网络科技有限公司 A kind of method and apparatus for continuing to show view after page layout switch
CN109032738A (en) * 2018-07-17 2018-12-18 腾讯科技(深圳)有限公司 Control method for playing multimedia, device, terminal and storage medium
CN108920247A (en) * 2018-07-20 2018-11-30 腾讯科技(深圳)有限公司 Processing method, device and the terminal of page switching, storage medium, program product
CN109286836A (en) * 2018-10-11 2019-01-29 腾讯科技(深圳)有限公司 Multimedia data processing method, device and intelligent terminal, storage medium
CN109495699A (en) * 2018-11-23 2019-03-19 青岛海信宽带多媒体技术有限公司 A kind of video playing switching method and device
CN109656444A (en) * 2018-12-13 2019-04-19 广州市百果园信息技术有限公司 List localization method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN110267088A (en) 2019-09-20

Similar Documents

Publication Publication Date Title
CN109640188B (en) Video preview method and device, electronic equipment and computer readable storage medium
CN112261226B (en) Horizontal screen interaction method and device, electronic equipment and storage medium
US11895354B2 (en) Live broadcast interaction method and apparatus, and readable medium and electronic device
CN112911379B (en) Video generation method, device, electronic equipment and storage medium
US20240040199A1 (en) Video-based interaction method and apparatus, storage medium and electronic device
CN110267088B (en) Video playing control method and device, electronic equipment and storage medium
KR102591803B1 (en) Video interaction methods, devices, electronic equipment and storage media
CN109547835B (en) Video playing method and device
CN110401877B (en) Video playing control method and device, electronic equipment and storage medium
CN111930973B (en) Multimedia data playing method and device, electronic equipment and storage medium
CA3159186A1 (en) Information interaction method, apparatus, device, storage medium and program product
CN111790148B (en) Information interaction method and device in game scene and computer readable medium
EP4344224A1 (en) Live-streaming interaction method and apparatus, and readable medium and electronic device
CN113259744B (en) Video display method, device, equipment and medium
JP2023523067A (en) Video processing method, apparatus, equipment and medium
US20220327154A1 (en) Multimedia playing method and device
EP4346218A1 (en) Audio processing method and apparatus, and electronic device and storage medium
CN109582274B (en) Volume adjusting method and device, electronic equipment and computer readable storage medium
CN113810760A (en) Method for controlling screen projection, electronic device and computer readable storage medium
CN110611847B (en) Video preview method and device, storage medium and electronic equipment
CN115113790A (en) Interaction method, interaction device, electronic equipment and storage medium
CN114579030A (en) Information stream display method, device, apparatus, storage medium, and program
CN114397984A (en) Video display and interaction method and device, electronic equipment and storage medium
JP7385041B2 (en) Live room interaction methods, equipment, readable media and electronic equipment
CN110267089B (en) Video playing control method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant