CN108984232B - Page video playing method, device, equipment and computer readable storage medium - Google Patents

Page video playing method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN108984232B
CN108984232B CN201810830222.4A CN201810830222A CN108984232B CN 108984232 B CN108984232 B CN 108984232B CN 201810830222 A CN201810830222 A CN 201810830222A CN 108984232 B CN108984232 B CN 108984232B
Authority
CN
China
Prior art keywords
video
video playing
playing
playing module
played
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
CN201810830222.4A
Other languages
Chinese (zh)
Other versions
CN108984232A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201810830222.4A priority Critical patent/CN108984232B/en
Publication of CN108984232A publication Critical patent/CN108984232A/en
Application granted granted Critical
Publication of CN108984232B publication Critical patent/CN108984232B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The invention discloses a page video playing method, which comprises the following steps: traversing a video playing module which accords with a playing protocol in the current page under the condition that the current page stops rolling; according to the configured playable logic, confirming the traversed video playing modules one by one until confirming the video playing module to be played currently; the initialized player is added to the video playing module to be played currently, and the video content of the video playing module to be played currently is played through the player according to the current playing control logic.

Description

Page video playing method, device, equipment and computer readable storage medium
Technical Field
The present invention relates to the field of computers, and in particular, to a method, an apparatus, a device and a computer readable storage medium for playing a page video.
Background
With the continuous development of the mobile internet, people use mobile terminals to watch videos more and more. Video Application programs (APPs), particularly short video APPs, have become a hotspot of internet content, and video APPs have taken on the role of video content distribution and browsing.
In the prior art, a control scheme of a video APP on a video stream of the video APP is generally as follows: the presentation form of the video in the list is that a single item contains one piece of video data and occupies the whole line of display space; the style of the video presentation usually needs to be unified to be compatible with the logic of the playback control. However, in the prior art, the control logic of the video APP for the video stream is often only compatible with one view presentation style, for example, only compatible with a view presentation style of a rectangle tiled in an entire line, so the video stream control scheme in the prior art has a relatively large restriction requirement on the style of a page, but for a video browsing APP with strong operation, a page in the APP needs to present more operation contents, and a large number of scenes need to increase the current video playing logic, so the presentation style of the video stream becomes more complex, which makes the playing of the video stream complicated, the play control scheme in the prior art needs to be compatible with each presentation style, and is complex to implement, which causes developers to become unconscious, and the development cost also rises accordingly.
Disclosure of Invention
The technical problem to be solved in the embodiments of the present invention is to provide a page video playing method, a page video playing apparatus, a page video playing device, and a computer readable storage medium, so as to solve the technical problem that the playing control scheme in the prior art needs to be compatible with each display style, thereby being complex to implement.
In order to solve the above technical problem, a first aspect of an embodiment of the present invention discloses a method for playing a page video, including:
traversing a video playing module which accords with a playing protocol in the current page under the condition that the current page stops rolling;
according to the configured playable logic, confirming the traversed video playing modules one by one until confirming the video playing module to be played currently;
and adding the initialized player to the video playing module to be played currently, and playing the video content of the video playing module to be played currently through the player according to the current playing control logic.
Specifically, based on the first aspect, in one implementation manner, the confirming the traversed video playing module according to the configured playable logic until the video playing module to be currently played is confirmed includes:
determining whether the video playing module meets configured playable logic or not through the currently traversed video playing module;
if the video playing module meets the playable logic, the currently traversed video playing module is determined to be the video playing module to be played currently; if the playable logic is not satisfied, traversing the next video playing module, and re-executing the currently traversed video playing module to determine whether the video playing module satisfies the playable logic or not until the video playing module to be played currently is confirmed.
Specifically, based on the first aspect, in one implementation manner, the confirming the traversed video playing module according to the configured playable logic until the video playing module to be played currently is confirmed includes:
determining whether the current traversed video playing module is a first response playing module or not;
if so, confirming that the currently traversed video playing module is the video playing module to be played currently;
if not, determining whether the currently traversed video playing module can play according to the playing sequence rule, and if yes, determining that the currently traversed video playing module is the video playing module to be played currently; and if the video can not be played, traversing the next video playing module, and re-executing the currently traversed video playing module to determine whether the video playing module is the first response playing module or not until the video playing module to be played currently is determined.
Specifically, based on the first aspect, in one implementation manner, the confirming the traversed video playing module according to the configured playable logic until the video playing module to be played currently is confirmed includes:
confirming whether the currently traversed video playing module can play according to the playing sequence rule;
if the video can be played, confirming that the currently traversed video playing module is the video playing module to be played currently; and if the video can not be played, traversing the next video playing module, and re-executing the video playing module which is determined to be currently traversed according to the playing sequence rule to determine whether the currently played video playing module can be played until the currently played video playing module is determined.
Specifically, based on the first aspect, in one implementation manner, the adding the initialized player to the video playing module to be currently played includes:
if the initialized player exists, transferring and adding the initialized player to the video playing module to be played currently;
if the initialized player does not exist, initializing the player, and adding the initialized player to the video playing module to be played currently.
Specifically, based on the first aspect, in one implementation manner, the video playing module conforming to the playing protocol is provided with the following interfaces:
a first interface for providing playback information;
a second interface for providing broadcast control logic.
Specifically, based on the first aspect, in one implementation manner, the playing, by the player according to the current play control logic, the video content of the video playing module to be currently played includes:
receiving play information provided by the video play module to be played currently through the first interface and current play control logic provided by the video play module to be played currently through the second interface, wherein the current play control logic is configured by the video play module to be played currently;
and playing the video content of the video playing module to be played currently through the player according to the playing information and the current playing control logic.
Specifically, based on the first aspect, in one implementation manner, the video playing module conforming to the playing protocol is further provided with a third interface for providing video preloading information; after the video content of the video playing module to be played currently is played by the player according to the current playing control logic, the method further includes:
receiving video preloading information provided by the video playing module to be played currently through the third interface; the video preloading information indicates video content to be played after the video content of the video playing module to be played currently is played;
and preloading the video content to be played through the player according to the video preloading information.
Specifically, based on the first aspect, in one implementation manner, after the playing, by the player according to the current play control logic, the method further includes:
playing and sequencing other video playing modules which are in accordance with a playing protocol except the video playing module to be played currently in the current page;
and sequentially preloading the video contents of the other video playing modules according to the playing sequencing sequence.
Specifically, based on the first aspect, in one implementation manner, the sequentially preloading the video contents of the other video playing modules according to the playing sequencing order includes:
under the condition that the video playing module to be preloaded at present is judged to be preloaded, skipping over the current video playing module to a next video playing module to be preloaded;
and under the condition that the video playing module to be preloaded currently is not preloaded, preloading the video content of the video playing module to be preloaded currently.
Specifically, based on the first aspect, in one implementation manner, after the playing, by the player according to the current play control logic, the method further includes:
under the condition that the video content of the video playing module to be played currently is played completely, if the video playing module to be played currently has continuous playing video content, the continuous playing video content of the video playing module to be played currently is played through the player according to the current playing control logic;
if the video playing module to be played currently does not have continuous playing video content, continuously traversing the next video playing module, re-executing the playable logic according to the configuration, and confirming the traversed video playing modules one by one until the video playing module to be played currently is confirmed.
A second aspect of the present invention discloses a page video playing device, including a module for executing the method in any one of the foregoing implementation manners of the first aspect.
The third aspect of the embodiment of the invention discloses a page video playing device, which comprises a processor, a memory and a communication module, wherein the processor, the memory and the communication module are connected with each other, the memory is used for storing data processing codes, and the communication module is used for carrying out information interaction with external equipment; the processor is configured to invoke the program code to perform the method of any one of the implementations of the first aspect.
A fourth aspect of the present embodiments discloses a computer-readable storage medium, which stores program instructions that, when executed by a processor, cause the processor to perform the method of any one of the implementation manners of the first aspect.
By traversing the video playing modules which accord with the playing protocol in the current page, according to the configured playable logic, confirming the traversed video playing modules one by one until the video playing module to be played currently is confirmed, adding the initialized player to the video playing module to be played currently, and playing the video content of the video playing module to be played currently according to the current playing control logic through the player; the playing control scheme in the prior art is not required to be compatible with each display style, the display styles of the video playing module can be not limited to rectangle, the playable logic can be configured according to the product requirements, the technical problems that the playing control scheme in the prior art is required to be compatible with each display style, the complex implementation is realized are solved, the problems that developers become unconscious and the development cost is high due to the playing control scheme are avoided, and the cost benefit is greatly improved.
Drawings
In order to illustrate embodiments of the present invention or technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below.
Fig. 1 is a scene schematic diagram of a page video playing method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a schematic architecture of a method for playing a page video by a video APP according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a page video playing method according to an embodiment of the present invention;
FIG. 4 is a schematic interface diagram of a video playing module in a page according to an embodiment of the present invention;
fig. 5 is a schematic flowchart of a method for confirming a video playing module according to an embodiment of the present invention;
FIG. 6 is a flowchart illustrating a method for validating a video playback module according to another embodiment of the present invention;
FIG. 7 is a flowchart illustrating a method for confirming a video playing module according to another embodiment of the present invention;
FIG. 8 is a flowchart illustrating a method for playing a page video according to another embodiment of the present invention;
fig. 9 is an interface schematic diagram of a page video playing method according to an embodiment of the present invention;
FIG. 10 is a schematic interface diagram of another embodiment of the page video playing method of the present invention;
FIG. 11 is a schematic interface diagram illustrating another embodiment of a page video playing method according to the present invention;
FIG. 12 is a schematic interface diagram illustrating another embodiment of a page video playing method according to the present invention;
fig. 13 is a schematic structural diagram of a page video playing apparatus according to an embodiment of the present invention;
fig. 14 is a schematic structural diagram of another embodiment of a page video playing apparatus provided in the present invention;
fig. 15 is a schematic structural diagram of a page video playing device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items and includes such combinations.
In order to better understand the page video playing method, the page video playing device, and the page video playing apparatus provided in the embodiments of the present invention, a scene of the page video playing method in the embodiments of the present invention is described first below. As shown in fig. 1, which is a scene schematic diagram of a page video playing method provided by an embodiment of the present invention, a user may open a video APP on a page video playing device, and slide a video list page in the video APP, so that the video list page will be scrolled, the video list page often includes a plurality of video playing modules, a plurality of video playing areas or a plurality of video playing showing frames shown in fig. 1 are displayed, and when scrolling is stopped, a page video can be controlled and played by using the page video playing method provided by the embodiment of the present invention.
The page video playing device in the embodiment of the present invention includes, but is not limited to, an intelligent device with a display screen and capable of playing and displaying video, such as a tablet computer, a smart phone, and a smart watch. Fig. 1 is only an example that the page video playing device is a smart phone, and the present invention is not limited thereto. The page video playing device in the embodiment of the present invention is installed and operated with a video APP, and the schematic diagram of the principle architecture of the method for playing the page video by the video APP provided in the embodiment of the present invention shown in fig. 2 illustrates the principle architecture of the method for playing the page video by the video APP in the present invention. The current playing controller is used for controlling a control container played by the player to be switched among the plurality of video playing modules, and is in full charge of the playing control logic of the video playing modules after the video playing modules to be played currently are confirmed, and the video content of the video playing modules to be played currently is played through the player; each video playing module can only be responsible for rendering a User Interface (UI), the played video content and the playing control logic do not need to be understood, and the full right of the playing control logic is given to the current playing controller for processing; the style adapter can provide an attempt to show a style, namely the layout and the style of each video playing module of the page can be indicated, and the UI of the video playing module is not limited to a rectangle; the style adapter may also determine a play order rule for the video play module.
The following describes in detail the page video playing method according to the embodiment of the present invention with reference to the schematic flow chart of the page video playing method provided in the embodiment of the present invention shown in fig. 3, where the page video playing method is executed by a page video playing device, the page video playing device may be the page video playing device in fig. 1, and the page video playing method may specifically include the following steps:
step S300: traversing a video playing module which accords with a playing protocol in the current page under the condition that the current page stops rolling;
specifically, a user can control a page of a video APP to scroll so as to browse contents of the video page approximately, when the user controls the page of the video APP to stop scrolling, a current playing controller of a page video playing device can monitor a video list stop scrolling event of the current page, and then trigger a playing detection logic, that is, trigger execution of a video playing module which traverses a video playing protocol in the current page.
In one embodiment, the video playing module conforming to the playing protocol indicates that the video playing module needs to play a video; video playing modules which do not conform to the playing protocol refer to modules which do not need to be played, such as some advertisement modules, and the like. As shown in fig. 4, the interface schematic diagram of the page video playing module provided in the embodiment of the present invention may directly skip the video playing module that does not conform to the playing protocol without traversing.
The video playing module conforming to the playing protocol of the embodiment of the invention can be provided with or provided with the following interfaces:
a first interface for providing playback information; the playing information may include address information of a request for playing a video stream, identification ID information corresponding to the video stream, information of a position or a page area where the video is played, information of an area size where the video is played, and the like.
A second interface for providing broadcast control logic; the playback control logic, i.e., playback control logic, may include whether to resume playback, whether to loop playback, whether to allow playback using data traffic, and so on.
A third interface for providing video preloading information; the preloaded information may include next or next video information to be played, such as video information of an adjacent video playing module, video information to be played again, and the like.
Step S302: according to the configured playable logic, confirming the traversed video playing modules one by one until confirming the video playing module to be played currently;
specifically, the playable logic configured in the embodiment of the present invention is used to determine whether a video playing module in a page is a video playing module to be played currently, and when a certain video playing module satisfies the playable logic, the page video playing device determines or confirms that the video playing module is the video playing module to be played currently.
The playable logic in the embodiment of the present invention may be some logic customized or customized for the video playing module itself according to the requirement, for example, a certain video playing module customizes a logic that can be played as long as it is located in the middle area of the page, or a logic that can be played as long as the ratio of the visible area of the video playing picture of the video playing module in the page to the total video playing picture of the video playing module is greater than two thirds. The playable logic in the embodiment of the present invention may also be a play order rule, for example, it is configured that, according to an order from top to bottom of the page, the upper video playing module plays first, and the lower video playing module plays later, if at least two video playing modules are at the same height of the page, the first playing with a large area of the video playing picture may be further configured, or the first playing may be performed at the same height in a left-to-right order or a right-to-left order.
Step S304: and adding the initialized player to the video playing module to be played currently, and playing the video content of the video playing module to be played currently through the player according to the current playing control logic.
Specifically, before step S304 is executed, if an initialized player exists, for example, before a video playing module to be played currently, the player has been initialized to play a previous video playing module, then the page video playing device may directly transfer the initialized player to be added to the video playing module to be played currently; that is to say, the page video playing device can directly reuse the existing initialized player, so as to reduce the time loss caused by repeated initialization and improve the efficiency of page video playing. Before executing step S304, if there is no initialized player, initializing the player, and adding the initialized player to the video playing module to be currently played. After the player is added to the video playing module to be currently played, the playing detection logic may be ended, and the current playing controller of the page video playing device is subsequently responsible for the playing control logic, that is, the current playing controller of the page video playing device may play the video content of the video playing module to be currently played through the player according to the configured current playing control logic.
In one embodiment, the playable logic in the embodiment of the present invention may be configured, modified or adjusted according to product requirements of the video APP. The playable logic and the play control logic are relatively independent, when the view display style of the video playing module in the page is changed (including adding, deleting and changing the view display style of the video playing module), the page video playing meeting the product requirement can be realized by adjusting the playable logic, and the problem that the play control logic (namely the control scheme of the video stream) in the prior art needs to be compatible with each view display style is avoided. On the premise of finishing the current video playing function, the embodiment of the invention greatly reduces the coupling with the page and reduces the development cost of applying the current playing function to the UI of each different view display style.
By traversing the video playing modules which accord with the playing protocol in the current page, according to the configured playable logic, confirming the traversed video playing modules one by one until the video playing module to be played currently is confirmed, adding the initialized player to the video playing module to be played currently, and playing the video content of the video playing module to be played currently according to the current playing control logic through the player; the playing control scheme in the prior art is not required to be compatible with each display style, the display styles of the video playing module can be not limited to rectangle, the playable logic can be configured according to the product requirements, the technical problems that the playing control scheme in the prior art is required to be compatible with each display style, the complex implementation is realized are solved, the technical problems that developers become unconscious and the development cost is high due to the playing control scheme are avoided, and the cost benefit is greatly improved.
Fig. 5 to fig. 7 are schematic diagrams of a method for confirming video playing modules according to an embodiment of the present invention, which illustrate how step S302 confirms traversed video playing modules one by one according to configured playable logic until a video playing module to be played currently is confirmed. The method for confirming the video playing module in fig. 5 to fig. 7 is executed by the page video playing device, and the page video playing device may be the page video playing device in fig. 1.
As in fig. 5, the following steps may be included:
step S500: determining whether the video playing module meets configured playable logic or not through the currently traversed video playing module;
specifically, the playable logic in this embodiment may be some logic customized or customized for the video playing module itself according to requirements, for example, a certain video playing module customizes a logic that can be played as long as it is located in a middle area of a page, or satisfies a logic that can be played as long as a ratio of a visible area of a video playing picture of the video playing module in the page to the total video playing picture is greater than two thirds. And the current playing controller is determined by the video playing module, and the current playing controller of the page video playing device is informed of the determination result. If it is determined that the playable logic is satisfied, step S504 is performed, and if it is determined that the playable logic is not satisfied, step S502 is performed.
Step S502: traversing the next video playing module;
specifically, the page video playing device traverses the next video playing module, and then re-executes step S500.
Step S504: and determining that the currently traversed video playing module is the video playing module to be played currently.
That is, the embodiment of fig. 5 may determine whether the traversed video playing module is the video playing module to be played currently only through some logic customized or customized according to the requirement for the video playing module itself, until the video playing module to be played currently is confirmed.
As in fig. 6, the following steps may be included:
step S600: determining whether the video playing module is a first response playing module or not through the currently traversed video playing module;
specifically, the playable logic in this embodiment may be some logic that is customized or customized according to the requirement of the video playing module itself to determine whether the currently traversed video playing module is the first response playing module; and the current playing controller is determined by the video playing module, and the current playing controller of the page video playing device is informed of the determination result. If the first response playing module is determined, that is, the currently traversed video playing module is determined to be the first video module to be played in the current page, that is, the video playing module to be played currently, executing step S606; if the first response playing module is determined not to be the first response playing module, step S602 is executed;
step S602: confirming whether the currently traversed video playing module can play according to a playing sequence rule;
specifically, after determining the playable logic in this embodiment through some logic that is customized or customized according to the requirements of the video playing module itself, it is further determined whether the currently traversed video playing module is playable according to the playing sequence rule. For example, according to the sequence from top to bottom of the page, the video playing module above plays first, and the video playing module below plays later, if at least two video playing modules are at the same height of the page, the first playing with a large area of the video playing picture can be further configured, or the video playing pictures are played sequentially at the same height in the sequence from left to right or from right to left, and so on. If the currently playing controller of the page video playing device determines that the currently traversed video playing module can play through the playing sequence rule, that is, the currently traversed video playing module is determined to be the first video module to be played in the current page, that is, the currently played video playing module, step S606 is executed; if the currently playing controller determines that the currently traversed video playing module is not playable according to the playing sequence rule, step S604 is executed.
Step S604: traversing the next video playing module;
specifically, the page video playing device traverses the next video playing module, and then re-executes step S600.
Step S606: and determining that the currently traversed video playing module is the video playing module to be played currently.
That is to say, in the embodiment of fig. 6, it may be determined whether the traversed video playing module is the video playing module to be played currently by using some logic customized or customized according to the requirement of the video playing module itself, and if not, it may be determined whether the currently traversed video playing module can be played according to the playing sequence rule; until the video playing module to be played currently is confirmed.
As in fig. 7, the following steps may be included:
step S700: confirming whether the currently traversed video playing module can play according to the playing sequence rule;
specifically, the playable logic in this embodiment may be a play order rule configured according to product requirements, for example, according to an order from top to bottom of a page, a video play module on the top plays first, and a video play module on the bottom plays later, if at least two video play modules are at the same height of the page, the playable logic may further configure to play first with a large area of a video play picture, or play sequentially at the same height, in an order from left to right or in an order from right to left, and so on. If the current playing controller of the page video playing device determines that the currently traversed video playing module can play according to the playing sequence rule, step S704 is executed, and if the currently traversed video playing module is determined to be playable, step S702 is executed.
Step S702: traversing the next video playing module;
specifically, the page video playing device traverses the next video playing module, and then re-executes step S700.
Step S704: and determining that the currently traversed video playing module is the video playing module to be played currently.
That is to say, the embodiment of fig. 7 may only confirm whether the traversed video playing module is the video playing module to be played currently according to the playing sequence rule configured according to the product requirement; until the video playing module to be played currently is confirmed.
As shown in fig. 8, the following flowchart of another embodiment of the page video playing method according to the present invention is schematically illustrated in another embodiment, and the page video playing method according to the embodiment of the present invention is described in detail by another embodiment, where the page video playing method is executed by a page video playing device, the page video playing device may be the page video playing device in fig. 1, and the page video playing method may specifically include the following steps:
step S800: monitoring that the current page stops scrolling;
specifically, as in step S300 of the embodiment of fig. 3, a user may control a page of a video APP to scroll, so as to roughly browse the content of the video page, when the user controls the page of the video APP to stop scrolling, the page video playing device monitors that the current page stops scrolling, and displays an interface schematic diagram of the page video playing method provided by the embodiment of the present invention, which is shown in fig. 9, where the page includes a plurality of video playing modules.
Step S802: searching a next video playing module which accords with a playing protocol of the current page;
step S804: whether the current video playing module is a video playing module to be played or not;
specifically, steps S802 and S804 are that the page video playing device traverses the video playing module in the current page, which conforms to the playing protocol; and then confirming the traversed video playing modules one by one according to the configured playable logic until confirming the video playing module to be played currently. If the current video playing module of the page video playing device is the video playing module to be played, step S806 is executed, and if the current video playing module is not the video playing module to be played, step S802 is executed.
Reference may be made in particular to the description in the embodiments of fig. 3 to 7.
Step S806: adding the initialized player to the video playing module to be played currently and playing video content;
specifically, a current playing controller of the page video playing device may receive playing information provided by a video playing module to be currently played through a first interface, current playing control logic provided by a second interface and configured by the video playing module to be currently played, and video preloading information provided through a third interface; the current playing controller of the page video playing device may further receive a container of a player provided by a video playing module to be currently played, add the initialized player to the video playing module to be currently played, and play the video content of the video playing module to be currently played through the player according to the playing information and the current playing control logic.
In one embodiment, the current broadcast control logic of the page video playing device may be configured and modified by the video playing module to be currently played, and the default broadcast control logic may include: pausing the playing after switching the background or leaving the page; when the page returns to the foreground or the page is visible again, the playing is continued; and performing network switching control, such as pausing the playing under the mobile data traffic (e.g., 4G), and switching to a WIreless network (e.g., wifi) to continue playing; and after the current video content is played, the control of playing or playing in a circulating way is carried out as far as possible, and the like.
Step S808: preloading video content to be played;
specifically, the video preloading information received by the currently playing controller of the page video playing device indicates the video content to be played after the video content of the video playing module to be played currently is played, and the currently playing controller preloads the video content to be played through the player according to the video preloading information.
In one embodiment, the video content to be played comprises video contents of other video playing modules, which conform to the playing protocol, in the current page except for the video playing module to be played currently; then the current playing controller may first perform playing sequencing on the other video playing modules, and then sequentially pre-load the video contents of the other video playing modules according to the playing sequencing order. That is to say, the current playing controller may play and sort other video playing modules according to a weight, where the weight may be determined by a playing order rule, for example, it is configured that the video playing module above plays the video first and the video playing module below plays the video later according to an order from top to bottom of the page, and then the weight of the video playing module above is greater than that of the video playing module below, if at least two video playing modules are at the same height of the page and the area of the video playing frame is large and played first, then the weight of the video playing module with the large area of the video playing frame is greater than that of the video playing module with the small area of the video playing frame, and so on, the preloading is performed according to an order from large to small of the weight.
For example, as shown in fig. 10, in an interface schematic diagram of another embodiment of the page video playing method of the present invention, if it is determined that the video playing module 1 in the current page is the video playing module to be played currently, the initialized player is added to the video playing module 1 and plays the video content corresponding to the video playing module 1. When preloading other video playing modules, which are in accordance with a playing protocol, in a current page except for the video playing module 1, for example, the video playing module above is configured to play first and the video playing module below is configured to play later according to an order from top to bottom of the page, if at least two video playing modules are at the same height of the page, the area of a video playing picture is large and the area of the video playing picture is small, the video playing module on the left side of the page is played first and the video playing module on the right side of the page is played later according to an order from left to right if the at least two video playing modules are at the same height of the page and the areas of the video playing pictures are the same; the video playing modules 2 to 7 in fig. 10 are in the order of the weight preloading.
In one embodiment, in the process of sequentially preloading the video contents of the other video playing modules according to the playing sequencing order, it may be determined whether the video playing module to be preloaded currently is preloaded; if the judgment result is that the video playing module is preloaded, skipping the current video playing module to the next video playing module to be preloaded, and then re-executing the judgment result to judge whether the current video playing module to be preloaded is preloaded; and if the situation that the video playing module to be preloaded currently is not preloaded is judged, preloading the video content of the video playing module to be preloaded currently.
Step S810: finishing playing the current video content;
step S812: and judging whether the current video playing module has continuous playing video content.
Specifically, under the condition that the page video playing device determines that the video content of the video playing module to be played currently is played completely, if the video playing module to be played currently has video content to be played continuously, step S814 is executed; if the video playing module to be played currently does not have the continuous playing video content, step S802 is executed.
Step S814: and playing the continuous playing video content of the video playing module to be played currently according to the current playing control logic through the player.
In one embodiment, as shown in fig. 11, in an interface schematic diagram of another embodiment of the page video playing method according to the present invention, during a process that a page is playing a video content of the video playing module 1, if a user slides the page again and the page rolls, a currently playing controller of the page video playing device may pause playing the video content of the video playing module 1 until the currently playing controller detects that the page rolls, and then traverse a video playing module in accordance with a playing protocol in the scrolled current page again; when the page scrolls, the current playing controller may also determine whether to pause playing the video content of the video playing module 1 according to the scrolling condition of the video playing module 1 in the page, for example, as shown in fig. 11, most of the view area of the video playing module 1 is still visible, and the proportion of the visible area of the video playing picture of the video playing module in the page to the total video playing picture of the video playing module is greater than two-thirds or three-fourths, that is, two-thirds or three-fourths of the video playing picture of the video playing module in the page is visible, the video content of the video playing module 1 may be continuously played, if the interface diagram of another embodiment of the page video playing method shown in fig. 12 is shown, the proportion of the visible area of the video playing picture of the video playing module 1 in the page to the total video playing picture of the video playing module 1 is less than two-thirds or three-fourths of the video playing picture of the video playing module in the page is visible, the video playing module is paused, and the current playing module that conforms to the traversal protocol after the page scrolls again is detected by the current playing controller.
Assuming that a page is sliding to operate the page again in the process of playing the video content of the video playing module 1, the page rolls, and when the interface schematic diagram of another embodiment of the page video playing method of the present invention shown in fig. 12 is used, the page rolls to stop, the currently playing controller confirms that the video playing module 2 in fig. 12 is the video playing module to be played currently according to the page video playing method of the above embodiment of the present invention, then the currently playing controller transfers the initialized player from the video playing module 1 to the video playing module 2, plays the video content of the video playing module 2 through the player, and preloads the video playing modules other than the video playing module 2 in the page according to the weight, where the preloading sequence may be from the video playing module 3 to the video playing module 7 to the video playing module 1; if there are video playing modules that have been preloaded successfully, the process skips, for example, when preloading the video playing modules 2 to 6 is performed in the embodiment of fig. 10, and the video playing modules 2, 3, and 4 have been preloaded successfully, then the process skips the video playing modules 3 and 4, preloads the following video playing modules 5 to 7, and finally preloads the video playing module 1.
By traversing the video playing modules which accord with the playing protocol in the current page and according to the configured playable logic, the embodiment of the invention confirms the traversed video playing modules one by one until the video playing module to be played currently is confirmed, adds the initialized player to the video playing module to be played currently, and plays the video content of the video playing module to be played currently according to the current playing control logic through the player; the playable logic and the play control logic are relatively independent, when the view display style of the video playing module in the page is changed (including adding, deleting and changing the view display style of the video playing module), the page video playing meeting the product requirements can be realized by adjusting the playable logic, then the traversed video playing modules are confirmed one by one according to the configured playable logic until the video playing module to be played at present is confirmed, the play control scheme according to the prior art is not required to be compatible with each display style, and the problem that the play control logic (namely the control scheme of the video stream) in the prior art is required to be compatible with each view display style is avoided. On the premise of finishing the current video playing function, the embodiment of the invention greatly reduces the coupling with the page and reduces the development cost of applying the current playing function to the UI of each different view display style. The technical problems that playing control schemes in the prior art need to be compatible with various display styles and are complex to realize are solved, the problems that developers are unconscious and high in development cost due to the playing control schemes are solved, and the cost benefit is greatly improved.
In addition, each video playing module can only be responsible for rendering a User Interface (UI), the played video content and the playing control logic do not need to be understood, and the full right of the playing control logic is given to the current playing controller for processing; the style adapter can provide an attempt to show the style, namely, the layout and the style of each video playing module of the page are indicated, and the UI of the video playing module is not limited to a rectangle; the controller of the embodiment of the invention has extremely high reusability, can be freely configured among all pages, and greatly reduces the development cost. The player can be multiplexed among all the video playing modules after being initialized, and the time loss caused by repeated initialization is reduced. Moreover, when the video content is played, the mode of preloading the video content to be played is adopted, the loading time of switching or continuous playing among the modules is optimized, and the video playing efficiency is further improved.
In order to better implement the above scheme of the embodiment of the present invention, the present invention further provides a page video playing device, which is described in detail below with reference to the accompanying drawings:
as shown in fig. 13, which is a schematic structural diagram of the page video playing apparatus according to the embodiment of the present invention, the page video playing apparatus 13 may include: traverse module 130, confirmation module 132, and play module 134, wherein,
the traversal module 130 is configured to traverse a video playing module in the current page, where the current page stops scrolling, and the video playing module conforms to a playing protocol;
the confirming module 132 is configured to confirm the traversed video playing modules one by one according to the configured playable logic until the video playing module to be played currently is confirmed;
the playing module 134 is configured to add the initialized player to the video playing module to be currently played, and play the video content of the video playing module to be currently played through the player according to the current playing control logic.
In one embodiment, the determination module 132 may be configured to determine whether the configured playable logic is satisfied by the currently traversed video playback module; if the video playing module meets the playable logic, the currently traversed video playing module is determined to be the video playing module to be played currently; if the playable logic is not satisfied, traversing the next video playing module, and re-executing the currently traversed video playing module to determine whether the video playing module satisfies the playable logic or not until the video playing module to be played currently is confirmed.
In one embodiment, the determining module 132 may be configured to determine whether itself is the first response playing module through the currently traversed video playing module; if yes, confirming that the currently traversed video playing module is the video playing module to be played currently; if not, determining whether the currently traversed video playing module can play according to the playing sequence rule, and if yes, determining that the currently traversed video playing module is the video playing module to be played currently; and if the video cannot be played, traversing the next video playing module, and re-executing the currently traversed video playing module to determine whether the currently traversed video playing module is the first response playing module or not until the video playing module to be played currently is confirmed.
In one embodiment, the confirming module 132 may be configured to confirm whether the currently traversed video playing module is playable according to the playing sequence rule; if the video can be played, confirming that the currently traversed video playing module is the video playing module to be played currently; and if the video can not be played, traversing the next video playing module, and re-executing the video playing module which is determined to be currently traversed according to the playing sequence rule to determine whether the currently played video playing module can be played until the currently played video playing module is determined.
In one embodiment, the adding of the initialized player to the video playing module to be currently played by the playing module 134 may include: if the initialized player exists, transferring and adding the initialized player to the video playing module to be played currently; if the initialized player does not exist, the player is initialized, and the initialized player is added to the video playing module to be played currently.
In one embodiment, the video playing module conforming to the playing protocol is provided with the following interfaces:
a first interface for providing playback information;
a second interface for providing broadcast control logic.
In one embodiment, the playing module 134 plays, by the player according to the current playing control logic, the video content of the video playing module to be currently played, and may include: receiving play information provided by the video play module to be played currently through the first interface and current play control logic provided by the video play module to be played currently through the second interface, wherein the current play control logic is configured by the video play module to be played currently; and playing the video content of the video playing module to be played currently through the player according to the playing information and the current playing control logic.
As shown in fig. 14, which is a schematic structural diagram of another embodiment of the page video playing apparatus provided by the present invention, the page video playing apparatus 13 may further include a receiving module 136, a preloading module 138, and a sorting module 1310, in addition to the traversing module 130, the confirming module 132, and the playing module 134, wherein,
the receiving module 136 is configured to receive the video preloading information provided by the video playing module to be currently played through the third interface; the video preloading information indicates video content to be played after the video content of the video playing module to be played currently is played;
the preloading module 138 is configured to preload the video content to be played through the player according to the video preloading information.
The sorting module 1310 is configured to perform playing sorting on other video playing modules in the current page, except the video playing module to be played currently, that meet a playing protocol;
the preloading module 138 is further configured to sequentially preload the video contents of the other video playing modules according to the playing sequencing order. Specifically, the method may include determining whether a video playing module to be preloaded currently is already preloaded; if the judgment result is that the video playing module is preloaded, skipping the current video playing module to the next video playing module to be preloaded, and re-executing the judgment to judge whether the current video playing module to be preloaded is preloaded; and if the situation that the video playing module to be preloaded currently is not preloaded is judged, preloading the video content of the video playing module to be preloaded currently.
In one embodiment, the playing module 134 may be further specifically configured to, after the player plays the video content of the video playing module to be currently played according to the current playing control logic, if the video content of the video playing module to be currently played is played completely, play the continuous playing video content of the video playing module to be currently played according to the current playing control logic by the player if the continuous playing video content exists in the video playing module to be currently played;
if the video playing module to be played currently has no continuous playing video content, the traversal module 130 is triggered to continue traversing the next video playing module, and the confirmation module 132 re-executes the playable logic according to the configuration to confirm the traversed video playing modules one by one until the video playing module to be played currently is confirmed.
It should be noted that, in the embodiment of the present invention, each module of the page video playing apparatus 13 is configured to execute the step of executing the page video playing method by the page video playing device in the embodiments of fig. 1 to fig. 12 in the above-mentioned methods, which is not described herein again.
In order to better implement the above scheme of the embodiment of the present invention, the present invention further provides a page video playing device, which is described in detail below with reference to the accompanying drawings:
as shown in fig. 15, which is a schematic structural diagram of the page video playing device provided in the embodiment of the present invention, the page video playing device 15 may include a processor 151, a display screen 152, a memory 154, and a communication module 155, and the processor 151, the display screen 152, the memory 154, and the communication module 155 may be connected to each other through a bus 156. The Memory 154 may be a Random Access Memory (RAM) Memory or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory, and the Memory 154 includes a flash in the embodiment of the present invention. Memory 154 may optionally also be at least one memory system located remotely from the aforementioned processor 151. The memory 154 is used for storing application program codes, which may include an operating system, a network communication module, a user interface module, and a page video playing program, and the communication module 155 is used for interacting information and data with an external device to obtain video contents; the processor 151 is configured to call the program code, and perform the following steps:
traversing a video playing module in the current page that conforms to the playing protocol in the case that the current page of the display screen 152 stops scrolling;
according to the configured playable logic, confirming the traversed video playing modules one by one until confirming the video playing module to be played currently;
adding the initialized player to the video playing module to be played currently, and playing the video content of the video playing module to be played currently on the display screen 152 through the player according to the current playing control logic.
In one embodiment, the processor 151, according to the configured playable logic, confirms the traversed video playing modules one by one until confirming the video playing module to be played currently, and may include:
determining whether the current traversed video playing module meets configured playable logic or not;
if the video playing module meets the playable logic, the currently traversed video playing module is determined to be the video playing module to be played currently; if the playable logic is not satisfied, traversing the next video playing module, and re-executing the currently traversed video playing module to determine whether the video playing module satisfies the playable logic or not until the video playing module to be played currently is confirmed.
In one embodiment, the processor 151, according to the configured playable logic, confirms the traversed video playing modules one by one until confirming the video playing module to be played currently, and may include:
determining whether the current traversed video playing module is a first response playing module or not;
if so, confirming that the currently traversed video playing module is the video playing module to be played currently;
if not, determining whether the currently traversed video playing module can play according to the playing sequence rule, and if yes, determining that the currently traversed video playing module is the video playing module to be played currently; and if the video can not be played, traversing the next video playing module, and re-executing the currently traversed video playing module to determine whether the video playing module is the first response playing module or not until the video playing module to be played currently is determined.
In one embodiment, the processor 151, according to the configured playable logic, confirms the traversed video playing modules one by one until confirming the video playing module to be played currently, and may include:
confirming whether the currently traversed video playing module can play according to the playing sequence rule;
if the video can be played, confirming that the currently traversed video playing module is the video playing module to be played currently; and if the video can not be played, traversing the next video playing module, and re-executing the video playing module which is determined to be currently traversed according to the playing sequence rule to determine whether the currently traversed video playing module can be played until the video playing module to be played is determined.
In one embodiment, the adding, by the processor 151, the initialized player to the video playing module to be currently played may include:
if the initialized player exists, transferring and adding the initialized player to the video playing module to be played currently;
if the initialized player does not exist, initializing the player, and adding the initialized player to the video playing module to be played currently.
In one embodiment, the video playing module conforming to the playing protocol is provided with the following interfaces:
a first interface for providing playback information;
a second interface for providing the broadcast control logic.
In one embodiment, the playing, by the player, the video content of the video playing module to be currently played on the display screen 152 according to the current playing control logic by the processor 151 may include:
receiving the playing information provided by the video playing module to be played currently through the first interface and the current playing control logic provided by the second interface and configured by the video playing module to be played currently;
and playing the video content of the video playing module to be played currently on the display screen 152 through the player according to the playing information and the current playing control logic.
In one embodiment, the playing, by the player, the video content of the video playing module to be currently played on the display screen 152 according to the current playing control logic by the processor 151 may include:
receiving play information provided by the video play module to be played currently through the first interface and current play control logic provided by the video play module to be played currently through the second interface, wherein the current play control logic is configured by the video play module to be played currently;
and playing the video content of the video playing module to be played currently on the display screen 152 through the player according to the playing information and the current playing control logic.
In one embodiment, the video playing module conforming to the playing protocol is further provided with a third interface for providing video preloading information; after the processor 151 plays the video content of the video playing module to be currently played on the display screen 152 according to the current playing control logic, the following steps may be further performed:
receiving video preloading information provided by the video playing module to be played currently through the third interface; the video preloading information indicates video content to be played after the video content of the video playing module to be played currently is played;
and preloading the video content to be played through the player according to the video preloading information.
In one embodiment, after the processor 151 plays the video content of the video playing module to be currently played on the display screen 152 according to the current play control logic, the following steps may be further performed:
playing and sequencing other video playing modules which are in accordance with a playing protocol except the video playing module to be played currently in the current page;
and sequentially preloading the video contents of the other video playing modules according to the playing sequencing sequence.
In one embodiment, the preloading the video contents of the other video playing modules in sequence according to the playing sequence by the processor 151 may include:
under the condition that the video playing module to be preloaded at present is judged to be preloaded, skipping over the current video playing module to a next video playing module to be preloaded;
and under the condition that the video playing module to be preloaded currently is not preloaded, preloading the video content of the video playing module to be preloaded currently.
In one embodiment, after the processor 151 plays the video content of the video playing module to be currently played according to the current playing control logic through the player, the method further includes:
under the condition that the video content of the video playing module to be played currently is played completely, if the video playing module to be played currently has continuous playing video content, the continuous playing video content of the video playing module to be played currently is played on the display screen 152 through the player according to the current playing control logic;
if the video playing module to be played currently does not have continuous playing video content, continuously traversing the next video playing module, re-executing the playable logic according to the configuration, and confirming the traversed video playing modules one by one until the video playing module to be played currently is confirmed.
It should be noted that, in the embodiment of the present invention, reference may be made to the specific implementation manner of the streaming media processing system in the embodiments of fig. 1 to 12 in the foregoing method embodiments for the execution step of the processor 151 in the page video playing device 15, and details are not described here again.
By traversing the video playing modules which accord with the playing protocol in the current page and according to the configured playable logic, the embodiment of the invention confirms the traversed video playing modules one by one until the video playing module to be played currently is confirmed, adds the initialized player to the video playing module to be played currently, and plays the video content of the video playing module to be played currently according to the current playing control logic through the player; the playable logic and the play control logic are relatively independent, when the view display style of the video playing module in the page is changed (including adding, deleting and changing the view display style of the video playing module), the page video playing meeting the product requirements can be realized by adjusting the playable logic, then the traversed video playing modules are confirmed one by one according to the configured playable logic until the video playing module to be played at present is confirmed, the play control scheme according to the prior art is not required to be compatible with each display style, and the problem that the play control logic (namely the control scheme of the video stream) in the prior art is required to be compatible with each view display style is avoided. On the premise of finishing the current video playing function, the embodiment of the invention greatly reduces the coupling with the page and reduces the development cost of applying the current playing function to the UI of each different view display style. The technical problems that in the prior art, the playing control scheme needs to be compatible with each display style, and complex realization is achieved are solved, the technical problems that developers become unconscious and the development cost is high due to the playing control scheme are avoided, and the cost benefit is greatly improved.
In addition, each video playing module can only be responsible for rendering a User Interface (UI), the played video content and the playing control logic do not need to be understood, and the full right of the playing control logic is given to the current playing controller for processing; the style adapter can provide an attempt to show a style, namely, the layout and the style of each video playing module of the page are indicated, and the UI of the video playing module is not limited to a rectangle; the controller of the embodiment of the invention has extremely high reusability, can be freely configured among all pages, and greatly reduces the development cost. The player can be multiplexed among the video playing modules after initialization, and time loss caused by repeated initialization is reduced. Moreover, when the video content is played, the form of preloading the video content to be played is adopted, the loading time of switching or continuous playing among the modules is optimized, and the video playing efficiency is further improved.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.

Claims (13)

1. A method for playing a page video is characterized by comprising the following steps:
traversing a video playing module which accords with a playing protocol in the current page under the condition that the current page stops rolling, wherein the video playing module which accords with the playing protocol is provided with a second interface used for providing playing control logic, and the current page comprises the video playing module which accords with the playing protocol and/or a video playing module which does not accord with the playing protocol;
according to configured playable logic, confirming traversed video playing modules until the video playing module to be played currently is confirmed, wherein the playable logic comprises a playing sequence rule, the playing sequence rule comprises an association relationship between a view display style of the video playing modules and a playing sequence, the view display style is used for indicating the layout and the style of each video playing module in a current page, and the association relationship between the view display style and the playing sequence comprises: playing according to the sequence of the page from top to bottom, if the at least two video playing modules are at the same height of the page, determining the playing sequence of the at least two video playing modules according to the area size of a video playing picture, and/or determining the playing sequence of the at least two video playing modules according to the sequence from left to right or from right to left;
adding the initialized player to the video playing module to be played currently, and receiving a current playing control logic provided by the video playing module to be played currently through the second interface and configured by the video playing module to be played currently, wherein the current playing control logic comprises whether to continue playing, whether to play circularly and/or whether to allow playing by using data flow;
playing the video content of the video playing module to be played currently through the player according to the current playing control logic;
wherein, according to the configured playable logic, the step of confirming the traversed video playing module until confirming the video playing module to be played currently comprises:
determining whether the currently traversed video playing module can play according to the playing sequence rule;
if the video can be played, confirming that the currently traversed video playing module is the video playing module to be played currently; and if the video can not be played, traversing the next video playing module, and re-executing the video playing module which is determined to be currently traversed according to the playing sequence rule to determine whether the currently traversed video playing module can be played until the video playing module to be played is determined.
2. The method of claim 1, wherein said validating traversed video playback modules until a currently played video playback module is validated according to configured playable logic comprises:
determining whether the current traversed video playing module meets configured playable logic or not;
if the video playing module meets the playable logic, the currently traversed video playing module is determined to be the video playing module to be played currently; and if the playable logic is not satisfied, traversing the next video playing module, and re-executing the currently traversed video playing module to determine whether the video playing module satisfies the playable logic or not until the video playing module to be played currently is confirmed.
3. The method of claim 1, wherein said validating traversed video playback modules until a currently played video playback module is validated according to configured playable logic comprises:
determining whether the video playing module is a first response playing module or not through the currently traversed video playing module;
if so, confirming that the currently traversed video playing module is the video playing module to be played currently;
if not, determining whether the currently traversed video playing module can play according to the playing sequence rule, and if yes, determining that the currently traversed video playing module is the video playing module to be played currently; and if the video cannot be played, traversing the next video playing module, and re-executing the currently traversed video playing module to determine whether the currently traversed video playing module is the first response playing module or not until the video playing module to be played currently is confirmed.
4. The method of claim 1, wherein adding the initialized player to the currently playing video playing module comprises:
if the initialized player exists, transferring and adding the initialized player to the video playing module to be played currently;
if the initialized player does not exist, the player is initialized, and the initialized player is added to the video playing module to be played currently.
5. The method of claim 1, wherein the video playback module conforming to the playback protocol is further provided with a first interface for providing playback information.
6. The method of claim 5, wherein the playing, by the player according to the current play control logic, the video content of the video playing module to be currently played further comprises:
receiving the playing information provided by the video playing module to be played currently through the first interface;
and playing the video content of the video playing module to be played currently through the player according to the playing information and the current playing control logic.
7. The method of claim 5, wherein the video playing module conforming to the playing protocol is further provided with a third interface for providing video preloading information; after the video content of the video playing module to be played currently is played by the player according to the current playing control logic, the method further includes:
receiving video preloading information provided by the video playing module to be played currently through the third interface; the video preloading information indicates video content to be played after the video content of the video playing module to be played currently is played;
and preloading the video content to be played through the player according to the video preloading information.
8. The method as claimed in claim 1, wherein after playing, by the player according to the current playing control logic, the video content of the video playing module to be currently played, further comprising:
playing and sequencing other video playing modules which are in accordance with a playing protocol except the video playing module to be played currently in the current page;
and sequentially preloading the video contents of the other video playing modules according to the playing sequencing sequence.
9. The method of claim 8, wherein said sequentially preloading video content of said other video playback modules in said order of playback sequencing comprises:
under the condition that the video playing module to be preloaded at present is judged to be preloaded, skipping over the current video playing module to a next video playing module to be preloaded;
and under the condition that the video playing module to be preloaded currently is not preloaded, preloading the video content of the video playing module to be preloaded currently.
10. The method of claim 8, wherein after playing, by the player according to the current play control logic, the video content of the video playing module to be currently played, further comprising:
under the condition that the video content of the video playing module to be played currently is played completely, if the video playing module to be played currently has continuous playing video content, the continuous playing video content of the video playing module to be played currently is played through the player according to the current playing control logic;
if the video playing module to be played currently does not have continuous playing video content, continuously traversing the next video playing module, re-executing the playable logic according to the configuration, and confirming the traversed video playing modules one by one until the video playing module to be played currently is confirmed.
11. A page video playing apparatus, characterized in that it comprises means for performing the method according to any one of claims 1-10.
12. The page video playing device is characterized by comprising a processor, a memory and a communication module, wherein the processor, the memory and the communication module are connected with each other, the memory is used for storing program codes, and the communication module is used for carrying out information interaction with external equipment; the processor is configured to invoke the program code to perform the method of any of claims 1-10.
13. A computer-readable storage medium, characterized in that the computer storage medium stores program instructions that, when executed by a processor, cause the processor to perform the method of any of claims 1-10.
CN201810830222.4A 2018-07-25 2018-07-25 Page video playing method, device, equipment and computer readable storage medium Active CN108984232B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810830222.4A CN108984232B (en) 2018-07-25 2018-07-25 Page video playing method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810830222.4A CN108984232B (en) 2018-07-25 2018-07-25 Page video playing method, device, equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108984232A CN108984232A (en) 2018-12-11
CN108984232B true CN108984232B (en) 2022-12-09

Family

ID=64550954

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810830222.4A Active CN108984232B (en) 2018-07-25 2018-07-25 Page video playing method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108984232B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110691282B (en) * 2019-10-16 2021-11-02 北京字节跳动网络技术有限公司 Video processing method and device, storage medium and electronic equipment
CN113810777B (en) * 2021-09-16 2024-03-01 上海哔哩哔哩科技有限公司 Playing method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102413358A (en) * 2011-08-12 2012-04-11 青岛海信传媒网络技术有限公司 Storage and playing method, device and system of streaming media file
CN105681841A (en) * 2015-12-30 2016-06-15 广东欧珀移动通信有限公司 Video play control method and system based on browser

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103517154A (en) * 2012-06-26 2014-01-15 深圳中兴网信科技有限公司 Method for preloading video files and system thereof
CN106034253A (en) * 2015-03-09 2016-10-19 阿里巴巴集团控股有限公司 Video content playing method, video content playing device and terminal equipment
CN106534983A (en) * 2016-11-30 2017-03-22 武汉斗鱼网络科技有限公司 Playing system for playing multiple videos in video list and playing method
CN107257510B (en) * 2017-06-05 2020-08-21 南京飞米农业科技有限公司 Video unified playing method, terminal and computer readable storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102413358A (en) * 2011-08-12 2012-04-11 青岛海信传媒网络技术有限公司 Storage and playing method, device and system of streaming media file
CN105681841A (en) * 2015-12-30 2016-06-15 广东欧珀移动通信有限公司 Video play control method and system based on browser

Also Published As

Publication number Publication date
CN108984232A (en) 2018-12-11

Similar Documents

Publication Publication Date Title
US9858968B2 (en) Mobile terminal and controlling method thereof
CN114302190B (en) Display equipment and image quality adjusting method
CN111356026B (en) Image data processing method and related device
US20130147787A1 (en) Systems and Methods for Transmitting Visual Content
US20060139321A1 (en) Display status modifying apparatus and method, display status modifying program and storage medium storing the same, picture providing apparatus and method, picture providing program and storage medium storing the same, and picture providing system
US20120005630A1 (en) Highly Responsive Screen Output Device, Screen Output System, and Screen Output Method
CN103038743A (en) Method and apparatus for dynamically switching between scalable graphical user interfaces for mobile devices
US20170366832A1 (en) Video reproduction apparatus, control method thereof, and computer-readable storage medium storing program
CN111901832B (en) Wireless screen projection module and screen projection method of all-in-one machine
CN108984232B (en) Page video playing method, device, equipment and computer readable storage medium
CN106020590B (en) View display method and device
KR20140140720A (en) Method and apparatus for application execution control
CN114707092A (en) Live content display method, device, equipment, readable storage medium and product
CN114077584A (en) File transmission method and display device
CN108769806B (en) Media content display method and device
CN114296840B (en) Wallpaper display method and display equipment
US20240153538A1 (en) Video Playback Method and Apparatus, and Electronic Device
CN112463267B (en) Method for presenting screen saver information on display device screen and display device
CN114518854A (en) Screen projection method and equipment
CN103686416A (en) Processing method and device for 3D (Dimensional) setting information in intelligent television
CN114640876B (en) Multimedia service video display method, device, computer equipment and storage medium
CN108429925B (en) View display method and device
CN113065022B (en) Interactive control method and device of terminal equipment and electronic equipment
CN107977230A (en) A kind of application management method based on state machine mechanism
CN111782100A (en) Method, device, terminal and storage medium for previewing background picture

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