CN106507210A - Play the method and device of video in webpage - Google Patents

Play the method and device of video in webpage Download PDF

Info

Publication number
CN106507210A
CN106507210A CN201610912820.7A CN201610912820A CN106507210A CN 106507210 A CN106507210 A CN 106507210A CN 201610912820 A CN201610912820 A CN 201610912820A CN 106507210 A CN106507210 A CN 106507210A
Authority
CN
China
Prior art keywords
identification code
video
video elementary
browser
webpage
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
Application number
CN201610912820.7A
Other languages
Chinese (zh)
Inventor
李旭
任寰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201610912820.7A priority Critical patent/CN106507210A/en
Publication of CN106507210A publication Critical patent/CN106507210A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4782Web browsing, e.g. WebTV
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/231Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
    • H04N21/23106Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion involving caching operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/84Generation or processing of descriptive data, e.g. content descriptors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
    • H04N21/8586Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL

Abstract

The invention provides a kind of method and device for playing video in webpage.The method includes:The webpage of loaded ribbon video elementary in a browser;The identification code corresponding to the broadcast information of the video elementary is obtained, wherein described broadcast information at least includes:The URL of the video elementary and/or URL of the webpage, and the reproduction time and/or broadcasting frame number of current video element;The identification code is stored in the browser side or the user data as browser client is preserved;According to the identification code of the preservation, in a browser to identification code in the reproduction time that identified at which of video elementary and/or play proceed to play at frame number.Can simply and efficiently realize that video passes through broadcasting using the present invention.

Description

Play the method and device of video in webpage
The application is《Play the method and device of video in webpage》Divisional application:
The applying date of original application:20130925
The application number of original application:201310459615.6
The invention and created name of original application:Play the method and device of video in webpage.
Technical field
The present invention relates to the Internet, applications field, more particularly to plays the method and device of video in webpage.
Background technology
Mostly video playback in browser is to load FLV videos or SWF texts in webpage using Flash player plug-in unit Part is played out.Browser client can carry out the broadcasting of video in network address using network address, and the function by Flash plug-in units is carried out The control (the basic video control of such as advance, retrogressing, stopping etc.) of video playback.
At present, video is generally provided by video website.If desired changing is carried out on the browser of terminal (such as mobile phone) Video playback, then, when loading video in webpage, can load pop-up by JS, and obtain from the server side of video website current Quick Response Code record shown, Fig. 1 show according to the video website of background technology provide Quick Response Code schematic diagram.With The network address of corresponding identification is opened at family in the browser of mobile phone after the handset identity Quick Response Code, is continued viewing and is played.
As can be seen here, current video passes through the scheme of viewing and has to the first-class mode of shooting by mobile phone and carry out two dimension The acquisition of code is realizing the broadcasting of passing through of video, means and step or comparatively laborious.Similar to Quick Response Code mode is also favourable One short code of means or transmission with collision is implemented equally also relatively complicated on mobile phone.
Content of the invention
In view of the above problems, it is proposed that the present invention so as to provide one kind overcome the problems referred to above or at least in part solve on State the method and device for playing video in webpage of problem.
According to one aspect of the present invention, there is provided a kind of method of video in broadcasting webpage, including:In a browser plus The webpage of carrier band video elementary;The identification code corresponding to the broadcast information of the video elementary is obtained, wherein described broadcast information At least include:The URL of the video elementary and/or URL of the webpage, and current video element reproduction time and/or Play frame number;The identification code is stored in the browser side or the user data as browser client is protected Deposit;According to the identification code of the preservation, in a browser to identification code in the reproduction time that identified at which of video elementary and/ Or proceed to play at broadcasting frame number.
Alternatively, the identification code corresponding to the broadcast information of the video elementary is obtained, including:Webpage from video website Middle obtain the identification code.
Alternatively, the identification code is obtained in the webpage from video website, including:The video website is according to described The broadcast information of the video elementary before this loading generates the identification code in real time;Loaded ribbon video elementary in a browser Webpage when, obtain the identification code.
Alternatively, after browser proceeds to play to the video elementary, also include:By the function of player plug-in The broadcast state of the video elementary is obtained, wherein, the broadcast state includes:The broadcasting frame number of the video elementary and total Frame number;Broadcast state according to the video elementary determines its current broadcast information.
Alternatively, the identification code is changed into by broadcast information, and being capable of scanning recognition.
Alternatively, the identification code includes Quick Response Code or bar code.
Alternatively, said method also includes:Using identification code described in mobile scanning terminal, the identification code is recognized and obtains Corresponding video elementary and its broadcast information;According to the video elementary and its broadcast information that obtain, in the mobile terminal Reproduction time that the video elementary is identified at which and/or play proceeds to play at frame number.
Alternatively, during the webpage of the video elementary of loaded ribbon in a browser, including:If identifying in the browser Backstage is loaded with the script that can obtain the identification code, passes through window toolkit in browser window loading, wherein, described passes through Start to obtain and recognize the identification code after window toolkit is clicked.
Alternatively, the identification code is stored in Cloud Server.
Alternatively, the MID bindings of browser client and at least one hardware device are also preserved in the Cloud Server side Corresponding relation;Select for the video elementary to be pushed to corresponding equipment according to the corresponding relation and user, receiving institute The equipment relaying continued broadcasting for stating video elementary is put.
Alternatively, the broadcast information also includes the heading message of the video information.
Alternatively, described in a browser to identification code in the reproduction time that identified at which of video elementary and/or broadcast Put and play, including:Enter row buffering to the video elementary in Cloud Server to download and preserve;Using clear Device of looking at carries the reproduction time identified at which to the video elementary by player and/or plays and proceeds to play at frame number.
Alternatively, the video elementary is entered in Cloud Server before row buffering downloads and preserve, also includes:Inquiry cloud If whether having preserved the video elementary in server, if so, then point out to have preserved the video;If the Cloud Server The more excellent video elementary of identical content and quality is preserved at end, then recommended to user.
Alternatively, the broadcast information is considered as a part for browser client information, in each browser and Cloud Server Synchronize.
According to another aspect of the present invention, there is provided the device of video in a kind of broadcasting webpage, including:Load-on module, It is configured to the webpage of loaded ribbon video elementary in a browser;Acquisition module, is configured to the broadcasting letter for obtaining the video elementary The corresponding identification code of breath, wherein described broadcast information at least include:The URL of the video elementary and/or the webpage URL, and the reproduction time and/or broadcasting frame number of current video element;Preserving module, is configured to be stored in the identification code The browser side or the user data as browser client are preserved;Playing module, is configured to according to described The identification code of preservation, in a browser to identification code in the reproduction time that identified at which of video elementary and/or play frame number Place proceeds to play.
Alternatively, the acquisition module is additionally configured to obtain the identification code from the webpage of video website.
Alternatively, the acquisition module is additionally configured to:In a browser during the webpage of loaded ribbon video elementary, obtain described Identification code;Wherein, the broadcast information of the video website according to the video elementary before this loading generates institute in real time State identification code.
Alternatively, the playing module is additionally configured to:The broadcasting that the video elementary is obtained by the function of player plug-in State, wherein, the broadcast state includes:The broadcasting frame number of the video elementary and totalframes;According to the video elementary Broadcast state determine its current broadcast information.
Alternatively, the identification code is changed into by broadcast information, and being capable of scanning recognition.
Alternatively, the identification code includes Quick Response Code or bar code.
Alternatively, the load-on module is additionally configured to:If identifying in the browser that backstage is loaded with can obtain institute State the script of identification code, browser window loading pass through window toolkit, wherein, described pass through window toolkit clicked after start Obtain and recognize the identification code.
Alternatively, the broadcast information also includes the heading message of the video information.
Alternatively, the playing module is additionally configured to:Enter row buffering in Cloud Server to download simultaneously to the video elementary Preserve;Using browser carry reproduction time that player identified at which to the video elementary and/or play at frame number after Continue and play out.
In embodiments of the present invention, the broadcast information of video elementary, during the webpage of browser loaded ribbon video elementary, is obtained Identification code, and it is local or preserved as the user data of browser that the identification code of acquisition is stored in browser, enters And can according to the identification code for preserving, in a browser to identification code in the reproduction time that identified at which of video elementary and/ Or proceed to play at broadcasting frame number.In embodiments of the present invention, the browser that identification code is preserved is locally or as browser User data preserved, and the reproduction time that identified at which is carried out according to the identification code for preserving and/or is played at frame number Proceed video playback, and the terminal is located at by browser is not needed by hands such as mobile phone camera, collision or transmission short codes Duan Shixian videos pass through broadcasting, and step is simply efficient, time-consuming, improve user's impression experience.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, And can be practiced according to the content of specification, and in order to allow the above and other objects of the present invention, feature and advantage can Become apparent, below especially exemplified by the specific embodiment of the present invention.
Description of the drawings
By reading the detailed description of hereafter preferred embodiment, various other advantages and benefit are common for this area Technical staff will be clear from understanding.Accompanying drawing is only used for the purpose for illustrating preferred embodiment, and is not considered as to the present invention Restriction.And in whole accompanying drawing, it is denoted by the same reference numerals identical part.In the accompanying drawings:
Fig. 1 shows the schematic diagram of the Quick Response Code provided according to the video website of background technology;
Fig. 2 shows the process chart for playing the method for video in webpage according to an embodiment of the invention;
Fig. 3 shows the schematic diagram of the Quick Response Code of video elementary according to embodiments of the present invention;
Fig. 4 shows the schematic diagram of video push list of devices according to an embodiment of the invention;And
Fig. 5 shows the structural representation for playing the device of video in webpage according to an embodiment of the invention.
Specific embodiment
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein. Various general-purpose systems can also be used together based on teaching in this.As described above, construct required by this kind of system Structure be obvious.Additionally, the present invention is also not for any certain programmed language.It is understood that, it is possible to use various Programming language realizes the content of invention described herein, and the above description done by language-specific is to disclose this Bright preferred forms.
For solving above-mentioned technical problem, a kind of method for playing video in webpage is embodiments provided.Fig. 2 is illustrated The process chart for playing the method for video in webpage according to an embodiment of the invention.Referring to Fig. 2, the method is at least wrapped Step S202 is included to step S208:
The webpage of step S202, in a browser loaded ribbon video elementary;
Identification code corresponding to step S204, the broadcast information of acquisition video elementary, wherein broadcast information at least include:Depending on The URL of the URL and/or webpage of frequency element, and the reproduction time and/or broadcasting frame number of current video element;
Step S206, identification code is stored in browser side or the user data as browser client is protected Deposit;
Step S208, according to the identification code for preserving, in a browser to identification code in video elementary identified at which Proceed to play at reproduction time and/or broadcasting frame number.
In embodiments of the present invention, the broadcast information of video elementary, during the webpage of browser loaded ribbon video elementary, is obtained Identification code, and it is local or preserved as the user data of browser that the identification code of acquisition is stored in browser, enters And can according to the identification code for preserving, in a browser to identification code in the reproduction time that identified at which of video elementary and/ Or proceed to play at broadcasting frame number.In embodiments of the present invention, the browser that identification code is preserved is locally or as browser User data preserved, and the reproduction time that identified at which is carried out according to the identification code for preserving and/or is played at frame number Proceed video playback, and the terminal is located at by browser is not needed by hands such as mobile phone camera, collision or transmission short codes Duan Shixian videos pass through broadcasting, and step is simply efficient, time-consuming, improve user's impression experience.
Wherein, the acquisition source of the identification code corresponding to the broadcast information of the video elementary for referring in step S204 is video The webpage of website.For ensureing that the real-time of the broadcast information corresponding to identification code, identification code need to generate in real time and obtain.Specifically Ground, broadcast information of the video website according to video elementary before this loading generate identification code in real time, and then add in a browser During the webpage of carrier band video elementary, browser is obtained to the identification code.Identification code is generated in real time and ensure that broadcast information Real-time, so as to when video elementary played by browser can from accurate reproduction time or play frame number start to continue into Row is played, it is to avoid go out the situation that playback unit point is repeated playing, and is saved system resource and is improved user's impression experience.
It should be noted that in the embodiment of the present invention, identification code is changed into by broadcast information, and being capable of scanning recognition.Excellent Selection of land, identification code can adopt Quick Response Code or bar code.After identification code is generated, it is possible to use mobile scanning terminal identification code, Recognize and obtain the corresponding video elementary of identification code and its broadcast information.And then according to the video elementary for obtaining and its play letter Breath, the in the terminal reproduction time identified at which by video elementary and/or play proceed to play at frame number.Now with Specific example is illustrated to the identification of identification code.In this example, Fig. 3 shows the two of video elementary according to embodiments of the present invention The schematic diagram of dimension code.Recognize that the URL addresses that the Quick Response Code is obtained are http://www.tudou.com/albumplay/ IZbFsx4Ku6o/dmwJN-29O50.html?Lvt=40&fr=cy2, recognizes that the reproduction time that the Quick Response Code is obtained is 40 Second.Therefore, will start to proceed to watch the video in the clicked operations of the URL from 40 seconds.
Quick Response Code is removed, the embodiment of the present invention can also be by function (the API letters of such as Flash player of player plug-in Number) obtain video elementary broadcast state, wherein, broadcast state at least includes the broadcasting frame number and totalframes of video elementary, That is, browser being capable of direct access broadcast information.Further, determine which is worked as in real time according to the broadcast state of the video elementary for obtaining Front broadcast information.Determine current broadcast information in real time, if occurring video again passes through broadcasting, can be broadcast using current Put information and generate identification code, and in the browser for passing through again according to identification code at the video playback that broadcast information is indicated after Continuing carries out video playback.
The webpage of loaded ribbon video elementary in a browser is referred in step S202, now, if after identifying in browser Platform is loaded with the script that can obtain identification code, can pass through window toolkit in browser window loading.Passing through window toolkit After loading terminates, if passing through, window toolkit is clicked, the acquisition and identification operation of identification code are triggered.
Wherein, for convenience of the acquisition of identification code, the embodiment of the present invention can be stored in identification code in Cloud Server.Except knowledge Outside other code, device identification (MID) binding of browser client and at least one hardware device can also be preserved in Cloud Server side Corresponding relation.The corresponding relation preserved according to Cloud Server side and user select, and can be pushed to video elementary corresponding Equipment, equipment herein includes the various terminals for being capable of application-browsing device such as mobile phone, panel computer, PC.Further, regard in reception The video elementary is put in the equipment relaying continued broadcasting of frequency element, and that realizes video passes through broadcasting.By taking 360 accounts as an example, browser client The entitled A 360.cn of account, there is binding relationship in the account between the MID of three equipment M N Q, and the account is working as respectively Logged in front browser.During the push of video elementary, by M N the mark of tri- equipment of Q show and be pushed to equipment List of devices in, selected according to current demand for user.In addition to device identification, high in the clouds in list of devices, is also shown. Fig. 4 shows the schematic diagram of video push list of devices according to an embodiment of the invention.
In embodiments of the present invention, broadcast information is except including the URL of video elementary, the URL of webpage, current video element Outside the parameters such as reproduction time, the broadcasting frame number of current video element, can for example be regarded with the other information related to video elementary The heading message of frequency information, brief introduction of video elementary etc..
Step S208 refer in a browser to identification code in the reproduction time that identified at which of video elementary and/or broadcast Put and play, specifically, row buffering can be entered in Cloud Server to video elementary and download and preserve, and then Carry reproduction time that player identified at which to video elementary and/or play using browser and proceed to broadcast at frame number Put, it is not necessary to open video elementary again in video website and continue to play, simple to operate, and save resources.Need to illustrate , video elementary is entered in Cloud Server before row buffering downloads and preserve, for avoiding having preserved this in Cloud Server The situation that video elementary is downloaded again, if can inquire about in Cloud Server whether preserved video elementary in advance.If inquiry knot For having preserved video elementary in Cloud Server, then prompting user has preserved the video in Cloud Server to fruit, it is not necessary to again Secondary it is downloaded.Certainly, if but the video elementary of cloud server end preservation matter identical with the video elementary content that this is downloaded Amount is more excellent, then can not only point out user's video, can be illustrated have in Cloud Server more preferably to recommend to user Video elementary (the more preferable film source of such as definition), according to user select determine the need for continue download, still use cloud The video elementary for having been preserved in server.Implement the step of aforesaid operations can save caching and flow, also, beat in browser It is that the buffered video to cloud server end is played out when opening video elementary, loading efficiency and opening speed, broadcasting speed are relative Play after download and be greatly improved.
In any one preferred embodiment above-mentioned, the broadcast information of video elementary can be considered browser client information A part, synchronizes in each browser and Cloud Server.
Video elementary is preserved in Cloud Server side, is accurate pointing pushing video element, and Cloud Server side can be provided with Browser client information table, wherein records the URL of the video elementary of the push and the temporal information of broadcasting, and records and regard The target device that frequency element is pushed.Because same user can be logged on different devices, different user can be Logged on same equipment, therefore, it can the push that video elementary is carried out according to the user name logged on equipment.Therefore, clear Device user message table of looking at includes the URL of video elementary and the corresponding relation of temporal information, device identification and user name three. Table one shows the example of browser client information table according to embodiments of the present invention.
Table one
Video elementary broadcast information Push target User account
URL+ temporal informations 1 Equipment 1 User name 1
URL+ temporal informations 2 Equipment 1 User name 2
URL+ temporal informations 3 Equipment 2 User name 2
Same inventive concept is based on, the embodiment of the present invention additionally provides a kind of device for playing video in webpage.Fig. 5 is illustrated The structural representation for playing the device of video in webpage according to an embodiment of the invention.Referring to Fig. 5, the device is at least wrapped Include:
Load-on module 510, is configured to the webpage of loaded ribbon video elementary in a browser;
Acquisition module 520, is configured to obtain the identification code corresponding to the broadcast information of video elementary, wherein broadcast information extremely Include less:The URL of the URL and/or webpage of video elementary, and the reproduction time and/or broadcasting frame number of current video element;
Preserving module 530, is configured to identification code is stored in browser side or the user as browser client Data are preserved;
Playing module 540, be configured to according to preserve identification code, in a browser to identification code in video elementary at which The reproduction time that identified and/or play proceeds to play at frame number.
In a preferred embodiment, acquisition module 520 is also configured as obtaining mark from the webpage of video website Know code.
In a preferred embodiment, acquisition module 520 is also configured as:
In a browser during the webpage of loaded ribbon video elementary, identification code is obtained;Wherein, video website is according to video elementary Broadcast information before this loading generates identification code in real time.
In a preferred embodiment, playing module 540 is also configured as:
The broadcast state that video elementary is obtained by the function of player plug-in, wherein, broadcast state includes:Video elementary Play frame number and totalframes;
Broadcast state according to video elementary determines its current broadcast information.
In a preferred embodiment, identification code is changed into by broadcast information, and being capable of scanning recognition.
In a preferred embodiment, identification code includes Quick Response Code or bar code.
In a preferred embodiment, load-on module 510 is also configured as:
If identifying in browser, backstage is loaded with the script that can obtain identification code, passes through window in browser window loading Mouthful instrument, wherein, pass through window toolkit clicked after start to obtain and identification marking code.
In a preferred embodiment, broadcast information also includes the heading message of video information.
In a preferred embodiment, playing module 540 is also configured as:
Enter row buffering in Cloud Server to download and preserve to video elementary;
Carry reproduction time that player identified at which to video elementary and/or play using browser and continue at frame number Play out.
Using the method and device for playing video in webpage provided in an embodiment of the present invention, beneficial effect as follows can be reached Really:
In embodiments of the present invention, the broadcast information of video elementary, during the webpage of browser loaded ribbon video elementary, is obtained Identification code, and it is local or preserved as the user data of browser that the identification code of acquisition is stored in browser, enters And can according to the identification code for preserving, in a browser to identification code in the reproduction time that identified at which of video elementary and/ Or proceed to play at broadcasting frame number.In embodiments of the present invention, the browser that identification code is preserved is locally or as browser User data preserved, and the reproduction time that identified at which is carried out according to the identification code for preserving and/or is played at frame number Proceed video playback, and the terminal is located at by browser is not needed by hands such as mobile phone camera, collision or transmission short codes Duan Shixian videos pass through broadcasting, and step is simply efficient, time-consuming, improve user's impression experience.
In specification mentioned herein, a large amount of details are illustrated.It is to be appreciated, however, that the enforcement of the present invention Example can be put into practice in the case where not having these details.In some instances, known device, structure are not been shown in detail And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure helping understand one or more in each inventive aspect, Above in the description to the exemplary embodiment of the present invention, each feature of the present invention is grouped together into single enforcement sometimes In example, figure or descriptions thereof.However, should not be construed to reflect following intention by the device of the disclosure:I.e. required guarantor The more features of feature that the application claims ratio of shield is expressly recited in each claim.More precisely, such as following Claims reflected as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself All as the separate embodiments of the present invention.
Those skilled in the art be appreciated that can to embodiment in equipment in module carry out adaptively Change and they are arranged in one or more equipment different from the embodiment.Can be the module in embodiment or list Unit or component are combined into a module or unit or component, and can be divided in addition multiple submodule or subelement or Sub-component.In addition at least some in such feature and/or process or unit is excluded each other, can adopt any Combination is disclosed to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so to appoint All processes or unit of what device or equipment are combined.Unless expressly stated otherwise, this specification (includes adjoint power Profit is required, summary and accompanying drawing) disclosed in each feature can identical by offers, be equal to or the alternative features of similar purpose carry out generation Replace.
Although additionally, it will be appreciated by those of skill in the art that some embodiments described herein include other embodiments In some included features rather than further feature, but the combination of the feature of different embodiments means in of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment required for protection appoint One of meaning can in any combination mode using.
The present invention all parts embodiment can be realized with hardware, or with one or more processor operation Software module realize, or with combinations thereof realize.It will be understood by those of skill in the art that can use in practice Microprocessor or digital signal processor (DSP) are realizing according to embodiments of the present invention broadcasting in webpage in the device of video Some or all parts some or all functions.The present invention is also implemented as executing dress as described herein The some or all equipment that puts or program of device (for example, computer program and computer program).Such Realize that the program of the present invention can be stored on a computer-readable medium, or there can be the shape of one or more signal Formula.Such signal can be downloaded from internet website and be obtained, or provide on carrier signal, or with any other shape Formula is provided.
It should be noted that above-described embodiment the present invention will be described rather than limits the invention, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol being located between bracket should not be configured to limitations on claims.Word "comprising" is not excluded the presence of not Element listed in the claims or step.Word "a" or "an" before being located at element does not exclude the presence of multiple such Element.The present invention can come real by means of the hardware for including some different elements and by means of properly programmed computer Existing.If in the unit claim for listing equipment for drying, several in these devices can be by same hardware branch To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and be run after fame Claim.
So far, although those skilled in the art will appreciate that detailed herein illustrate and describe multiple showing for the present invention Example property embodiment, but, without departing from the spirit and scope of the present invention, still can be direct according to present disclosure Determine or derive many other variations or modifications for meeting the principle of the invention.Therefore, the scope of the present invention is understood that and recognizes It is set to and covers other variations or modifications all these.
The method that embodiments of the invention further disclose video in A1, a kind of broadcasting webpage, including:
The webpage of loaded ribbon video elementary in a browser;
The identification code corresponding to the broadcast information of the video elementary is obtained, wherein described broadcast information at least includes:Institute State the URL of the URL and/or the webpage of video elementary, and the reproduction time and/or broadcasting frame number of current video element;
The identification code is stored in the browser side or the user data as browser client is protected Deposit;
According to the identification code of the preservation, in a browser to identification code in video elementary in the broadcasting identified by which Between and/or play frame number at proceed to play.
A2, the method according to A1, wherein, obtain the identification code corresponding to the broadcast information of the video elementary, bag Include:The identification code is obtained from the webpage of video website.
A3, the method according to A2, wherein, obtain the identification code in the webpage from video website, including:
The broadcast information of the video website according to the video elementary before this loading generates the mark in real time Know code;
In a browser during the webpage of loaded ribbon video elementary, the identification code is obtained.
A4, the method according to any one of A1 to A3, wherein, browser proceeds to play it to the video elementary Afterwards, also include:
The broadcast state that the video elementary is obtained by the function of player plug-in, wherein, the broadcast state includes:Institute State the broadcasting frame number and totalframes of video elementary;
Broadcast state according to the video elementary determines its current broadcast information.
A5, the method according to any one of A1 to A4, wherein, the identification code is changed into by broadcast information, and can Scanning recognition.
A6, the method according to A5, wherein, the identification code includes Quick Response Code or bar code.
A7, the method according to A5 or A6, wherein, also include:
Using identification code described in mobile scanning terminal, recognize and obtain the corresponding video elementary of the identification code and which is broadcast Put information;
According to the video elementary and its broadcast information that obtain, the video elementary is marked at which in the mobile terminal Proceed to play at the reproduction time of knowledge and/or broadcasting frame number.
A8, the method according to any one of A1 to A7, wherein, the webpage of the video elementary of loaded ribbon in a browser When, including:
If identifying in the browser, backstage is loaded with the script that can obtain the identification code, in browser window plus Load passes through window toolkit, wherein, described pass through window toolkit clicked after start to obtain and recognize the identification code.
A9, the method according to any one of A1 to A8, wherein, the identification code is stored in Cloud Server.
A10, the method according to A9, wherein, browser client and at least one are also preserved in the Cloud Server side The corresponding relation of the MID bindings of hardware device;
Select for the video elementary to be pushed to corresponding equipment according to the corresponding relation and user, described receiving The equipment relaying continued broadcasting of video elementary is put.
A11, the method according to any one of A1 to A10, wherein, the broadcast information also includes the video information Heading message.
A12, the method according to any one of A1 to A11, wherein, described in a browser to identification code in video element Reproduction time that element is identified at which and/or play proceeds to play at frame number, including:
Enter row buffering to the video elementary in Cloud Server to download and preserve;
The reproduction time and/or play at frame number identified at which by player is carried to the video elementary using browser Proceed to play.
A13, the method according to A12, wherein, in Cloud Server enter row buffering to the video elementary and download and protect Before depositing, also include:
If whether having preserved the video elementary in inquiry Cloud Server, if so, then point out to have preserved the video;
If the cloud server end preserves the more excellent video elementary of identical content and quality, recommended to user.
A14, the method according to any one of A1 to A13, wherein, the broadcast information is considered as browser client information A part, synchronizes in each browser and Cloud Server.
The embodiment of the present invention further discloses a kind of device of video in B15, broadcasting webpage, including:
Load-on module, is configured to the webpage of loaded ribbon video elementary in a browser;
Acquisition module, is configured to obtain the identification code corresponding to the broadcast information of the video elementary, wherein described broadcasting Information at least includes:The URL of the video elementary and/or URL of the webpage, and the reproduction time of current video element And/or play frame number;
Preserving module, is configured to the identification code is stored in the browser side or as browser client User data is preserved;
Playing module, is configured to the identification code according to the preservation, in a browser to identification code in video elementary exist Proceed to play at its reproduction time for being identified and/or broadcasting frame number.
B16, the device according to B15, wherein, the acquisition module is additionally configured to obtain from the webpage of video website The identification code.
B17, the device according to B16, wherein, the acquisition module is additionally configured to:
In a browser during the webpage of loaded ribbon video elementary, the identification code is obtained;Wherein, the video website according to The broadcast information of the video elementary before this loading generates the identification code in real time.
B18, the device according to any one of B15 to B17, wherein, the playing module is additionally configured to:
The broadcast state that the video elementary is obtained by the function of player plug-in, wherein, the broadcast state includes:Institute State the broadcasting frame number and totalframes of video elementary;
Broadcast state according to the video elementary determines its current broadcast information.
B19, the device according to any one of B15 to B18, wherein, the identification code is changed into by broadcast information, and energy Enough scanning recognitions.
B20, the device according to B19, wherein, the identification code includes Quick Response Code or bar code.
B21, the device according to any one of B15 to B20, wherein, the load-on module is additionally configured to:
If identifying in the browser, backstage is loaded with the script that can obtain the identification code, in browser window plus Load passes through window toolkit, wherein, described pass through window toolkit clicked after start to obtain and recognize the identification code.
B22, the device according to any one of B15 to B21, wherein, the broadcast information also includes the video information Heading message.
B23, the device according to any one of B15 to B22, wherein, the playing module is additionally configured to:
Enter row buffering to the video elementary in Cloud Server to download and preserve;
The reproduction time and/or play at frame number identified at which by player is carried to the video elementary using browser Proceed to play.

Claims (10)

1. a kind of play webpage in video method, including:
The webpage of loaded ribbon video elementary in a browser;
The identification code corresponding to the broadcast information of the video elementary is obtained, wherein described broadcast information at least includes:Described regard The URL of the frequency element and/or URL of the webpage, and the reproduction time and/or broadcasting frame number of current video element;
The identification code is stored in the browser side or the user data as browser client is preserved;
According to the identification code of the preservation, in a browser to identification code in the reproduction time that identified at which of video elementary And/or proceed to play at broadcasting frame number.
2. method according to claim 1, wherein, obtains the identification code corresponding to the broadcast information of the video elementary, Including:The identification code is obtained from the webpage of video website.
3. method according to claim 2, wherein, obtains the identification code in the webpage from video website, including:
The broadcast information of the video website according to the video elementary before this loading generates the identification code in real time;
In a browser during the webpage of loaded ribbon video elementary, the identification code is obtained.
4. the method according to any one of claims 1 to 3, wherein, browser proceeds to play to the video elementary Afterwards, also include:
The broadcast state that the video elementary is obtained by the function of player plug-in, wherein, the broadcast state includes:Described regard The broadcasting frame number of frequency element and totalframes;
Broadcast state according to the video elementary determines its current broadcast information.
5. the method according to any one of Claims 1-4, wherein, the identification code is changed into by broadcast information, and can Scanning recognition.
6. a kind of play webpage in video device, including:
Load-on module, is configured to the webpage of loaded ribbon video elementary in a browser;
Acquisition module, is configured to obtain the identification code corresponding to the broadcast information of the video elementary, wherein described broadcast information At least include:The URL of the video elementary and/or URL of the webpage, and current video element reproduction time and/or Play frame number;
Preserving module, is configured to the identification code is stored in the browser side or the user as browser client Data are preserved;
Playing module, is configured to the identification code according to the preservation, in a browser to identification code in video elementary in its institute Proceed to play at the reproduction time of mark and/or broadcasting frame number.
7. device according to claim 6, wherein, the acquisition module is additionally configured to obtain from the webpage of video website The identification code.
8. device according to claim 7, wherein, the acquisition module is additionally configured to:
In a browser during the webpage of loaded ribbon video elementary, the identification code is obtained;Wherein, the video website is according to described The broadcast information of the video elementary before this loading generates the identification code in real time.
9. the device according to any one of claim 6 to 8, wherein, the playing module is additionally configured to:
The broadcast state that the video elementary is obtained by the function of player plug-in, wherein, the broadcast state includes:Described regard The broadcasting frame number of frequency element and totalframes;
Broadcast state according to the video elementary determines its current broadcast information.
10. the device according to any one of claim 6 to 9, wherein, the identification code is changed into by broadcast information, and energy Enough scanning recognitions.
CN201610912820.7A 2013-09-25 2013-09-25 Play the method and device of video in webpage Pending CN106507210A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610912820.7A CN106507210A (en) 2013-09-25 2013-09-25 Play the method and device of video in webpage

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610912820.7A CN106507210A (en) 2013-09-25 2013-09-25 Play the method and device of video in webpage
CN201310459615.6A CN103491452B (en) 2013-09-25 2013-09-25 Method and device for playing video in web page

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201310459615.6A Division CN103491452B (en) 2013-09-25 2013-09-25 Method and device for playing video in web page

Publications (1)

Publication Number Publication Date
CN106507210A true CN106507210A (en) 2017-03-15

Family

ID=49831362

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201310459615.6A Active CN103491452B (en) 2013-09-25 2013-09-25 Method and device for playing video in web page
CN201610912820.7A Pending CN106507210A (en) 2013-09-25 2013-09-25 Play the method and device of video in webpage

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201310459615.6A Active CN103491452B (en) 2013-09-25 2013-09-25 Method and device for playing video in web page

Country Status (1)

Country Link
CN (2) CN103491452B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112929733A (en) * 2021-01-18 2021-06-08 稿定(厦门)科技有限公司 Video preview playing method and device

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103873928B (en) * 2014-03-14 2017-07-21 可牛网络技术(北京)有限公司 A kind of method, device and application server for playing video
CN105163167B (en) * 2015-08-20 2019-01-18 三星电子(中国)研发中心 A kind of method and apparatus for continuing to play video
CN111193952B (en) * 2018-11-15 2022-10-21 西安诺瓦星云科技股份有限公司 Media playing method, device, terminal and system and storage medium
CN113791752A (en) * 2021-09-16 2021-12-14 深圳市芯中芯科技有限公司 Method for synchronously controlling webpage music playing state through js in android system

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101221801A (en) * 2008-01-22 2008-07-16 腾讯科技(深圳)有限公司 Player and playing method
CN101425082A (en) * 2008-12-15 2009-05-06 深圳市迅雷网络技术有限公司 Video file content determining method and system
CN101777056A (en) * 2009-12-31 2010-07-14 成都市华为赛门铁克科技有限公司 Data storage method and device
CN101788976A (en) * 2010-02-10 2010-07-28 北京播思软件技术有限公司 File splitting method based on contents
CN102025736A (en) * 2010-12-08 2011-04-20 四川长虹电器股份有限公司 Continuous playing method for cross-platform program and system
WO2011110065A1 (en) * 2010-03-08 2011-09-15 华为技术有限公司 Method and apparatus for cross-platform replay from pause point, method and apparatus for replay from pause point
CN102647633A (en) * 2012-05-02 2012-08-22 合一网络技术(北京)有限公司 Method for achieving cross-platform media sharing and controlling through network mode
CN102902761A (en) * 2012-09-25 2013-01-30 腾讯科技(深圳)有限公司 Cross-terminal cloud browse method and system
CN103313129A (en) * 2012-03-06 2013-09-18 联想(北京)有限公司 Method and device for video playing

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101909207A (en) * 2009-06-05 2010-12-08 北京搜狗科技发展有限公司 Video playing method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101221801A (en) * 2008-01-22 2008-07-16 腾讯科技(深圳)有限公司 Player and playing method
CN101425082A (en) * 2008-12-15 2009-05-06 深圳市迅雷网络技术有限公司 Video file content determining method and system
CN101777056A (en) * 2009-12-31 2010-07-14 成都市华为赛门铁克科技有限公司 Data storage method and device
CN101788976A (en) * 2010-02-10 2010-07-28 北京播思软件技术有限公司 File splitting method based on contents
WO2011110065A1 (en) * 2010-03-08 2011-09-15 华为技术有限公司 Method and apparatus for cross-platform replay from pause point, method and apparatus for replay from pause point
CN102025736A (en) * 2010-12-08 2011-04-20 四川长虹电器股份有限公司 Continuous playing method for cross-platform program and system
CN103313129A (en) * 2012-03-06 2013-09-18 联想(北京)有限公司 Method and device for video playing
CN102647633A (en) * 2012-05-02 2012-08-22 合一网络技术(北京)有限公司 Method for achieving cross-platform media sharing and controlling through network mode
CN102902761A (en) * 2012-09-25 2013-01-30 腾讯科技(深圳)有限公司 Cross-terminal cloud browse method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
申石磊 李捷: "《大学计算机基础》", 31 August 2008, 中国科学技术出版社 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112929733A (en) * 2021-01-18 2021-06-08 稿定(厦门)科技有限公司 Video preview playing method and device

Also Published As

Publication number Publication date
CN103491452A (en) 2014-01-01
CN103491452B (en) 2017-01-25

Similar Documents

Publication Publication Date Title
CN103491452B (en) Method and device for playing video in web page
CN104135692B (en) The loading display method and loaded and displayed device of video information
CN108109011A (en) A kind of anti-cheat method of advertisement and computing device
CN105159988B (en) A kind of method and device of browsing photo
CN108121568A (en) Arouse method and device, electronic equipment and the readable storage medium storing program for executing of APP
CN106792242A (en) For the method and apparatus of pushed information
US20150365707A1 (en) Systems and methods for sharing video data via social media
CN107770596A (en) A kind of special efficacy synchronous method, device and mobile terminal
CN108476329A (en) It is similar to introduce caching mechanism
CN106254925A (en) Destination object extracting method based on video identification, equipment and system
CN104991936A (en) Target information obtaining and pushing method and apparatus
CN109618236A (en) Video comments treating method and apparatus
CN107734353A (en) Record method, apparatus, readable storage medium storing program for executing and the equipment of barrage video
CN106407401A (en) A video recommendation method and device
CN108134951A (en) For recommending the method and apparatus of broadcasting content
CN106973304A (en) Nonlinear editing method based on high in the clouds, apparatus and system
CN104980773A (en) Streaming media processing method and device, terminal and server
CN105959207A (en) Audio and video sharing method and device
JP2015505176A5 (en)
CN107885767A (en) A kind of page operation method and device
CN103927356A (en) Advertisement intercepting method and advertisement intercepting device
CN104463642A (en) Advertisement filtering processing method and device and browser client side
CN111582938A (en) Advertisement putting method and device and electronic equipment
CN103268405A (en) Method, device and system for acquiring game information
CN108737486A (en) Information-pushing method and 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170315