CN108156521A - The method and apparatus of video playing on a kind of browser - Google Patents

The method and apparatus of video playing on a kind of browser Download PDF

Info

Publication number
CN108156521A
CN108156521A CN201711485299.4A CN201711485299A CN108156521A CN 108156521 A CN108156521 A CN 108156521A CN 201711485299 A CN201711485299 A CN 201711485299A CN 108156521 A CN108156521 A CN 108156521A
Authority
CN
China
Prior art keywords
video
video data
browser
website page
plug
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
CN201711485299.4A
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
Original Assignee
Beijing Qihoo Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201711485299.4A priority Critical patent/CN108156521A/en
Publication of CN108156521A publication Critical patent/CN108156521A/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/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4438Window management, e.g. event handling following interaction with the user interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47202End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand

Abstract

An embodiment of the present invention provides a kind of method and apparatus of video playing on browser, the method includes:When entering the video website page on a web browser, the corresponding video plug-in unit of the video website page is obtained;The video plug-in unit is injected to the video website page of the browser entrance;The playing request for the video website page video data is sent to server;The server is used to obtain the corresponding video data of the playing request, and crack the video data;If successfully cracking the video data of the video website page in server, the video data of the video website page after receive that the server returns crack;The video data of the video website page after being cracked described in the video plug-in unit broadcasting is called on the browser.The embodiment of the present invention can be directed to major video website and set challenge parameters so that the video data of video website, which is walked, cracks broadcasting after video plug-in unit is called.

Description

The method and apparatus of video playing on a kind of browser
Technical field
The present invention relates to field of communication technology, method and a kind of browsing more particularly to video playing on a kind of browser The device of video playing on device.
Background technology
With the development of Internet technology and popularizing for mobile terminal, Online Video has become the base of Internet user The rating channel of user has been widened in plinth application, and the work and leisure for user provide more convenient and enjoyment.At present, respectively Big video website is in order to promote the mobile terminals such as itself mobile phone APP (application program), must during using browser access video website Individual videoconference client must be downloaded, could completely watch the video of the video website.
In addition to this, since browser does not have the basic function of video player, a large amount of video is caused not see normally It sees, user experience is very poor, but one of the critical function of video playing as browser, if not being well positioned to meet user needs Realistic is sorry.
Invention content
In view of the above problems, it is proposed that the present invention overcomes the above problem in order to provide one kind or solves at least partly State the device of video playing in the method for video playing and corresponding browser on the browser of problem.
One side according to the present invention, the method for providing video playing on a kind of browser, including:
When entering the video website page on a web browser, the corresponding video plug-in unit of the video website page is obtained;
The video plug-in unit is injected to the video website page of the browser entrance;
The playing request for the video website page video data is sent to server;The server is used to obtain The corresponding video data of the playing request, and the video data is cracked;
If successfully cracking the video data of the video website page in server, receive the server and return Crack after the video website page video data;
The video data of the video website page after being cracked described in the video plug-in unit broadcasting is called on the browser.
Optionally, it further includes:
If cracking unsuccessfully the video data of the video website page in server, institute is played on the browser State the video data of the video website page.
Optionally, the video plug-in unit has corresponding user interface, described that video plug-in unit injection is described clear After the video website page that device of looking at enters, further include:
The user interface of the video plug-in unit is loaded onto to the video website page of the browser entrance.
Other side according to the present invention, the method for providing video playing on a kind of browser, including:
When entering the video website page on a web browser, receive browser transmission is directed to the video website page video The playing request of data;
Corresponding video data is obtained according to the playing request;
The video data is cracked, and the video data after cracking is fed back into browser;The browser is used to call The video data of the video website page after being cracked described in the broadcasting of video plug-in unit.
Optionally, before the playing request for the video website page video data that browser is sent is received, It further includes:
Obtain the mobile network address of the video website page;
The mobile network address is converted into computer network address.
Optionally, it further includes:
If the mobile network address is converted to the failure of computer network address, the video data is fed back into the browsing Device;The browser is used to play the video data of the video website page.
Optionally, it is described to crack the video data, including:
Determine the coded format of the video data;
The coded format of the video data is converted according to pre-arranged code form.
According to another aspect of the present invention, a kind of device of video playing on browser is provided, including:
Video plug-in unit acquisition module, suitable on a web browser enter the video website page when, obtain the video website The corresponding video plug-in unit of the page;
Video plug-in unit injection module, suitable for the video plug-in unit to be injected to the video website page of the browser entrance Face;
Playing request sending module, suitable for sending the broadcasting for the video website page video data to server Request;The server is used to obtain the corresponding video data of the playing request, and crack the video data;
Video data receiving module, if the video counts suitable for successfully cracking the video website page in server According to the video data of the video website page after then receive that the server returns crack;
First video data playing module is cracked suitable for being called on the browser described in the video plug-in unit broadcasting The video data of the video website page afterwards.
Optionally, it further includes:
Second video data playing module, if the video suitable for cracking unsuccessfully the video website page in server Data then play the video data of the video website page on the browser.
Optionally, the video plug-in unit has corresponding user interface, further includes:
User interface load-on module, suitable for the user interface of the video plug-in unit is loaded onto what the browser entered The video website page.
According to another aspect of the present invention, a kind of device of video playing on browser is provided, including:
Playing request receiving module, suitable on a web browser enter the video website page when, receive browser send For the playing request of the video website page video data;
Video data acquisition module, suitable for obtaining corresponding video data according to the playing request;
First video data feedback module, suitable for cracking the video data, and the video data feedback after cracking To browser;The browser is used to call the video data of the video website page after being cracked described in the broadcasting of video plug-in unit.
Optionally, it further includes:
Mobile website acquisition module, suitable for obtaining the mobile network address of the video website page;
Mobile network address modular converter, suitable for the mobile network address is converted to computer network address.
Optionally, it further includes:
Second video data feedback module, if failed suitable for the mobile network address is converted to computer network address, The video data is fed back into the browser;The browser is used to play the video data of the video website page.
Optionally, the first video data feedback module includes:
Coded format determining module, suitable for determining the coded format of the video data;
Coded format modular converter, suitable for being carried out according to pre-arranged code form for the coded format of the video data Conversion.
According to another aspect of the present invention, a kind of terminal device is provided, including memory, processor and is stored in storage On device and the computer program that can run on a processor, which is characterized in that the processor is realized when performing described program The step of stating method.
According to another aspect of the present invention, a kind of computer readable storage medium is provided, is stored thereon with computer journey Sequence, when which is executed by processor the step of the realization above method.
In embodiments of the present invention, on a web browser into the video website page when, obtain the video website page it is corresponding Video plug-in unit, and the video website page that video plug-in unit injection browser is entered, when user is based on video plug-in unit to clothes Business device sends the playing request for video website page video data, if successfully cracking the video website page in server Video data then receives the video data after the cracking of server return, and video plug-in unit is called to play brokenly in a browser Video data after solution.The embodiment of the present invention can be directed to major video website and set challenge parameters after video plug-in unit is called, So that the video data of video website, which is walked, cracks broadcasting, realize the complete broadcasting of video data, download, clarity switching, selected works, Chain broadcast plays the multiple functions such as memory, promotes user's viewing experience.
Above description 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 it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, below the special specific embodiment for lifting the present invention.
Description of the drawings
By reading the detailed description of hereafter preferred embodiment, it is various other the advantages of and benefit it is common for this field Technical staff will become clear.Attached drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows the step of the embodiment of the method one of video playing on a kind of browser according to an embodiment of the invention Rapid flow chart;
Fig. 2 shows the steps of the embodiment of the method two of video playing on a kind of browser according to an embodiment of the invention Rapid flow chart;
Fig. 3 shows a kind of flow chart for realizing one-stop broadcasting on a web browser according to an embodiment of the invention;
Fig. 4 shows a kind of schematic diagram of video playing on a web browser according to an embodiment of the invention;
Fig. 5 shows the knot of the device embodiment one of video playing on a kind of browser according to an embodiment of the invention Structure block diagram;
Fig. 6 shows the knot of the device embodiment two of video playing on a kind of browser according to an embodiment of the invention Structure block diagram.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure Completely it is communicated to those skilled in the art.
With reference to Fig. 1, the embodiment of the method for video playing on a kind of browser according to an embodiment of the invention is shown One step flow chart, specifically may include steps of:
Step 101, on a web browser into the video website page when, obtain the corresponding video of the video website page and insert Part.
In embodiments of the present invention, video website is provided with corresponding video plug-in unit.Specifically, for some mainstreams Video website addition cracks rule, and carrying out video plug-in unit (JS, javascript) to video website by browser client notes Enter.
In one preferred embodiment of the invention, the video plug-in unit has corresponding user interface, described by institute It states video plug-in unit and injects the video website page that the browser enters, i.e., can also include the following steps after step 101:
The user interface of the video plug-in unit is loaded onto to the video website page of the browser entrance.
In practical applications, video plug-in unit has been individually encapsulated a set of UI (User Interface, user interface).In user It is provided in interface including graphic elements such as broadcast button, stop button, continuous broadcast button and download buttons.When user for When these graphic elements are operated, triggering video plug-in unit is performed into corresponding operation.
Step 102, the video plug-in unit is injected to the video website page of the browser entrance.
In embodiments of the present invention, the injection of video plug-in unit can be carried out to video website by browser client, it is single Solely encapsulate a set of UI.Specifically, broadcast button is added on the primary video website page, when user clicks broadcast button, depending on Frequency plug-in unit carries out the preparation of early period;After ready, the function of video plug-in unit is realized.
Step 103, the playing request for the video website page video data is sent to server;The server For obtaining the corresponding video data of the playing request, and the video data is cracked.
It, will be to the server of video website when user is when clicking the broadcast button under some video on the video website page The playing request of the video is sent, server will get corresponding video data based on playing request, can be to the video data It is cracked.Wherein, video data crack can refer to carry out coded format conversion, will the video data be converted to it is clear It lookes on device and is capable of the data format of normal play.
Step 104, if successfully cracking the video data of the video website page in server, the clothes are received Business device return crack after the video website page video data.
If server successfully cracks video data, then it is enterprising that the video data after cracking is returned to browser by ash Row plays, and the video data played on a web browser at this time is the data after cracking, therefore will not be by original video website pair It is limited in the broadcasting of the video.
In one preferred embodiment of the invention, the method can also include the following steps:
If cracking unsuccessfully the video data of the video website page in server, institute is played on the browser State the video data of the video website page.
In actual scene, it is possible to crack failure for video data in the server, then will be directly in browser It is upper to play the video data not cracked.It should be noted that since video data is not cracked, then in browser During broadcasting, it may not be inconsistent due to video format, in other words the otherwise limitation of video website so that video data can not be just It often plays, and can not realize the download of video, clarity switching, selected works, chain broadcast, play the functions such as memory, user It can only select the client of foradownloaded video website so that reduce in the video playing amount of browser.
Step 105, the video website page after being cracked described in the video plug-in unit broadcasting is called on the browser Video data.
After receiving the video data after the cracking of server return on a web browser, video plug-in unit is called on a web browser Play the video data.
At present using the browser viewing video on the mobile terminals such as mobile phone, multitude of video can not be played completely or full frame Viewing, some videos do not support selected works, chain broadcast, switching clarity, the first-class basic function of piece are skipped, in short, can not meet use The basic broadcasting experience in family.
And using the embodiment of the present invention, on a web browser into the video website page when, obtain the video website page and correspond to Video plug-in unit, and by the video website page that is entered of video plug-in unit injection browser, when user be based on video plug-in unit to Server sends the playing request for video website page video data, if successfully cracking the video website page in server Video data, then receive the video data after the cracking of server return, and video plug-in unit called to play in a browser Video data after cracking.The embodiment of the present invention can be directed to the setting of major video website and crack ginseng after video plug-in unit is called Number so that the video data of video website, which is walked, cracks broadcasting, realizes the complete broadcasting of video data, downloads, clarity switching, selects Collection, plays the multiple functions such as memory at chain broadcast, promotes user's viewing experience.
With reference to Fig. 2, the embodiment of the method for video playing on a kind of browser according to an embodiment of the invention is shown Two step flow chart, specifically may include steps of:
Step 201, on a web browser into the video website page when, receive browser send be directed to the video website The playing request of page video data.
In embodiments of the present invention, on a web browser into the video website page when, can be directed to the video website page inject Video plug-in unit, the video plug-in unit are packaged with corresponding user interface.
Wherein, the pattern primitives such as broadcast button, stop button, continuous broadcast button and download button are included in user interface Element, corresponding function can be realized by clicking these graphic elements, for example, clicking broadcast button, then go back to obtain video website Video data, while video data can also be cracked, the video data after cracking then is back to browser again broadcasts It puts.
After browser injects video plug-in unit, if user clicks such as video play button in user interface, by life It is this into the playing request of video data, it can receive the request in server and carry out respective handling.
In one preferred embodiment of the invention, it is directed to the video website page video what reception browser was sent Before the playing request of data, it can also include the following steps:Obtain the mobile network address of the video website page;By the shifting Dynamic network address is converted to computer network address.
Because using mobile phone, when the browser on mobile terminals opens video website, being often intercepted installation, this is regarded Frequency website app could continue to play, so can first change into computer web site resource tune in embodiments of the present invention plays video link It connects.
In one preferred embodiment of the invention, the method can also include the following steps:
If the mobile network address is converted to the failure of computer network address, the video data is fed back into the browsing Device;The browser is used to play the video data of the video website page.
In practical applications, if cannot the mobile network address of the video website page successfully be converted to computer network address, It is also an option that directly play the video data in a browser, i.e., it the operations such as will not be cracked.
Step 202, corresponding video data is obtained according to the playing request.
After server receives playing request, corresponding video data in video website is got according to playing request.
Step 203, the video data is cracked, and the video data after cracking is fed back into browser;The browser For calling the video data of the video website page after being cracked described in the broadcasting of video plug-in unit.
Server will carry out the operation that cracks of video after video data is got.In a kind of preferred implementation of the present invention In example, the step 203, that is, the step of cracking video data, can include following sub-step:
Determine the coded format of the video data;
The coded format of the video data is converted according to pre-arranged code form.
After server obtains video data, can also format conversion be carried out for video data so that the video data can Be converted to the video format for being capable of normal play on a web browser.
Specifically, the embodiment of the present invention can be directed to the addition of major video website and crack rule in advance, crack rule to obtain The video data of video website is taken, several sections of shorter video datas are such as spliced into one section of complete video data or to not It is coded and decoded with video format, such as by the video data of .m3u8 coded formats, is converted into more generally applicable .mp4/ .flv coded format.
In order to which those skilled in the art is made to more fully understand the embodiment of the present invention, below using an example for the present invention Embodiment realizes that the process of one-stop video playing on browser illustrates.With reference to Fig. 3, show according to a reality of the invention A kind of flow chart for realizing one-stop broadcasting on a web browser of example is applied, specific steps include:
1) video website is opened in browser;
2) the mobile network address of video website is converted into computer (PC) network address;If conversion failure, is directly entered webpage and broadcasts It puts;If conversion is successfully entered in next step;
3) after server converts successfully, video plug-in unit has been adjusted completely to play;It is unsuccessfully cracked if server cracks into local, If it is successfully entered video plug-in unit completely to play;If local crack failure, broadcasting of entering the Web page.
4) by having adjusted video plug-in unit, basic playing function is realized based on video plug-in unit on a web browser.Based on the present invention The results are shown in Figure 4 for the video playing that embodiment is realized, can realize at least following function on a web browser at this time:(1) it is complete It plays:Play entire complete video;(2) selected works:The self-defined a certain collection of selection of TV play;(3) it downloads:It can be regarded with offline cache Frequently;(4) other:Switching clarity, plays out chain broadcast on the mobile terminal of each type.
In embodiments of the present invention, the advantage of browser itself is made full use of, in internal integrated video plug-in unit, it is whole to provide one Cover the solution of video playing.So that the cost that browser plays video greatly reduces, viewing experience is significantly improved.
After having adjusted video plug-in unit, challenge parameters are set for major portal video website, video website walks to crack broadcasting, real The complete broadcasting of existing video, download, selected works, chain broadcast, play the functions such as memory at clarity switching.
The embodiment of the present invention greatly improves the broadcasting experience of browser video plug-in unit, and video is watched using browser When, it realizes the download of video, clarity switching, selected works, chain broadcast, play the functions such as memory so that the video playing of browser Amount, video plug-in unit use ratio, average playing duration get a promotion.
For embodiment of the method, in order to be briefly described, therefore it is all expressed as to a series of combination of actions, but this field Technical staff should know that the embodiment of the present invention is not limited by described sequence of movement, because implementing according to the present invention Example, certain steps may be used other sequences or are carried out at the same time.Secondly, those skilled in the art should also know, specification Described in embodiment belong to preferred embodiment, necessary to the involved action not necessarily embodiment of the present invention.
With reference to Fig. 5, the device embodiment of video playing on a kind of browser according to an embodiment of the invention is shown One structure diagram can specifically include following module:
Video plug-in unit acquisition module 301, suitable on a web browser enter the video website page when, obtain the video network The corresponding video plug-in unit of the page of standing;
Video plug-in unit injection module 302, suitable for the video plug-in unit to be injected to the video website of the browser entrance The page;
Playing request sending module 303, suitable for being sent to server for the video website page video data Playing request;The server carries out the video data for obtaining the corresponding video data of the playing request It cracks;
Video data receiving module 304, if the video suitable for successfully cracking the video website page in server Data, the then video data of the video website page after receive that the server returns crack;
First video data playing module 305, suitable for being called on the browser described in the video plug-in unit broadcasting The video data of the video website page after cracking.
In one preferred embodiment of the invention, described device can also include:
Second video data playing module, if the video suitable for cracking unsuccessfully the video website page in server Data then play the video data of the video website page on the browser.
In one preferred embodiment of the invention, the video plug-in unit has corresponding user interface, further includes:
User interface load-on module, suitable for the user interface of the video plug-in unit is loaded onto what the browser entered The video website page.
With reference to Fig. 6, the device embodiment of video playing on a kind of browser according to an embodiment of the invention is shown Two structure diagram can specifically include following module:
Playing request receiving module 401, suitable on a web browser enter the video website page when, receive browser send The playing request for the video website page video data;
Video data acquisition module 402, suitable for obtaining corresponding video data according to the playing request;
First video data feedback module 403, suitable for cracking the video data, and the video data after cracking is anti- It is fed to browser;The browser is used to call the video data of the video website page after being cracked described in the broadcasting of video plug-in unit.
In one preferred embodiment of the invention, described device can also include:
Mobile website acquisition module, suitable for obtaining the mobile network address of the video website page;
Mobile network address modular converter, suitable for the mobile network address is converted to computer network address.
In one preferred embodiment of the invention, described device can also include:
Second video data feedback module, if failed suitable for the mobile network address is converted to computer network address, The video data is fed back into the browser;The browser is used to play the video data of the video website page.
In one preferred embodiment of the invention, the first video data feedback module 403 can include:
Coded format determining module, suitable for determining the coded format of the video data;
Coded format modular converter, suitable for being carried out according to pre-arranged code form for the coded format of the video data Conversion.
For device embodiment, since it is basicly similar to embodiment of the method, so description is fairly simple, it is related Part illustrates referring to the part of embodiment of the method.
The embodiment of the invention also discloses a kind of terminal devices, including memory, processor and store on a memory simultaneously The computer program that can be run on a processor, the processor realize the step of the above method embodiment when performing described program Suddenly.
The embodiment of the invention also discloses a kind of computer readable storage mediums, are stored thereon with computer program, the journey The step of above method embodiment is realized when sequence is executed by processor.
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 with teaching based on this.As described above, required by constructing this kind of system Structure be obvious.In addition, the present invention is not also directed to any certain programmed language.It should be understood that it can utilize various Programming language realizes the content of invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In the specification provided in this place, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention Example can be put into practice without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this description.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of each inventive aspect, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor Shield the present invention claims the more features of feature than being expressly recited in each claim.More precisely, as following Claims reflect 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 is in itself Separate embodiments all as the present invention.
Those skilled in the art, which are appreciated that, to carry out adaptively the module in the equipment in embodiment Change and they are arranged in one or more equipment different from the embodiment.It can be the module or list in embodiment Member or component be combined into a module or unit or component and can be divided into addition multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it may be used any Combination is disclosed to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so to appoint Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification is (including adjoint power Profit requirement, abstract and attached drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other 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 claimed is appointed One of meaning mode can use in any combination.
The all parts embodiment of the present invention can be with hardware realization or to be run on one or more processor Software module realize or realized with combination thereof.It will be understood by those of skill in the art that it can use in practice Microprocessor or digital signal processor (DSP) realize the equipment of video playing on browser according to embodiments of the present invention In some or all components some or all functions.The present invention is also implemented as described herein for performing The some or all equipment or program of device (for example, computer program and computer program product) of method.In this way Realization the present invention program can may be stored on the computer-readable medium or can have one or more signal shape Formula.Such signal can be downloaded from internet website to be obtained either providing or with any other shape on carrier signal Formula provides.
It should be noted that the present invention will be described rather than limits the invention, and ability for above-described embodiment Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference mark between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is 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 sequence.These words can be explained and run after fame Claim.
The embodiment of the invention discloses a kind of method of video playing on A1, browser, including:
When entering the video website page on a web browser, the corresponding video plug-in unit of the video website page is obtained;
The video plug-in unit is injected to the video website page of the browser entrance;
The playing request for the video website page video data is sent to server;The server is used to obtain The corresponding video data of the playing request, and the video data is cracked;
If successfully cracking the video data of the video website page in server, receive the server and return Crack after the video website page video data;
The video data of the video website page after being cracked described in the video plug-in unit broadcasting is called on the browser.
A2, the method as described in claim A1, which is characterized in that further include:
If cracking unsuccessfully the video data of the video website page in server, institute is played on the browser State the video data of the video website page.
A3, the method as described in claim A1 or A2, which is characterized in that the video plug-in unit has corresponding user circle Face after the video website page for entering the video plug-in unit injection browser, further includes:
The user interface of the video plug-in unit is loaded onto to the video website page of the browser entrance.
The embodiment of the invention also discloses a kind of method of video playing on B4, browser, including:
When entering the video website page on a web browser, receive browser transmission is directed to the video website page video The playing request of data;
Corresponding video data is obtained according to the playing request;
The video data is cracked, and the video data after cracking is fed back into browser;The browser is used to call The video data of the video website page after being cracked described in the broadcasting of video plug-in unit.
B5, the method as described in claim B4, which is characterized in that be directed to the video network what reception browser was sent It stands before the playing request of page video data, further includes:
Obtain the mobile network address of the video website page;
The mobile network address is converted into computer network address.
B6, the method as described in claim B4 or B5, which is characterized in that further include:
If the mobile network address is converted to the failure of computer network address, the video data is fed back into the browsing Device;The browser is used to play the video data of the video website page.
B7, the method as described in claim B4 or B5 or B6, which is characterized in that described to crack the video data, packet It includes:
Determine the coded format of the video data;
The coded format of the video data is converted according to pre-arranged code form.
The embodiment of the invention also discloses a kind of device of video playing on C8, browser, including:
Video plug-in unit acquisition module, suitable on a web browser enter the video website page when, obtain the video website The corresponding video plug-in unit of the page;
Video plug-in unit injection module, suitable for the video plug-in unit to be injected to the video website page of the browser entrance Face;
Playing request sending module, suitable for sending the broadcasting for the video website page video data to server Request;The server is used to obtain the corresponding video data of the playing request, and crack the video data;
Video data receiving module, if the video counts suitable for successfully cracking the video website page in server According to the video data of the video website page after then receive that the server returns crack;
First video data playing module is cracked suitable for being called on the browser described in the video plug-in unit broadcasting The video data of the video website page afterwards.
C9, the device as described in claim C8, which is characterized in that further include:
Second video data playing module, if the video suitable for cracking unsuccessfully the video website page in server Data then play the video data of the video website page on the browser.
C10, the device as described in claim C8 or C9, which is characterized in that the video plug-in unit has corresponding user Interface further includes:
User interface load-on module, suitable for the user interface of the video plug-in unit is loaded onto what the browser entered The video website page.
The embodiment of the invention also discloses a kind of device of video playing on D11, browser, including:
Playing request receiving module, suitable on a web browser enter the video website page when, receive browser send For the playing request of the video website page video data;
Video data acquisition module, suitable for obtaining corresponding video data according to the playing request;
First video data feedback module, suitable for cracking the video data, and the video data feedback after cracking To browser;The browser is used to call the video data of the video website page after being cracked described in the broadcasting of video plug-in unit.
D12, the device as described in claim D11, which is characterized in that further include:
Mobile website acquisition module, suitable for obtaining the mobile network address of the video website page;
Mobile network address modular converter, suitable for the mobile network address is converted to computer network address.
D13, the device as described in claim D11 or D12, which is characterized in that further include:
Second video data feedback module, if failed suitable for the mobile network address is converted to computer network address, The video data is fed back into the browser;The browser is used to play the video data of the video website page.
D14, the device as described in claim D11 or D12 or D13, which is characterized in that the first video data feedback Module includes:
Coded format determining module, suitable for determining the coded format of the video data;
Coded format modular converter, suitable for being carried out according to pre-arranged code form for the coded format of the video data Conversion.
The embodiment of the invention also discloses E15, a kind of terminal devices, including memory, processor and are stored in memory Computer program that is upper and can running on a processor, which is characterized in that the processor realizes right when performing described program It is required that the step of any one of A1-A3 and/or A4-A7 the method.
The embodiment of the invention also discloses F16, a kind of computer readable storage mediums, are stored thereon with computer program, It is characterized in that, the step of any one of claim A1-A3 and/or A4-A7 the methods is realized when the program is executed by processor Suddenly.

Claims (10)

1. a kind of method of video playing on browser, including:
When entering the video website page on a web browser, the corresponding video plug-in unit of the video website page is obtained;
The video plug-in unit is injected to the video website page of the browser entrance;
The playing request for the video website page video data is sent to server;The server is described for obtaining The corresponding video data of playing request, and the video data is cracked;
If successfully cracking the video data of the video website page in server, the broken of the server return is received The video data of the video website page after solution;
The video data of the video website page after being cracked described in the video plug-in unit broadcasting is called on the browser.
2. the method as described in claim 1, which is characterized in that further include:
If cracking unsuccessfully the video data of the video website page in server, regarded described in broadcasting on the browser The video data of frequency Website page.
3. method as claimed in claim 1 or 2, which is characterized in that the video plug-in unit has corresponding user interface, in institute It states and injects the video plug-in unit after the video website page that the browser enters, further include:
The user interface of the video plug-in unit is loaded onto to the video website page of the browser entrance.
4. a kind of method of video playing on browser, including:
When entering the video website page on a web browser, receive browser transmission is directed to the video website page video data Playing request;
Corresponding video data is obtained according to the playing request;
The video data is cracked, and the video data after cracking is fed back into browser;The browser is used to call video The video data of the video website page after being cracked described in plug-in unit broadcasting.
5. method as claimed in claim 4, which is characterized in that be directed to the video website page what reception browser was sent Before the playing request of video data, further include:
Obtain the mobile network address of the video website page;
The mobile network address is converted into computer network address.
6. method as described in claim 4 or 5, which is characterized in that further include:
If the mobile network address is converted to the failure of computer network address, the video data is fed back into the browser; The browser is used to play the video data of the video website page.
7. the device of video playing on a kind of browser, including:
Video plug-in unit acquisition module, suitable on a web browser enter the video website page when, obtain the video website page Corresponding video plug-in unit;
Video plug-in unit injection module, suitable for the video plug-in unit to be injected to the video website page of the browser entrance;
Playing request sending module, the broadcasting that the video website page video data is directed to suitable for being sent to server please It asks;The server is used to obtain the corresponding video data of the playing request, and crack the video data;
Video data receiving module, if the video data suitable for successfully cracking the video website page in server, The video data of the video website page after receive that the server returns crack;
First video data playing module, suitable for called on the browser video plug-in unit play described in crack after The video data of the video website page.
8. the device of video playing on a kind of browser, including:
Playing request receiving module, suitable on a web browser enter the video website page when, receive browser send be directed to The playing request of the video website page video data;
Video data acquisition module, suitable for obtaining corresponding video data according to the playing request;
First video data feedback module suitable for cracking the video data, and the video data after cracking is fed back to clear Look at device;The browser is used to call the video data of the video website page after being cracked described in the broadcasting of video plug-in unit.
9. a kind of terminal device including memory, processor and stores the calculating that can be run on a memory and on a processor Machine program, which is characterized in that the processor realizes any one of claim 1-3 and/or 4-6 sides when performing described program The step of method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor The step of any one of claim 1-3 and/or 4-6 the methods are realized during execution.
CN201711485299.4A 2017-12-29 2017-12-29 The method and apparatus of video playing on a kind of browser Pending CN108156521A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711485299.4A CN108156521A (en) 2017-12-29 2017-12-29 The method and apparatus of video playing on a kind of browser

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711485299.4A CN108156521A (en) 2017-12-29 2017-12-29 The method and apparatus of video playing on a kind of browser

Publications (1)

Publication Number Publication Date
CN108156521A true CN108156521A (en) 2018-06-12

Family

ID=62460109

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711485299.4A Pending CN108156521A (en) 2017-12-29 2017-12-29 The method and apparatus of video playing on a kind of browser

Country Status (1)

Country Link
CN (1) CN108156521A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113613044A (en) * 2021-07-20 2021-11-05 深圳Tcl新技术有限公司 Video playing method and device, storage medium and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120185785A1 (en) * 2011-01-19 2012-07-19 Emc Satcom Technologies, Inc. System and method for zero latency browsing
CN103064709A (en) * 2012-12-25 2013-04-24 北京奇虎科技有限公司 Execution method and system of browser moving object and browser
CN103281457A (en) * 2013-06-03 2013-09-04 贝壳网际(北京)安全技术有限公司 Video playing method and device in mobile terminal browser and browser
CN103327411A (en) * 2013-06-03 2013-09-25 贝壳网际(北京)安全技术有限公司 Video playing method, device and system for mobile terminal browser
CN103338384A (en) * 2013-05-31 2013-10-02 优视科技有限公司 Video play method and video play device
CN103793224A (en) * 2014-01-17 2014-05-14 北京奇虎科技有限公司 Window display method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120185785A1 (en) * 2011-01-19 2012-07-19 Emc Satcom Technologies, Inc. System and method for zero latency browsing
CN103064709A (en) * 2012-12-25 2013-04-24 北京奇虎科技有限公司 Execution method and system of browser moving object and browser
CN103338384A (en) * 2013-05-31 2013-10-02 优视科技有限公司 Video play method and video play device
CN103281457A (en) * 2013-06-03 2013-09-04 贝壳网际(北京)安全技术有限公司 Video playing method and device in mobile terminal browser and browser
CN103327411A (en) * 2013-06-03 2013-09-25 贝壳网际(北京)安全技术有限公司 Video playing method, device and system for mobile terminal browser
CN103793224A (en) * 2014-01-17 2014-05-14 北京奇虎科技有限公司 Window display method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113613044A (en) * 2021-07-20 2021-11-05 深圳Tcl新技术有限公司 Video playing method and device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN104469467B (en) The methods, devices and systems of video playing are carried out in a kind of browser client
CN105701217B (en) Information processing method and server
CN104660620B (en) Two dimensional code processing method, client, electronic equipment, server end and server
CN103207863B (en) Page cross-domain alternation method and terminal
CN104469528B (en) A kind of method, apparatus and browser client for carrying out video data loading
CN105979353A (en) Method and device for controlling video playing of play device
EP2914013A1 (en) Method and terminal for sharing program in interactive network television system
CN107484019A (en) The dissemination method and device of a kind of video file
CN107533716A (en) Interactive Advertising for low bandwidth communication environment renders application
CN103546774A (en) Method and system for realizing seamless access to media file
CN104284250A (en) Video processing method and device, server and client device
CN107832332A (en) The method, apparatus and electronic equipment for recommending word are generated in navigating search frame
CN106549996A (en) Device using method and washing machine based on Quick Response Code
CN103412896A (en) Browser resource showing method and system
CN106302750A (en) A kind of show the method for user interface interaction content, device, server and system
CN105335139A (en) Webpage display method and apparatus
CN105512133B (en) A kind of Web page picture synthetic method, device and picture synthesize webpage
CN102929484B (en) Browser skin loading display method and device
CN106874434A (en) A kind of web data treatment, webpage loading method and relevant apparatus
CN105245959B (en) Interface channel maintenance system and method in a kind of more equipment linkages service
CN111031376A (en) Bullet screen processing method and system based on WeChat applet
CN104536974B (en) The method and browser client of information are searched in a browser
CN103577180A (en) Data processing method and data processing device
CN108156521A (en) The method and apparatus of video playing on a kind of browser
CN104954860A (en) Set-top box, electronic program server, multimedia system and data interaction method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180612

RJ01 Rejection of invention patent application after publication