CN107239503B - Video display method and device - Google Patents
Video display method and device Download PDFInfo
- Publication number
- CN107239503B CN107239503B CN201710326843.4A CN201710326843A CN107239503B CN 107239503 B CN107239503 B CN 107239503B CN 201710326843 A CN201710326843 A CN 201710326843A CN 107239503 B CN107239503 B CN 107239503B
- Authority
- CN
- China
- Prior art keywords
- page
- video
- video element
- playing
- playing window
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 34
- 238000000605 extraction Methods 0.000 claims description 9
- 230000001960 triggered effect Effects 0.000 abstract description 11
- 239000000284 extract Substances 0.000 abstract description 6
- 238000010586 diagram Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 238000001514 detection method Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
- G06F16/9577—Optimising the visualization of content, e.g. distillation of HTML documents
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Television Signal Processing For Recording (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention provides a video display method and a video display device, wherein the method comprises the following steps: when a presentation operation of at least one video element in a page of video elements is triggered, the viewing client extracts the at least one video element from the page and resizes the page to a size matching a size of a play window for playing the video element while hiding non-video elements in the page. Through the adjustment and the hiding operation, the incidence relation between the webpage and the video element is established while the video watching of the user is not influenced, and the watching requirement of the user for watching a plurality of videos at the same time is met through the incidence relation. And loading the page and at least one video element into at least one playing window which has one-to-one correspondence relation with the page and at least one video element, and displaying the at least one playing window in the watching client. Based on the method, the watching user can watch a plurality of videos in the page at the same time, and the watching experience of the user is improved.
Description
Technical Field
The invention relates to the technical field of internet, in particular to a video display method and device.
Background
Nowadays, the design of web pages increasingly attaches importance to the aesthetic property of web pages and the amount of information contained in web pages, so that various types of contents, such as characters, pictures, videos, and the like, usually exist in the existing web pages at the same time.
To enrich the amount of information contained in a web page, multiple videos are typically arranged into the same page. In practical application, the following situations often occur: at a certain time, only one of a plurality of videos contained in the webpage can be played, the watching requirement of the user cannot be met, and the user experience is reduced.
Disclosure of Invention
In view of this, embodiments of the present invention provide a video display method and apparatus, which independently display video elements in corresponding playing windows, so as to achieve the effect of simultaneously watching multiple videos, and meet the watching requirements of users.
The embodiment of the invention provides a video display method, which comprises the following steps:
in response to a presentation operation on at least one video element contained in a page, extracting the at least one video element contained in the page;
adjusting the page to a preset size, wherein non-video elements contained in the page are hidden;
and loading the adjusted page into at least one playing window, and loading the at least one video element into the at least one playing window respectively, wherein the preset size is matched with the size of the playing window, and the at least one playing window is in one-to-one correspondence with the at least one video element.
Optionally, before the extracting the at least one video element included in the page, the method further includes:
recording page state information corresponding to the at least one video element and the non-video element respectively;
the method further comprises the following steps:
and responding to the retracting operation of the at least one playing window, and restoring and displaying the page according to the page state information.
Optionally, the extracting the at least one video element included in the page includes:
identifying each flash tag contained in the page;
sending data source information associated with each flash tag to a server, so that the server determines the flash tags corresponding to the video elements according to the data source information;
and extracting the at least one video element according to the flash label corresponding to the video element fed back by the server.
Optionally, the method further comprises:
acquiring the playing heat of the at least one video element;
and determining the interface display position of the at least one playing window according to the playing heat of the at least one video element.
Optionally, the method further comprises:
and responding to the editing instruction of the at least one playing window, and executing the editing instruction.
An embodiment of the present invention provides a video display device, including:
the extraction module is used for responding to a display operation of at least one video element contained in a page, and extracting the at least one video element contained in the page;
the adjusting module is used for adjusting the page to a preset size, wherein non-video elements contained in the page are hidden;
and the loading module is used for loading the adjusted page into at least one playing window and loading the at least one video element into the at least one playing window respectively, wherein the preset size is matched with the size of the playing window, and the at least one playing window corresponds to the at least one video element one to one.
Optionally, the apparatus further comprises:
the recording module is used for recording page state information corresponding to the at least one video element and the non-video element;
and the restoring module is used for responding to the retracting operation of the at least one playing window and restoring and displaying the page according to the page state information.
Optionally, the extraction module specifically includes:
the identification unit is used for identifying each flash tag contained in the page;
the sending unit is used for sending the data source information associated with each flash tag to a server so that the server determines the flash tags corresponding to the video elements according to the data source information;
and the extraction unit is used for extracting the at least one video element according to the flash label corresponding to the video element fed back by the server.
Optionally, the apparatus further comprises:
the acquisition module is used for acquiring the playing heat of the at least one video element;
and the determining module is used for determining the interface display position of the at least one playing window according to the playing heat of the at least one video element.
Optionally, the apparatus further comprises:
and the editing module is used for responding to an editing instruction of the at least one playing window and executing the editing instruction.
According to the video display method and device provided by the embodiment of the invention, for a certain current page containing at least one video element, when the display operation of the at least one video element in the page of the video element is triggered, a watching client extracts the at least one video element from the page, adjusts the size of the page to be the size matched with the size of a playing window for playing the video element, and hides non-video elements in the page. Through the adjustment and the hiding operation, the incidence relation between the webpage and the video element is established while the video watching of the user is not influenced, so that the watching requirement that the user watches a plurality of videos at the same time is met. And loading the page and at least one video element into at least one playing window which has one-to-one correspondence relation with the page and at least one video element, and displaying the at least one playing window in the watching client. Based on the method, the watching user can watch a plurality of videos in the page at the same time, and the watching experience of the user is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a flowchart of a first embodiment of a video display method according to the present invention;
fig. 2 is a flowchart of a second embodiment of a video display method according to the present invention;
FIG. 3 is a schematic structural diagram of a first video display apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a second video display apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, and "a" and "an" generally include at least two, but do not exclude at least one, unless the context clearly dictates otherwise.
It should be understood that the term "and/or" as used herein is merely one type of association that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
It should be understood that although the terms first, second, third, etc. may be used to describe XXX in embodiments of the present invention, these XXX should not be limited to these terms. These terms are only used to distinguish XXX from each other. For example, a first XXX may also be referred to as a second XXX, and similarly, a second XXX may also be referred to as a first XXX, without departing from the scope of embodiments of the present invention.
The words "if", as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
It is also noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a good or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such good or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a commodity or system that includes the element.
Fig. 1 is a flowchart of a first embodiment of a video presentation method according to an embodiment of the present invention, where an execution subject of the video presentation method provided in this embodiment may be a viewing client, as shown in fig. 1, the method includes the following steps:
s101, in response to the display operation of at least one video element contained in the page, at least one video element contained in the page is extracted.
When the watching user browses the page containing at least one video element, optionally, the watching user manually clicks a play button corresponding to the at least one video element in the page to trigger the display operation of the at least one video element; or when the currently displayed page of the viewing client is in a stable state, that is, the viewing user does not perform the page sliding operation on the currently browsed page, the viewing client may automatically trigger the display operation of the at least one video element by detecting the stable state of the page. For this case, we can collectively refer to the video element that triggered the presentation operation as the target video element in order to simplify the description of the subsequent steps. At this time, the viewing client identifies and extracts the target video element from the page in which the plurality of content types exist in response to the presentation operation.
S102, adjusting the page to a preset size, wherein non-video elements contained in the page are hidden.
S103, loading the adjusted page into at least one playing window, and loading at least one video element into the at least one playing window respectively, wherein the preset size is matched with the size of the playing window, and the at least one playing window is in one-to-one correspondence with the at least one video element.
After the display operation of the video elements is triggered, the viewing client firstly adjusts the size of the page where the target video element is located, and the adjusted page size is matched with the size of a playing window for playing the video elements. Specifically, the matching between the adjusted page size and the playing window size may be represented as that the adjusted page size and the playing window have the same size, or may be represented as that the adjusted page size and the playing window size have a corresponding ratio, for example, the adjusted page size and the playing window size have the same width or height.
While the page is resized, the viewing client hides the non-video elements in the page. Optionally, a corresponding functional statement may be written in the page script by a technician, and after the viewing client responds to the video element display operation, that is, the condition that the viewing client executes the function of hiding the non-video elements other than the video elements is satisfied, at this time, the viewing client may automatically execute the functional statement, so as to hide the non-video elements other than the video elements.
The watching client generates a playing window corresponding to each target video element, namely, the generated playing windows and the target video elements have a one-to-one correspondence relationship. On the basis, the viewing client loads the adjusted and hidden page and at least one video element triggering the display operation into at least one playing window respectively according to the number of the video element display operations triggered in the page. And all the at least one playing window is displayed in the display interface of the viewing client, and the user can simultaneously view at least one video in the same page in the same viewing interface.
In this embodiment, for a current page containing at least one video element, when a presentation operation of the at least one video element in the page of video elements is triggered, the viewing client extracts the at least one video element from the page, and adjusts the size of the page to a size matching a size of a play window for playing the video element, while hiding non-video elements in the page. Through the adjustment and the hiding operation, the incidence relation between the webpage and the video element is established while the video watching of the user is not influenced, so that the watching requirement that the user watches a plurality of videos at the same time is met. And loading the page and at least one video element into at least one playing window which has one-to-one correspondence relation with the page and at least one video element, and displaying the at least one playing window in the watching client. Based on the method, the watching user can watch a plurality of videos in the page at the same time, and the watching experience of the user is improved.
Fig. 2 is a flowchart of a second embodiment of a video display method according to the present invention, and as shown in fig. 2, the method may include the following steps:
s201, responding to the display operation of at least one video element contained in the page, and recording page state information corresponding to the at least one video element and the non-video element.
And when the watching user triggers the display operation of at least one video element in the page, the watching client responds to the display operation and records the page state information of at least one video element and non-video elements in the page. The reason why the viewing client records the state information of the page elements is that after the retraction operation of the playing window is triggered under a certain condition, the viewing client can completely and correctly recover the page according to the recorded page state information.
Alternatively, the viewing client may obtain and record page status information corresponding to each of the at least one video element and the non-video element by obtaining a layout file corresponding to the current page from the server. The layout file already stores page state information of each video element and non-video element in the page, and the page state information may include an element state, a position, a display form, and the like of each page element in the page, and the element state of the page element may be specifically a display state or a hidden state.
S202, identifying each flash tag contained in the page.
When designing a web page, a technician sets a type tag for each type of content in the web page, for example, the tag of text content is text, the tag of picture content is image, and the tags of video content and message content are both flash tags. Based on the method, after responding to the display operation aiming at least one video element in the page, the watching client identifies each flash tag in the page by searching the tags, and meanwhile, the watching client can acquire the content corresponding to the flash tags in the page according to the flash tags.
S203, sending data source information associated with each flash tag to the server, so that the server determines the flash tags corresponding to the video elements according to the data source information.
And S204, extracting at least one video element according to the flash label corresponding to the video element fed back by the server.
After the viewing client identifies each flash tag in the page, data source information associated with each flash tag is extracted from the content corresponding to each flash tag respectively, the data source information is sent to the server, and at least one video element is extracted from the flash tag corresponding to the video element according to a result fed back by the server.
Optionally, since the content corresponding to the flash tag may be video content or message content, the data source information in the flash tag may be a video link corresponding to a video element, or information related to the message content, such as an interface identifier of a message receiving interface, and the like. After the viewing client identifies each flash tag in the page, whether the data source information associated with the flash tag is a link is judged. And when the watching client judges that the data source information associated with the flash tag is not the link, judging that the content corresponding to the flash tag is not the video content. When the viewing client determines that the data source information associated with the flash tag is a link, the content corresponding to the flash tag cannot be immediately determined to be video content, because the representation form of the data source information corresponding to other elements may exist in the page as a link in addition to the video content, at this time, further determination needs to be performed through the server.
Specifically, the viewing client may send a flash tag, in which the corresponding data source information is in a link form, to the server, where the client may send an inquiry request to the server, where the inquiry request includes the flash tag and a link corresponding to the flash tag. And after receiving the query request, the server searches the link in a video source database of the server side, wherein the video link corresponding to the video in the mainstream video website is stored in the video source database. When the video link is found in the video source database, it is indicated that the content corresponding to the flash tag is a video element, and at this time, the server determines that the flash tag is a flash tag corresponding to the video element, and sends a query response to the viewing client, where the query response may include the flash tag and an indicator indicating that the flash tag corresponds to the video element. And the watching client receives the flash label corresponding to the video element fed back by the server, and extracts the video element corresponding to the flash label according to the flash label. For a specific extraction manner, reference may be made to the related description in the first embodiment, and details are not repeated herein.
S205, adjusting the page to a preset size, wherein the non-video elements contained in the page are hidden.
The execution process of step S205 is similar to the corresponding steps in the first embodiment, and reference may be made to the related description in the embodiment shown in fig. 1, which is not repeated herein.
S206, the adjusted page is loaded into at least one playing window, and at least one video element is respectively loaded into at least one playing window, the preset size is matched with the size of the playing window, and the at least one playing window is in one-to-one correspondence with the at least one video element.
And the watching client loads the extracted at least one video element into the playing window so as to realize that the video element is separated from the original page and is played in the playing window.
Optionally, the viewing client may set a display position of the playing window corresponding to the at least one video element, so that the at least one video element is displayed at the display position corresponding to the at least one video element, which may specifically be implemented by the following steps.
Firstly, the playing heat of at least one video element is obtained.
The playing popularity of the video element can be obtained by the number of playing times or comments of the video element alone, or by combining the number of playing times and the number of comments.
Alternatively, for a case where the number of plays of a video element or the number of comments is used alone to obtain the play popularity of the video element: when a watching user watches or comments on the video element by using the watching client, the watching client sends a corresponding watching message or a corresponding comment message to the server. The server receives the viewing message or the comment message, and correspondingly, the viewing message may carry user information of a viewing user viewing the video and a video identifier of the video element, and the comment message may carry content of the comment message sent by the viewing user, the user information, and the video identifier of the video element. The server can count the number of viewing messages or comment messages received in a certain time period for a certain video, namely, the number of times that the video is viewed or commented in the certain time period can be obtained.
The watching client can obtain the playing times and the number of comments corresponding to the at least one video element triggering the video element display playing operation in the above manner, that is, the playing heat of the at least one video element is obtained.
Alternatively, for the case of obtaining the playing popularity of a video element by using the playing times of the video element in combination with the number of comments: the watching client can simply overlap the playing times and the comment number of the video elements to obtain the playing popularity of the video elements on the basis of obtaining the playing times and the comment number of the video elements in the above mode, can also set different weight parameters for the playing times or the comment number respectively, and obtains popularity scores in a weighting calculation mode, wherein the popularity scores represent the playing popularity of the video elements.
And further, determining the interface display position of at least one playing window according to the playing heat of at least one video element.
Optionally, after the playing frequency or the number of comments of the video element is separately utilized to obtain the playing popularity of the video element, the watching client displays the playing windows corresponding to different video elements at corresponding positions in the display interface of the watching client according to the playing frequency or the number of comments. For example, the playing window corresponding to the video element with the largest number of playing times or comments may be displayed in the display interface of the viewing client in a centered manner, and for other video elements that trigger the displaying operation, the playing window corresponding to the video element may be sequentially displayed in the display interface in a surrounding manner according to the number of playing times or comments of the video element.
Optionally, after the playing popularity of the video element is obtained by using the playing times of the video element in combination with the number of the comments, the watching client displays the corresponding position of the playing window corresponding to the video element on the display interface of the watching client according to the popularity score of the video element. The specific display manner is similar to the above-described "center-surround" display manner, and is not described herein again.
On this basis, optionally, when the at least one video element that triggered the display operation is played in the play window, the viewing client may further trigger an editing instruction for the at least one play window, at this time, the viewing client responds to and executes the editing instruction, and the specific editing instruction may include adjusting the size of the play window or placing the play window on the play interface of the client.
When a watching user triggers an editing instruction for adjusting the size of the playing window, the watching client responds to the editing instruction and adjusts the size of the playing window according to the size of the target playing window contained in the editing instruction, so that the video elements are played in the playing window in a more reasonable proportion, and the watching experience of the user is optimized. When the watching user triggers the editing instruction of the size of the top-placed playing window, the watching client responds to the editing instruction and places at least one playing window on the display interface of the watching client, and the watching user can carry out other operations while watching the video, so that the watching requirements of the watching user under different conditions are met.
After the display operation of the video element is triggered, the watching client plays the video element in the playing window, and what is easily thought to correspond to the display operation, a retraction operation for the playing window to which the video element belongs is also triggered, and at this time, the video display method may further include the following steps:
s207, in response to the folding operation of at least one playing window, restoring the display page according to the page state information.
When the watching user does not watch the video in the playing window any more or the video playing is finished, optionally, the watching user may manually trigger the retraction operation of at least one playing window by clicking a certain button in the playing window. After the video in the playing window is played, optionally, the watching client may also automatically trigger the retraction operation of at least one playing window. And the viewing client responds to the retraction operation and accurately restores the page according to the page state information of each page element in the page recorded in the step.
Optionally, when a plurality of playing windows exist in the display interface of the watching client, after the video playing in any one of the playing windows is completed, the watching client may automatically close the playing window, and the playing windows corresponding to the video elements of which the video playing is not completed are still displayed according to the original display position.
In this embodiment, after the display operation of at least one video element is triggered, the viewing client records the page state information of each page element in the page, so that the viewing client can restore the page according to the recorded page state information when responding to the retraction operation of at least one playing window. And meanwhile, the watching client responds to the display operation, and extracts at least one video element contained in the page by identifying the flash tag contained in the page and the data source information associated with the flash tag. And the watching client displays the extracted at least one video element at a corresponding position in the display interface in a one-to-one correspondence manner with the at least one video element according to the playing heat of the video element, so that a watching user can watch a plurality of videos in the same page in the display interface at the same time. In addition, the watching client can also respond to and execute the editing operation of the playing window meeting different watching requirements of the watching user, and adjust the playing window to achieve the effect of meeting different requirements of the watching user.
Fig. 3 is a schematic structural diagram of a first embodiment of a video display apparatus according to the present invention, as shown in fig. 3, the video display apparatus includes: the device comprises an extraction module 11, an adjustment module 12 and a loading module 13.
The extracting module 11 is configured to extract at least one video element included in the page in response to a presentation operation on the at least one video element included in the page.
And an adjusting module 12, configured to adjust the page to a preset size, where non-video elements included in the page are hidden.
The loading module 13 is configured to load the adjusted page into at least one playing window, and load at least one video element into the at least one playing window, where a preset size is matched with a size of the playing window, and the at least one playing window corresponds to the at least one video element one to one.
The apparatus shown in fig. 3 can perform the method of the embodiment shown in fig. 1, and reference may be made to the related description of the embodiment shown in fig. 1 for a part of this embodiment that is not described in detail. The implementation process and technical effect of the technical solution refer to the description in the embodiment shown in fig. 1, and are not described herein again.
Fig. 4 is a schematic structural diagram of a second embodiment of a video display apparatus according to the present invention, as shown in fig. 4, based on the embodiment shown in fig. 3, the video display apparatus further includes: a recording module 21 and a restoring module 22.
And the recording module 21 is configured to record page state information corresponding to at least one video element and a non-video element.
And the restoring module 22 is configured to respond to a retraction operation on at least one playing window and restore the display page according to the page state information.
Optionally, the extraction module 11 specifically includes:
the identifying unit 111 is configured to identify each flash tag included in the page.
A sending unit 112, configured to send data source information associated with each flash tag to the server, so that the server determines the flash tag corresponding to the video element according to the data source information.
The extracting unit 113 is configured to extract at least one video element according to the flash tag corresponding to the video element fed back by the server.
Optionally, the video display apparatus further comprises:
the obtaining module 23 is configured to obtain a playing heat of at least one video element.
And the determining module 24 is configured to determine an interface display position of at least one playing window according to the playing heat of at least one video element.
And the editing module 25 is used for responding to the editing instruction of the at least one playing window and executing the editing instruction.
The apparatus shown in fig. 4 can perform the method of the embodiment shown in fig. 2, and reference may be made to the related description of the embodiment shown in fig. 2 for a part of this embodiment that is not described in detail. The implementation process and technical effect of the technical solution refer to the description in the embodiment shown in fig. 2, and are not described herein again.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by adding a necessary general hardware platform, and certainly, the embodiments can also be implemented by hardware. With this understanding in mind, the above technical solutions may be embodied in the form of a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., which includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the various embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (8)
1. A method for video presentation, comprising:
in response to a presentation operation on at least one video element contained in a page, extracting the at least one video element contained in the page, the presentation operation comprising: clicking a play button corresponding to the at least one video element or automatically triggering any one of the display operations of the at least one video element when the page is in a stable state;
adjusting the page to a preset size, wherein non-video elements contained in the page are hidden;
loading the adjusted page into at least one playing window, and loading the at least one video element into the at least one playing window respectively, wherein the preset size is matched with the size of the playing window, the at least one playing window corresponds to the at least one video element one by one, and the at least one playing window is all displayed in a display interface of a watching client;
acquiring the playing heat of the at least one video element;
determining the interface display position of the at least one playing window according to the playing heat of the at least one video element; displaying the video element with the highest playing popularity in a centered manner;
arbitrary in the at least one play windowAfter the video in one playing window is played, the playing window is folded, and the playing windows of which the other videos are not played are displayed according to the original display position。
2. The method of claim 1, wherein before the extracting the at least one video element contained in the page, further comprising:
and recording page state information corresponding to the at least one video element and the non-video element respectively.
3. The method according to claim 1, wherein said extracting said at least one video element contained in said page comprises:
identifying each flash tag contained in the page;
sending data source information associated with each flash tag to a server, so that the server determines the flash tags corresponding to the video elements according to the data source information;
and extracting the at least one video element according to the flash label corresponding to the video element fed back by the server.
4. The method according to any one of claims 1-3, further comprising:
and responding to the editing instruction of the at least one playing window, and executing the editing instruction.
5. A video presentation apparatus, comprising:
an extraction module, configured to extract at least one video element contained in a page in response to a presentation operation on the at least one video element contained in the page, where the presentation operation includes: clicking a play button corresponding to the at least one video element or automatically triggering any one of the display operations of the at least one video element when the page is in a stable state;
the adjusting module is used for adjusting the page to a preset size, wherein non-video elements contained in the page are hidden;
the loading module is used for loading the adjusted page into at least one playing window and loading the at least one video element into the at least one playing window respectively, the preset size is matched with the size of the playing window, the at least one playing window corresponds to the at least one video element one by one, and the at least one playing window is completely displayed in a display interface of the watching client;
the acquisition module is used for acquiring the playing heat of the at least one video element;
the determining module is used for determining the interface display position of the at least one playing window according to the playing heat of the at least one video element; displaying the video element with the highest playing popularity in a centered manner;
and the restoring module is used for retracting the playing window after the video in any one of the at least one playing window is played, and displaying the playing windows of which the other videos are not played according to the original display position.
6. The apparatus of claim 5, further comprising:
and the recording module is used for recording the page state information corresponding to the at least one video element and the non-video element.
7. The apparatus according to claim 5, wherein the extraction module specifically comprises:
the identification unit is used for identifying each flash tag contained in the page;
the sending unit is used for sending the data source information associated with each flash tag to a server so that the server determines the flash tags corresponding to the video elements according to the data source information;
and the extraction unit is used for extracting the at least one video element according to the flash label corresponding to the video element fed back by the server.
8. The apparatus of any of claims 5-7, further comprising:
and the editing module is used for responding to an editing instruction of the at least one playing window and executing the editing instruction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710326843.4A CN107239503B (en) | 2017-05-10 | 2017-05-10 | Video display method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710326843.4A CN107239503B (en) | 2017-05-10 | 2017-05-10 | Video display method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107239503A CN107239503A (en) | 2017-10-10 |
CN107239503B true CN107239503B (en) | 2020-08-07 |
Family
ID=59985529
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710326843.4A Expired - Fee Related CN107239503B (en) | 2017-05-10 | 2017-05-10 | Video display method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107239503B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108712676B (en) * | 2018-05-30 | 2021-08-10 | 浙江口碑网络技术有限公司 | Method and device for automatically playing video based on React framework |
CN111866597B (en) * | 2019-04-30 | 2023-06-23 | 百度在线网络技术(北京)有限公司 | Method, system and storage medium for controlling layout of page elements in video |
CN111447494B (en) * | 2019-10-26 | 2021-02-26 | 深圳市科盾科技有限公司 | Multimedia big data hiding system and method |
CN112616089A (en) * | 2020-11-27 | 2021-04-06 | 深圳点猫科技有限公司 | Live broadcast splicing and stream pushing method, system and medium for network lessons |
CN112541493B (en) * | 2020-12-17 | 2022-09-30 | 北京字节跳动网络技术有限公司 | Topic explaining method and device and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103747358A (en) * | 2013-12-23 | 2014-04-23 | 乐视网信息技术(北京)股份有限公司 | Video playing method and apparatus |
CN104133898A (en) * | 2014-07-31 | 2014-11-05 | 上海二三四五网络科技股份有限公司 | Method and device for playing video in small window in browser |
CN105898523A (en) * | 2016-06-29 | 2016-08-24 | 无锡天脉聚源传媒科技有限公司 | Video playing method and video playing device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20130019821A (en) * | 2011-08-18 | 2013-02-27 | 엔에이치엔(주) | Apparatus and method for providing cartoon zone |
EP2819417B1 (en) * | 2013-06-24 | 2020-03-04 | Canon Kabushiki Kaisha | Method and device for streaming video from a server based on expected usages |
CN107181967A (en) * | 2017-04-01 | 2017-09-19 | 北京潘达互娱科技有限公司 | A kind of image display method and device |
-
2017
- 2017-05-10 CN CN201710326843.4A patent/CN107239503B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103747358A (en) * | 2013-12-23 | 2014-04-23 | 乐视网信息技术(北京)股份有限公司 | Video playing method and apparatus |
CN104133898A (en) * | 2014-07-31 | 2014-11-05 | 上海二三四五网络科技股份有限公司 | Method and device for playing video in small window in browser |
CN105898523A (en) * | 2016-06-29 | 2016-08-24 | 无锡天脉聚源传媒科技有限公司 | Video playing method and video playing device |
Also Published As
Publication number | Publication date |
---|---|
CN107239503A (en) | 2017-10-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107239503B (en) | Video display method and device | |
CN107256109B (en) | Information display method and device and terminal | |
US11917242B2 (en) | Identification and presentation of content associated with currently playing television programs | |
CN109547819B (en) | Live list display method and device and electronic equipment | |
US20170318336A1 (en) | Influencing content or access to content | |
US20170337222A1 (en) | Image searching method and apparatus, an apparatus and non-volatile computer storage medium | |
US10769196B2 (en) | Method and apparatus for displaying electronic photo, and mobile device | |
US10798425B1 (en) | Personalized key object identification in a live video stream | |
CN104361075A (en) | Image website system and realizing method | |
CN104602128A (en) | Video processing method and device | |
US20150189384A1 (en) | Presenting information based on a video | |
TWI586160B (en) | Real time object scanning using a mobile phone and cloud-based visual search engine | |
CN106201246A (en) | Page layout processing method and processing device | |
CN111385591A (en) | Network live broadcast method, live broadcast processing method and device, live broadcast server and terminal equipment | |
WO2022001600A1 (en) | Information analysis method, apparatus, and device, and storage medium | |
CN107315828A (en) | Data processing method, device and terminal device | |
CN111078915B (en) | Click-to-read content acquisition method in click-to-read mode and electronic equipment | |
CN114730341A (en) | Protecting user privacy in user interface data collection for native applications | |
JP7110738B2 (en) | Information processing device, program and information processing system | |
JP5767413B1 (en) | Information processing system, information processing method, and information processing program | |
US20230298073A1 (en) | Media processing techniques for enhancing content | |
KR101994564B1 (en) | Method and apparatus for verifying user | |
US11144763B2 (en) | Information processing apparatus, image display method, and non-transitory computer-readable storage medium for display control | |
CN104317581B (en) | Display method and electronic equipment | |
US20150181288A1 (en) | Video sales and marketing system |
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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20210209 Address after: 101300 309, 3rd floor, 60 Fuqian 1st Street, Tianzhu District, Shunyi District, Beijing Patentee after: Beijing longzhixin Technology Co.,Ltd. Address before: 100041 room 120, 4th floor, building 17, yard 30, Shixing street, Shijingshan District, Beijing Patentee before: BEIJING PANDA MUTUAL ENTERTAINMENT TECHNOLOGY Co.,Ltd. |
|
TR01 | Transfer of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200807 |
|
CF01 | Termination of patent right due to non-payment of annual fee |