CN106354849A - Poster obtaining treatment method and device of video tag - Google Patents
Poster obtaining treatment method and device of video tag Download PDFInfo
- Publication number
- CN106354849A CN106354849A CN201610797194.1A CN201610797194A CN106354849A CN 106354849 A CN106354849 A CN 106354849A CN 201610797194 A CN201610797194 A CN 201610797194A CN 106354849 A CN106354849 A CN 106354849A
- Authority
- CN
- China
- Prior art keywords
- poster
- video
- picture
- video tab
- browsing pages
- 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.)
- Pending
Links
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/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
- G06F16/9558—Details of hyperlinks; Management of linked annotations
-
- 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/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
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)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention provides a poster obtaining treatment method and device of a video tag. The method comprises the steps that the video tag on a browsing page is analyzed, and poster attributes in the video tag are obtained; a poster picture of the video tag is obtained and displayed on the position of the video tag on the browsing page according to a poster link address in the poster attributes. According to the poster obtaining treatment method and device of the video tag, the poster attributes in the video tag are obtained firstly, then the poster picture is obtained according to the poster link address in the poster attributes, the obtained poster attributes are set on the position of the video tag, and set work on the poster picture is completed. Due to the fact that the video tag is set on a playing page, both a local video and a third party video can obtain the video tag; therefore, the poster obtaining treatment method is not only suitable for the video resource of a local server but also suitable for the third party video, and the defect that in the prior art, the poster picture of the third party video cannot be obtained sometimes is overcome.
Description
Technical field
The present invention relates to a kind of video display arts field, especially relate to a kind of poster acquisition process side of video tab
Method and device.
Background technology
After one section of video is opened on browsing pages, first displaying be this section of video poster picture, now click on position
After the broadcast button on poster picture, commence play out this section of video.
During realizing the embodiment of the present invention, inventor finds, poster picture is usually corresponding in video resource
Obtain on server, but for third party's video, such as viewing Rhizoma Solani tuber osi video resource is although energy on Tengxun's video player
Enough obtain its video resource, but poster picture might not obtain.Based on this it is necessary to provide one kind to be also applied for the 3rd
The poster of square video obtains scheme.
Content of the invention
The embodiment of the present invention provides a kind of poster of video tab to obtain treating method and apparatus it is adaptable to obtain third party
The poster picture of video, to solve the defect of the poster picture that sometimes can not obtain third party's video.
The poster of video tab provided in an embodiment of the present invention obtains processing method and includes:
Video tab on browsing pages is parsed, obtains the poster attribute in described video tab;
According to the poster chained address in described poster attribute, obtain the poster picture of described video tab and be shown in institute
State on the position of described video tab on browsing pages.
Optionally, described video tab on browsing pages is parsed, obtain described video tab in poster belong to
Property include: load described browsing pages when, the video tab on browsing pages is parsed, and is obtained by preset function
The corresponding poster attribute of described video tab, described poster attribute includes described poster chained address.
Optionally, described video tab on browsing pages is parsed before, methods described also includes:
Send the request obtaining described poster picture to the server providing video resource, if asking unsuccessfully, to obtain institute
State the video tab on browsing pages.
Optionally, methods described also includes: sends to the server providing video resource and obtains asking of described poster picture
Ask, if asking successfully, the poster picture obtaining from described server to be shown in described video mark on described browsing pages
On the position signed.
Optionally, described browsing pages are html5 webpage.
The poster of video tab provided in an embodiment of the present invention obtains processing meanss and includes:
First processing module, for parsing to the video tab on browsing pages, obtains in described video tab
Poster attribute;
Second processing module, for according to the poster chained address in described poster attribute, obtaining described video tab
Poster picture is simultaneously shown on the position of described video tab on described browsing pages.
Optionally, described first processing module specifically for: load described browsing pages when, to regarding on browsing pages
Frequency marking label are parsed, and obtain described video tab corresponding poster attribute by preset function, wrap in described poster attribute
Include described poster chained address.
Optionally, this device also includes:
Request module, before the video tab on browsing pages being parsed in described first processing module, to
The server providing video resource sends the request obtaining described poster picture, if asking unsuccessfully, to obtain described browsing pages
On video tab.
Optionally, described request module is additionally operable to: sends to the server providing video resource and obtains described poster picture
Request, if asking successfully, the poster picture obtaining from described server to be shown in described on described browsing pages regarding
On the position of frequency marking label.
Optionally, described browsing pages are html5 webpage.
The poster of video tab provided in an embodiment of the present invention obtains in treating method and apparatus, by obtaining video tab
Middle poster attribute, then obtains poster picture according to the poster chained address in poster attribute, then the poster attribute of acquisition is set
Put on the position of video tab, complete the setting work to poster picture.Because video tab is provided in playing on the page
, no matter being therefore local video or third party's video, video tab can be obtained, the poster that therefore the present embodiment provides obtains
The video resource taking processing method to be also applicable not only on home server, is also applied for third party's video, to solve existing skill
Art can not obtain the defect of the poster picture of third party's video sometimes.
Brief description
In order to be illustrated more clearly that the present invention or technical scheme of the prior art, below will be to embodiment or prior art
In description the accompanying drawing of required use be briefly described it should be apparent that, drawings in the following description are the one of the present invention
A little embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to these
Accompanying drawing obtains other accompanying drawings.
Fig. 1 is the schematic flow sheet of the poster acquisition processing method of video tab in one embodiment of the invention;
Fig. 2 is the schematic flow sheet of the poster acquisition processing method of video tab in another embodiment of the present invention;
Fig. 3 is the structured flowchart of the poster acquisition processing meanss of video tab in yet another embodiment of the invention;
Fig. 4 is the entity structure schematic diagram of the poster acquisition processing meanss of video tab in one embodiment of the invention.
Specific embodiment
Purpose, technical scheme and advantage for making the embodiment of the present invention are clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described it is clear that described embodiment is
The a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment being obtained under the premise of not making creative work, broadly falls into the scope of protection of the invention.
One embodiment of the invention provides a kind of poster of video tab to obtain processing method, and the method is suitable to needing to obtain
In the scene of the poster picture of any video including third party's video, specifically can be held by browser or video player
OK, as shown in figure 1, the method includes:
S101, the video tab on browsing pages is parsed, obtain the poster attribute in video tab;
Wherein, browsing pages can be the browsing pages browsing in webpage or video player in browser.
Wherein, video tab is<video>label, uses<video>label can control the broadcasting of video and stopping, following
Ring broadcasting, video size, poster picture etc..
Wherein, poster attribute is the poster attribute in<video>label, and be stored with poster attribute poster picture
Link address.
S102, according to the poster chained address in poster attribute, obtain the poster picture of video tab being shown in and browse
On the position of video tab on the page.
For example, one section of character string being contained in<video>label is: poster=" http: //
P3.v.iask.com.9.519.140098900_2.ijp ", after opening the link in this poster attribute, just can see one
Open the picture of train, this picture is poster picture, then this poster picture is arranged on the position of radio-frequency (RF) tag.
It is understood that not all page is both provided with<video>label, setting<video known today
> page of label has html5 webpage.Therefore the html5 page can obtain poster picture using the method that the present embodiment provides.When
So other are also equipped with the page of<video>label, it would however also be possible to employ this method arranges the poster figure of video tab
Piece.
When needing to obtain poster picture, can directly adopt s101 the and s102 direct access poster that the present embodiment provides
Picture, simple, convenient.It is, of course, also possible to send, to the server providing video resource, the request obtaining poster picture first,
In the case of asking unsuccessfully, obtain the video tab on browsing pages, then execute s101 and s102, obtain poster picture.Its
In, so-called ask unsuccessfully, refer to not from provide video resource server get poster picture.
Generally, poster picture can be obtained from the server that video resource is provided, for example, in Tengxun's video
In the case of the video resource that in player, the server of broadcasting Tengxun video is provided, poster picture can directly be risen in offer
Obtain on the server of news video resource.Again for example, play the server institute of Rhizoma Solani tuber osi video in Tengxun's video player
There is provided video resource in the case of, need to provide Rhizoma Solani tuber osi video resource server in obtain poster picture if it is possible to
Get, illustrate to ask successfully, without getting, illustrate to ask unsuccessfully, adopt this enforcement in the case of asking unsuccessfully
S101 and s102 in example obtains poster picture, to guarantee the position display poster picture in video tab.
Certainly, in the case of request successfully, directly the poster obtaining from server picture can be shown in and browse
On the position of video tab on the page, without execution s101 and s102.Due to obtaining on the server providing video resource
Take video resource, therefore can ensure that the concordance of poster picture.For example, Tengxun's video player is play Rhizoma Solani tuber osi video
In the case of the video resource that server provides, by the side of poster is directly obtained on the server providing Rhizoma Solani tuber osi video resource
Formula it is ensured that being same pictures in the poster in Tengxun's video player and the poster in Rhizoma Solani tuber osi video player, that is,
Ensure that the concordance of poster picture.
The poster that the present embodiment provides obtains in processing method, by obtaining poster attribute in video tab, then basis
Poster chained address in poster attribute obtains poster picture, then the position poster attribute of acquisition being arranged on video tab
On, complete the setting work to poster picture.Because video tab is provided in playing on the page, no matter being therefore locally to regard
Frequency or third party's video, can obtain video tab, and the poster that therefore the present embodiment provides obtains processing method and also not only fits
For the video resource on home server, it is also applied for third party's video, sometimes can not obtain the 3rd to solve prior art
The defect of the poster picture of square video.
Another embodiment of the present invention provides the poster of video tab to obtain processing method, and the method is also suitably for needing to obtain
In the scene of the poster picture of any video including third party's video, specifically can also be by browser or video player
Execution, as shown in Fig. 2 the method includes:
S201, load browsing pages when, the video tab on browsing pages is parsed, and is obtained by preset function
Take video tab corresponding poster attribute, poster attribute includes poster chained address;
Wherein, so-called loading, refers to obtain in the page when opening a browser page or the video player page
Every content and the process that shows.
Wherein, browsing pages can be the browsing pages browsing in webpage or video player in browser.
Wherein, video tab is<video>label, uses<video>label can control the broadcasting of video and stopping, following
Ring broadcasting, video size, poster picture etc..
Wherein, poster attribute is the poster attribute in<video>label, and be stored with poster attribute poster picture
Link address.
Wherein, preset function, for example, htmlvideoelement::posterimageurl ().It is assumed here that execution
" video tab on browsing pages being parsed, obtain poster attribute therein " corresponding program segment is the first program segment;
It is assumed that execution " according to the poster chained address in poster attribute, obtaining the poster picture of video tab " corresponding program segment is the
Two program segments, the second program segment can obtain the poster obtaining after parsing in the first program segment and belong to according to above-mentioned preset function
Property.
S202, according to the poster chained address in poster attribute, obtain the poster picture of video tab being shown in and browse
On the position of video tab on the page.
For example, one section of character string being contained in<video>label is: poster=" http: //
P3.v.iask.com.9.519.140098900_2.ijp ", after opening the link in this poster attribute, just can see one
Open the picture of train, this picture is poster picture, then this poster picture is arranged on the position of radio-frequency (RF) tag.
It is understood that not all page is both provided with<video>label, setting<video known today
> page of label has html5 webpage.Therefore the html5 page can obtain poster picture using the method that the present embodiment provides.When
So other are also equipped with the page of<video>label, it would however also be possible to employ this method arranges the poster figure of video tab
Piece.
When needing to obtain poster picture, can directly adopt s201 the and s202 direct access poster that the present embodiment provides
Picture, simple, convenient.It is, of course, also possible to send, to the server providing video resource, the request obtaining poster picture first,
In the case of asking unsuccessfully, obtain the video tab on browsing pages, then execute s201 and s202, provided using the present embodiment
Method obtain poster picture.Wherein, so-called ask unsuccessfully, refer to can not from provide video resource server get
Poster picture.
Generally, poster picture can be obtained from the server that video resource is provided, for example, in Tengxun's video
In the case of the video resource that in player, the server of broadcasting Tengxun video is provided, poster picture can directly be risen in offer
Obtain on the server of news video resource.Again for example, play the server institute of Rhizoma Solani tuber osi video in Tengxun's video player
There is provided video resource in the case of, need to provide Rhizoma Solani tuber osi video resource server in obtain poster picture if it is possible to
Get, illustrate to ask successfully, without getting, illustrate to ask unsuccessfully, adopt this enforcement in the case of asking unsuccessfully
S201 and s202 in example obtains poster picture, to guarantee the position display poster picture in video tab.
Certainly, in the case of request successfully, directly the poster obtaining from server picture can be shown in and browse
On the position of video tab on the page, without execution s201 and s202.Due to obtaining on the server providing video resource
Take video resource, therefore can ensure that the concordance of poster picture.For example, Tengxun's video player is play Rhizoma Solani tuber osi video
The situation of the video resource that server provides, by directly obtaining the side of poster on the server providing Rhizoma Solani tuber osi video resource
Formula it is ensured that being same pictures in the poster in Tengxun's video player and the poster in Rhizoma Solani tuber osi video player, that is,
Ensure that the concordance of poster picture.
The poster that the present embodiment provides obtains processing method and is that the present embodiment is extra large to obtaining with the difference of a upper embodiment
The mode of the time point of report and acquisition poster attribute is defined.For example, when user opens a video, browser or video are broadcast
Put every content of device loading page, a poster picture will be shown at video tab position, when user clicks on this poster
After broadcast button on picture, commence play out video.
Identically with a upper embodiment, the present embodiment also by obtain video tab in poster attribute, then according to poster
Poster chained address in attribute obtains poster picture, then the poster attribute of acquisition is arranged on the position of video tab, complete
The setting work of poster picture in pairs.Due to video tab be provided in play the page on, no matter be therefore local video also
It is third party's video, video tab can be obtained, the poster that therefore the present embodiment provides obtains processing method and is also applicable not only to
Video resource on home server, is also applied for third party's video, to solve prior art and sometimes can not obtain third party to regard
The defect of the poster picture of frequency.
Yet another embodiment of the invention provides a kind of poster of video tab to obtain processing meanss, and this device is suitable to needing to obtain
Take and use in the scene of the poster picture of any video including third party's video, this device can be for being arranged on browser
Or the program module in video player, as shown in figure 3, this device 300 includes first processing module 301 and Second processing module
302, wherein:
First processing module 301 is used for the video tab on browsing pages is parsed, and obtains the sea in video tab
Report attribute;
Wherein, browsing pages can be the browsing pages browsing in webpage or video player in browser.
Wherein, video tab is<video>label, uses<video>label can control the broadcasting of video and stopping, following
Ring broadcasting, video size, poster picture etc..
Wherein, poster attribute is the poster attribute in<video>label, and be stored with poster attribute poster picture
Link address.
Second processing module 302 is used for obtaining the poster figure of video tab according to the poster chained address in poster attribute
Piece is simultaneously shown on the position of video tab on browsing pages.
For example, one section of character string being contained in<video>label is: poster=" http: //
P3.v.iask.com.9.519.140098900_2.ijp ", after opening the link in this poster attribute, just can see one
Open the picture of train, this picture is poster picture, then this poster picture is arranged on the position of radio-frequency (RF) tag.
It is understood that not all page is both provided with<video>label, setting<video known today
> page of label has html5 webpage.Therefore the html5 page can obtain poster picture using the device that the present embodiment provides.When
So other are also equipped with the page of<video>label, it would however also be possible to employ this device arranges the poster figure of video tab
Piece.
First processing module and the second processing of the present embodiment offer, when needing to obtain poster picture, can be directly provided
Module direct access poster picture, simple, convenient.Certainly, request module can also be included in the device that the present embodiment provides, should
Request module is used for before first processing module parses to the video tab on browsing pages, to offer video resource
Server sends the request obtaining poster picture, if ask unsuccessfully, video tab on acquisition browsing pages, then using the
One processing module and Second processing module obtain poster picture.Wherein, so-called ask unsuccessfully, refer to not from provide video money
Poster picture is got on the server in source.
Generally, poster picture can be obtained from the server that video resource is provided, for example, in Tengxun's video
In the case of the video resource that in player, the server of broadcasting Tengxun video is provided, poster picture can directly be risen in offer
Obtain on the server of news video resource.Again for example, play the server institute of Rhizoma Solani tuber osi video in Tengxun's video player
In the case of the video resource providing, need to obtain poster picture in the server that provide Rhizoma Solani tuber osi video resource, without
Get, illustrate to ask unsuccessfully, adopt first processing module and the second processing in the present embodiment in the case of asking unsuccessfully
Module obtains poster picture, to guarantee the position display poster picture in video tab.
Certainly, request module is additionally operable in the case of request successfully, directly by the poster obtaining from server picture
It is shown on the position of video tab on browsing pages, without execution first processing module and Second processing module.Due to
The server that video resource is provided obtains video resource, therefore can ensure that the concordance of poster picture.For example, in Tengxun
The situation of the video resource of server offer of Rhizoma Solani tuber osi video is play, by directly providing Rhizoma Solani tuber osi video money in video player
The mode of poster is obtained on the server in source it is ensured that poster in Tengxun's video player and in Rhizoma Solani tuber osi video player
In poster be same pictures, that is, ensure that the concordance of poster picture.
The poster that the present embodiment provides obtains in processing meanss, and first processing module obtains poster attribute in video tab,
Then Second processing module obtains poster picture according to the poster chained address in poster attribute, then the poster attribute of acquisition is set
Put on the position of video tab, complete the setting work to poster picture.Because video tab is provided in playing on the page
, no matter being therefore local video or third party's video, video tab can be obtained, the poster that therefore the present embodiment provides obtains
The video resource taking processing meanss to be also applicable not only on home server, is also applied for third party's video, to solve existing skill
Art can not obtain the defect of the poster picture of third party's video sometimes.
Further embodiment of this invention provides a kind of poster to obtain processing meanss, and this device is suitable to needing acquisition to include the 3rd
Square video uses in the scene of the poster picture of interior arbitrary video, and this device can be for being arranged on browser or video playback
Program module in device, this device includes first processing module and Second processing module, wherein:
First processing module, for when loading browsing pages, parsing to the video tab on browsing pages, and leading to
Cross preset function and obtain video tab corresponding poster attribute, poster attribute includes poster chained address;
Wherein, so-called loading, refers to obtain in the page when opening a browser page or the video player page
Every content and the process that shows.
Wherein, browsing pages can be the browsing pages browsing in webpage or video player in browser.
Wherein, video tab is<video>label, uses<video>label can control the broadcasting of video and stopping, following
Ring broadcasting, video size, poster picture etc..
Wherein, poster attribute is the poster attribute in<video>label, and be stored with poster attribute poster picture
Link address.
Wherein, preset function, for example, htmlvideoelement::posterimageurl ().It is assumed here that execution
" video tab on browsing pages being parsed, obtain poster attribute therein " corresponding program segment is the first program segment;
It is assumed that execution " according to the poster chained address in poster attribute, obtaining the poster picture of video tab " corresponding program segment is the
Two program segments, the second program segment can obtain the poster obtaining after parsing in the first program segment and belong to according to above-mentioned preset function
Property.
Second processing module, for according to the poster chained address in poster attribute, obtaining the poster picture of video tab
And be shown on the position of video tab on browsing pages.
For example, one section of character string being contained in<video>label is: poster=" http: //
P3.v.iask.com.9.519.140098900_2.ijp ", after opening the link in this poster attribute, just can see one
Open the picture of train, this picture is poster picture, then this poster picture is arranged on the position of radio-frequency (RF) tag.
It is understood that not all page is both provided with<video>label, setting<video known today
> page of label has html5 webpage.Therefore the html5 page can obtain poster picture using the device that the present embodiment provides.When
So other are also equipped with the page of<video>label, it would however also be possible to employ this device arranges the poster figure of video tab
Piece.
First processing module and the second processing of the present embodiment offer, when needing to obtain poster picture, can be directly provided
Module direct access poster picture, simple, convenient.Certainly, the device that the present embodiment provides can also include request module, this mould
Block is used for sending, to the server providing video resource, the request obtaining poster picture, in the case of asking unsuccessfully, obtains clear
The video tab look on the page, then execution first processing module and Second processing module are to obtain poster picture.Wherein, so-called
Request failure, refer to can not from provide video resource server get poster picture.
Generally, poster picture can be obtained from the server that video resource is provided, for example, in Tengxun's video
In the case of the video resource that in player, the server of broadcasting Tengxun video is provided, poster picture can directly be risen in offer
Obtain on the server of news video resource.Again for example, play the server institute of Rhizoma Solani tuber osi video in Tengxun's video player
There is provided video resource in the case of, need to provide Rhizoma Solani tuber osi video resource server in obtain poster picture if it is possible to
Get, illustrate to ask successfully, without getting, illustrate to ask unsuccessfully, adopt this enforcement in the case of asking unsuccessfully
First processing module in example and Second processing module obtain poster picture, to guarantee the position display sea in video tab
Report picture.
Certainly, request module is additionally operable in the case of request successfully, can be directly by the poster obtaining from server
Picture is shown on the position of video tab on browsing pages, without execution first processing module and Second processing module.
Due to obtaining video resource on the server providing video resource, therefore can ensure that the concordance of poster picture.For example, exist
The situation of the video resource of server offer of Rhizoma Solani tuber osi video is play, by directly providing Rhizoma Solani tuber osi to regard in Tengxun's video player
The mode of poster is obtained on the server of frequency resource it is ensured that poster in Tengxun's video player and broadcasting in Rhizoma Solani tuber osi video
Putting the poster in device is same pictures, that is, ensure that the concordance of poster picture.
The poster that the present embodiment provides obtains one of difference of processing meanss and a upper embodiment and is in the present embodiment the
The function of one processing module is different, with respect to the first processing module in a upper embodiment, the first process mould in the present embodiment
Block is defined with the mode obtaining poster attribute to the time point obtaining poster.For example, when user beats in a browser
When opening a video, a poster picture at video tab position, will be shown, press when user clicks on the broadcasting on this poster picture
After button, commence play out video.
Identically with a upper embodiment, the present embodiment also utilizes first processing module to obtain poster attribute in video tab,
Then utilize Second processing module to obtain poster picture according to the poster chained address in poster attribute, then the poster obtaining is belonged to
Property is arranged on the position of video tab, completes the setting work to poster picture.Because video tab is provided in broadcast page
On face, no matter being therefore local video or third party's video, video tab, the sea that therefore the present embodiment provides can be obtained
Report obtains the video resource that processing meanss are also applicable not only on home server, is also applied for third party's video, existing to solve
There is technology sometimes can not obtain the defect of the poster picture of third party's video.
It is can to execute the poster in the embodiment of the present invention to obtain because the poster that the present embodiment is introduced obtains processing meanss
Take the device of processing method, so processing method, the affiliated skill in this area are obtained based on the poster described in the embodiment of the present invention
Art personnel will appreciate that the poster of the present embodiment obtains specific embodiment and its various change form of processing meanss, so
How here realizes the poster acquisition processing method in the embodiment of the present invention if obtaining processing meanss for this poster is no longer situated between in detail
Continue.As long as those skilled in the art implement poster in the embodiment of the present invention obtains the device that processing method is adopted, all belong to
The scope to be protected in the application.
Fig. 4 illustrates the entity structure schematic diagram that a kind of poster obtains processing meanss, as shown in figure 4, this device can wrap
Include: processor (processor) 401, communication interface (communications interface) 402, memorizer (memory)
403 and bus 404, wherein, processor 401, communication interface 402, memorizer 403 complete mutual communication by bus 404.
Communication interface 402 can be used for poster and obtains the information between processing meanss and external device (ED) (display screen of such as mobile terminal)
Transmission.Processor 401 can call the logical order in memorizer 403, to execute following method: to the video on browsing pages
Label is parsed, and obtains the poster attribute in video tab;According to the poster chained address in poster attribute, obtain video mark
The poster picture of label is simultaneously shown on the position of video tab on browsing pages.
Additionally, the logical order in above-mentioned memorizer 403 can be realized by the form of SFU software functional unit and be used as
When independent production marketing or use, can be stored in a computer read/write memory medium.Based on such understanding, this
The part that substantially in other words prior art contributed of technical scheme of invention or this technical scheme partly can be with
The form of software product embodies, and this computer software product is stored in a storage medium, including some instructions in order to
Make a computer equipment (can be personal computer, server, or network equipment etc.) each enforcement of the execution present invention
The all or part of step of example methods described.And aforesaid storage medium includes: u disk, portable hard drive, read only memory (rom,
Read-only memory), random access memory (ram, random access memory), magnetic disc or CD etc. various
Can be with the medium of store program codes.
Device embodiment described above is only that schematically the unit wherein illustrating as separating component can be
Or may not be physically separate, as the part that unit shows can be or may not be physical location, that is,
May be located at a place, or can also be distributed on multiple NEs.Can select therein according to the actual needs
Some or all of module is realizing the purpose of this embodiment scheme.Those of ordinary skill in the art are not paying the labor of creativeness
In the case of dynamic, you can to understand and to implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
Mode by software plus necessary general hardware platform to be realized naturally it is also possible to pass through hardware.Based on such understanding, on
That states that technical scheme substantially contributes to prior art in other words partly can be embodied in the form of software product, should
Computer software product can store in a computer-readable storage medium, such as rom/ram, magnetic disc, CD etc., including some fingers
Order is with so that a computer equipment (can be personal computer, server, or network equipment etc.) executes each enforcement
The method of some parts of example or embodiment.
Finally it is noted that above example, only in order to technical scheme to be described, is not intended to limit;Although
With reference to the foregoing embodiments the present invention is described in detail, it will be understood by those within the art that: it still may be used
To modify to the technical scheme described in foregoing embodiments, or equivalent is carried out to wherein some technical characteristics;
And these modification or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit and
Scope.
Claims (10)
1. a kind of poster of video tab obtains processing method it is characterised in that including:
Video tab on browsing pages is parsed, obtains the poster attribute in described video tab;
According to the poster chained address in described poster attribute, obtain the poster picture of described video tab and be shown in described clear
Look on the position of described video tab on the page.
2. method according to claim 1 is it is characterised in that described parse to the video tab on browsing pages,
The poster attribute obtaining in described video tab includes:
When loading described browsing pages, the video tab on browsing pages is parsed, and institute is obtained by preset function
State video tab corresponding poster attribute, described poster attribute includes described poster chained address.
3. method according to claim 1 and 2 is it is characterised in that described solve to the video tab on browsing pages
Before analysis, methods described also includes:
Send the request obtaining described poster picture to the server providing video resource, if asking unsuccessfully, to obtain described clear
The video tab look on the page.
4. method according to claim 3 is it is characterised in that methods described also includes:
Send the request obtaining described poster picture to the server providing video resource, if asking successfully, will be from described clothes
The poster picture obtaining in business device is shown on the position of described video tab on described browsing pages.
5. method according to claim 1 is it is characterised in that described browsing pages are html5 webpage.
6. a kind of poster of video tab obtains processing meanss it is characterised in that including:
First processing module, for parsing to the video tab on browsing pages, obtains the poster in described video tab
Attribute;
Second processing module, for according to the poster chained address in described poster attribute, obtaining the poster of described video tab
Picture is simultaneously shown on the position of described video tab on described browsing pages.
7. device according to claim 6 it is characterised in that described first processing module specifically for:
When loading described browsing pages, the video tab on browsing pages is parsed, and institute is obtained by preset function
State video tab corresponding poster attribute, described poster attribute includes described poster chained address.
8. the device according to claim 6 or 7 is it is characterised in that also include:
Request module, before the video tab on browsing pages being parsed in described first processing module, to offer
The server of video resource sends the request obtaining described poster picture, if asking unsuccessfully, to obtain on described browsing pages
Video tab.
9. device according to claim 8 is it is characterised in that described request module is additionally operable to:
Send the request obtaining described poster picture to the server providing video resource, if asking successfully, will be from described clothes
The poster picture obtaining in business device is shown on the position of described video tab on described browsing pages.
10. device according to claim 6 is it is characterised in that described browsing pages are html5 webpage.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610797194.1A CN106354849A (en) | 2016-08-31 | 2016-08-31 | Poster obtaining treatment method and device of video tag |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610797194.1A CN106354849A (en) | 2016-08-31 | 2016-08-31 | Poster obtaining treatment method and device of video tag |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106354849A true CN106354849A (en) | 2017-01-25 |
Family
ID=57859033
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610797194.1A Pending CN106354849A (en) | 2016-08-31 | 2016-08-31 | Poster obtaining treatment method and device of video tag |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106354849A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109151495A (en) * | 2018-08-09 | 2019-01-04 | 广州精航电子有限公司 | A kind of vod server and vod server multimedia file update method, storage medium |
CN114546216A (en) * | 2022-02-25 | 2022-05-27 | 深圳康佳电子科技有限公司 | Aggregation-based global searching method, device, equipment and medium for video resources |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103064958A (en) * | 2012-12-31 | 2013-04-24 | 乐视致新电子科技(天津)有限公司 | Method for automatic recognition and analysis of browser and based on hyper text makeup language (HTML) 5 video label |
US20130206832A1 (en) * | 2012-02-14 | 2013-08-15 | Pink Zulu Labs, Inc. | Electronic media management system with external references |
CN104079999A (en) * | 2014-05-21 | 2014-10-01 | 四川长虹电器股份有限公司 | Video screenshot preview method and system used on smart television |
CN104135685A (en) * | 2014-07-18 | 2014-11-05 | 北京奇虎科技有限公司 | Display method and display device for play information of webpage video |
CN104714963A (en) * | 2013-12-13 | 2015-06-17 | 乐视网信息技术(北京)股份有限公司 | Video poster image and video brief introduction information display method and browser |
-
2016
- 2016-08-31 CN CN201610797194.1A patent/CN106354849A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130206832A1 (en) * | 2012-02-14 | 2013-08-15 | Pink Zulu Labs, Inc. | Electronic media management system with external references |
CN103064958A (en) * | 2012-12-31 | 2013-04-24 | 乐视致新电子科技(天津)有限公司 | Method for automatic recognition and analysis of browser and based on hyper text makeup language (HTML) 5 video label |
CN104714963A (en) * | 2013-12-13 | 2015-06-17 | 乐视网信息技术(北京)股份有限公司 | Video poster image and video brief introduction information display method and browser |
CN104079999A (en) * | 2014-05-21 | 2014-10-01 | 四川长虹电器股份有限公司 | Video screenshot preview method and system used on smart television |
CN104135685A (en) * | 2014-07-18 | 2014-11-05 | 北京奇虎科技有限公司 | Display method and display device for play information of webpage video |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109151495A (en) * | 2018-08-09 | 2019-01-04 | 广州精航电子有限公司 | A kind of vod server and vod server multimedia file update method, storage medium |
CN109151495B (en) * | 2018-08-09 | 2019-12-03 | 广州精航电子有限公司 | A kind of vod server and vod server multimedia file update method, storage medium |
CN114546216A (en) * | 2022-02-25 | 2022-05-27 | 深圳康佳电子科技有限公司 | Aggregation-based global searching method, device, equipment and medium for video resources |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108880921B (en) | Webpage monitoring method and device, storage medium and server | |
US20180018795A1 (en) | Method and apparatus for processing tab in graphical interface | |
CN106446174A (en) | Method for page loading in application | |
CN109542427A (en) | A kind of system customization method, apparatus and electronic equipment and storage medium | |
CN110806905B (en) | User page processing method and device, electronic equipment and storage medium | |
CN104991705A (en) | Interface display method and terminal | |
CN110532495A (en) | A kind of methods of exhibiting and device of webpage information | |
WO2013174080A1 (en) | Interface display method and system of home gateway applicable to multiple display types | |
CN103685328A (en) | Advertisement broadcasting method | |
CN107864384B (en) | Method and device for redirecting internet video playing on cloud desktop | |
CN105045596A (en) | Plug-in calling method and apparatus | |
CN105808307B (en) | Page display method and device | |
CN106960062A (en) | Webpage capture method and system | |
CN110555179A (en) | Dynamic website script evidence obtaining method, terminal equipment and storage medium | |
CN107820102B (en) | A kind of data transmission method, device, terminal and server | |
US20190107929A1 (en) | Method and device for loading content of page, and electronic device | |
CN108391170A (en) | Switch method, apparatus, television set and the storage medium of EDID files | |
CN106354849A (en) | Poster obtaining treatment method and device of video tag | |
CN108874373B (en) | Method and device for inserting information into webpage, display terminal and storage medium | |
CN106358075A (en) | Processing method and device for acquiring poster of video tag | |
CN112416496A (en) | Page display method and device and storage medium | |
CN106462911A (en) | Method for providing cloud streaming service, device and system for same, and computer-readable recording medium having, recorded thereon, cloud streaming script code for same | |
CN112840305B (en) | Font switching method and related product | |
US10754767B2 (en) | Method and apparatus for loading a resource in a web page on a device | |
CN109151557B (en) | Video creation method and related device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20170125 |
|
WD01 | Invention patent application deemed withdrawn after publication |