Invention content
For technological deficiency of the existing technology, the object of the present invention is to provide one kind being based on browser player plays
The control method and control device of video web page, according to an aspect of the invention, there is provided a kind of being based on browser player
The control method for playing video web page, is used to, by playing video in browsing device net page, include the following steps:
A. the video playing address of current page is obtained in browsing device net page;
B. will and the corresponding command entry in the video playing address be revised as broadcasting corresponding with the browser player and refer to
It enables.
Preferably, further include step before the step a:
i:The browser player is mounted in the browser;
ii:Obtain the data information of current page;
iii:Information judges whether the video playing address of current page based on the data, if regarding there are current page
Frequency broadcast address then executes the step a.
Preferably, it in the step iii, if there is no the video playing address of current page, exits described
Current page.
Preferably, in the step ii, the data information of the current page is obtained by user behavior.
Preferably, the step b includes the following steps:
b1:The corresponding source of acquisition command entry corresponding with the video playing address in source code is corresponded to from the current page
Code;
b2:The source code is revised as play instruction corresponding with the browser player, so that described instruction entrance
Play instruction corresponding with the browser player is executed when being activated, wherein described to play so that the browser is opened
It is dynamic.
Preferably, further include following steps after the step b:
c1:Request instruction is sent out to the browser player;
c2:The browser player is opened based on the request instruction;
c3:The broadcasting to video is realized based on the video playing address and the browser player.
Preferably, further include step c4:
Control of clicking based on the browser player changes the result of broadcast for playing video.
Preferably, the result of broadcast includes:
Dimension scale size;
F.F., rewind;
Volume;
It is laterally to play or vertically play to adjust video clip according to the gravity sensing device of the playback equipment;Or
Brightness.
Preferably, further include following steps:
Judge whether the web page browsing interface that current video plays stops playing more than first threshold if being more than, if not surpassing
It crosses, then persistently plays.
According to another aspect of the present invention, a kind of control dress based on browser player plays video web page is provided
It sets, including:
First acquisition device:The video playing address of current page is obtained in browsing device net page;
First processing unit:Command entry corresponding with the video playing address is revised as and the browser player pair
The play instruction answered.
Preferably, further include:
Second processing device:The browser player is mounted in the browser;
Second acquisition device:Obtain the data information of current page;
First judgment means:Information judges whether the video playing address of current page based on the data, if in the presence of working as
The video playing address of the preceding page then executes the step a.
Preferably, further include:
Third acquisition device:From the current page correspond in source code obtain it is corresponding with the video playing address instruct into
The corresponding source code of mouth;
Third processing unit:The source code is revised as play instruction corresponding with the browser player, so that institute
It states and executes play instruction corresponding with the browser player when command entry is activated, wherein is described to play so that described
Browser is activated.
Preferably, further include:
Fourth process device:Request instruction is sent out to the browser player;
5th processing unit:The browser player is opened based on the request instruction;
6th processing unit:The broadcasting to video is realized based on the video playing address and the browser player.
Preferably, further include:
7th processing unit:Control of clicking based on the browser player changes the result of broadcast for playing video.
Preferably, further include:
Second judgment means:Judge whether the web page browsing interface that current video plays stops more than first threshold if being more than
It plays, if not exceeded, then persistently playing.
The present invention provides a kind of control methods and control device based on browser player plays video web page, by that will broadcast
It puts device installation in a browser, and obtains the broadcast address of current page, it is final to realize video web page in browser player
Middle carry out video playing, the present invention is easy to operate, easy to use, provides a kind of based on browser player plays video web page
Control method and control device, have high commercial value.
Specific implementation mode
In order to preferably technical scheme of the present invention be made clearly to show, the present invention is made into one below in conjunction with the accompanying drawings
Walk explanation.
Fig. 1 shows the specific implementation mode of the present invention, a kind of control based on browser player plays video web page
The idiographic flow schematic diagram of method processed specifically includes the following steps:
First, S101 is entered step, the video playing address of current page is obtained in browsing device net page, by beating in the terminal
Browser is opened, and opens the page for playing video in a browser, the video shown with current page is obtained based on current page
The video playing address to match, it will be appreciated by those skilled in the art that user can pass through the browser of any one in mobile terminal
It is operated, and after the success of video playing page jump, current page can connect and the video playing page phase automatically
The video playing address matched.
Finally, S102 is entered step, command entry corresponding with the video playing address is revised as and the browsing
The corresponding play instruction of device player, it will be appreciated by those skilled in the art that in step S101, the current page is got and institute
After stating the broadcast address that the video playing page matches, by changing the play instruction of the video playing address, make described regard
The play instruction entrance of frequency is consistent with the broadcasting entrance of browser player, you can realization plays in browser player
With the video of the video playing addresses match, the browser player is the player built in browser, is being got
After the broadcast address of the video playing, i.e., the video is decoded or is adapted to, it can be in browser built-in player
On play out.
It selects to broadcast video in a preferred embodiment, on the original browser that user passes through terminal built-in
It puts, but due to version aging or lacking video playing plug-in unit etc., causes video that can not be identified, lead to not normal play
Video, then before playing video, it may appear that player plug-in unit installation option, user by click installation, and plug-in unit at
After work(installation, which is played out.
Fig. 2 shows the first embodiment of the present invention, and the browser player is mounted in the browser and is passed through
User behavior duration obtains the data information of current page, and information judges whether regarding for current page based on the data
The idiographic flow schematic diagram of frequency broadcast address specifically includes the following steps:
First, S201 is entered step, the browser player is mounted in the browser, those skilled in the art's reason
Solution, with the universal and at full speed development of internet, currently, it is flooded with various browsers in the market, and in these browsers
Also some plug-in units or program for carrying playing function can be carried, still, due to the difference of the broadcast source of video on each website, with
And the difference of the format of video is played, video playing can be succeeded by being not each player plug-in, and the purpose of the present invention
It is just to provide for a kind of method watched online that can be realized in various websites and play out in a browser,
In such embodiments, by installing player according to the present invention in a browser, and the player is successful
In the browser, it will be able to which realization plays out video in various video websites.
In a preferred embodiment, user successfully opens the page of video playing by browser, in user
When selection plays out the video, it can be shown and be broadcast by forms such as pop-up or page jumps in the browser current page
The Option Box for putting device installation, in the Option Box display user whether the option of provided with player, by clicking Installation Options, institute
Stating player can successfully install into the browser, if user just pacifies the player before video playing
It is filled in the browser, then will not occur that the Option Box of browser is installed again.
Then, S202 is entered step, the data information of current page is obtained, it will be appreciated by those skilled in the art that passing through user
Behavior obtains the data information of the current page, and in the step S201, user passes through provided with player in a browser
Afterwards, duration operation is carried out in the browser, such as selection plays the collection number of video, selects image sharpness or to video
Languages are selected, and finally confirm video to be played.
In a preferred embodiment, user opens the website for playing video by browser, and is selected in website
One TV play to be played, user selects to play out the tenth collection of the TV play, and selects video clear before broadcasting
Clear degree is high definition, and languages are national language.
And then, S203 is entered step, information is with judging whether the video playing of current page based on the data
If location executes the step S204 there are the video playing address of current page, this step is judgment step, this field skill
Art personnel understand, when user's selection plays out video, if the broadcast address of video is correct and can be normally to be played
When video plays out, S204 is thened follow the steps, user passes through browser access video playing address, the browser player
The video playing address is detected, whether correct detects the video playing address, if play command can be executed.
In a preferred embodiment, if information judges whether the video playing of current page based on the data
When address, if in the absence of judging result is, can show a analysis report in the current page, content includes can not
To the concrete reason that video plays out, such as broadcast address mistake or broadcast format mistake, in such embodiments, if playing
Address error then will not correspondingly show broadcasting content, and in other examples, Option Box can also be popped up, and provide
The broadcasting link to match with video to be played is selected by users, if when broadcast format mistake, then it can be according to player
The video is decoded and is converted into playable video format.
Further, information judges whether the video playing address of current page based on the data, if being not present
The video playing address of current page, then exit the current page, and in such embodiments, the browser plays
Device is detected the broadcast address, it is found that the broadcast address is invalid or can not play out the video, then exit
The current page, and in other examples, if not catching broadcast address, system plays device can also be used to described
Broadcast address plays out processing, this does not affect specific embodiments of the present invention, and it will not be described here.
It will be appreciated by those skilled in the art that the step S204 and step S205 in described Fig. 2 can be with the steps in reference chart 1
S101 and step S102, it will not be described here.
Fig. 3 shows the second embodiment of the present invention, and the video playing address pair and institute are based in browser player
The idiographic flow schematic diagram that the video of video playing addresses match plays out is stated, it will be appreciated by those skilled in the art that described Fig. 3
Sub-step for step S102 in described Fig. 1 specifically includes the following steps:
First, S1021 is entered step, it is corresponding with the video playing address to correspond to acquisition in source code from the current page
The corresponding source code of command entry, it will be appreciated by those skilled in the art that the source code refers to the current page and the broadcasting
The program code of the most original of address preparation, and any one Website page or link be all made of being write by source code, when
User obtains the source code in current page by when video playing address, being needed first described in browser access, and based on current
The source code of the page is obtained with the video playing address simultaneously to the play instruction entrance of corresponding source code, and in others
It in embodiment, can not only be obtained in the present invention by page code, moreover it is possible to broadcast address be obtained by interface, herein not
It gives and repeating.
Then, S1022 is entered step, the source code, which is revised as broadcasting corresponding with the browser player, to be referred to
It enables, so that executing play instruction corresponding with the browser player when described instruction entrance is activated, wherein described to broadcast
It puts so that the browser is activated, user plays out the video by the broadcasting page selection in browser, described
Browser player by getting the broadcasting source code of video to be played, and by the source code of the video to be played carry out with
The browser player plays command entry is to matched source code, if the source code can not be in the browser player
On be performed play command, then by changing or decode the source code of the video to be played in the broadcast address, make described wait for
Play command can be executed in the browser player by playing video.
Fig. 4 shows the third embodiment of the present invention, sends out request instruction to the browser player, and ask based on described
It asks instruction to open the browser player, finally realizes the idiographic flow schematic diagram of the broadcasting to video, specifically, including such as
Lower step:
First, S301 is entered step, sends out request instruction to the browser player, user passes through the broadcast page in browser
Face selection plays out the video, and the player is after the broadcast address for getting video to be played, the player
It automatically turns in a browser, and shows the interface of video to be played, people in the art in the broadcast interface of player
Member understands that in such embodiments, user then can be considered and be broadcast to the browser by the play button of selection video to be played
It puts device and sends out request instruction.
And then, S302 is entered step, the browser player is opened based on the request instruction, in step S301
In, user by operating accordingly, and after sending out request instruction to the browser player, the player is based on the request
Instruction is successfully opened in the browser, it will be appreciated by those skilled in the art that the browser player refers to receiving request
It successfully opens after order, the broadcast address is attached while successfully opening, and formed and played in the player
List, the playlist can preferably be the collection number of video to be played or other videos associated with video to be played.
In a preferred embodiment, the player can be opened in the page of the browser, can also suspend
The freeform unlatching of window is in the display interface of terminal.
Followed by entering step S303, realized based on the video playing address and the browser player to regarding
The broadcasting of frequency, it is described clear after confirmation user sends out and successfully opens the browser player to the request command of video playing
Device player of looking at is connect with the video playing address creation, is connect with the video playing address in the browser player
After success, then the video can be played out.
In one preferably change case, the browser player is while playing out video, user Ke Tong
Selection download path is crossed, while broadcasting in real time to the video, realization is downloaded the video, and according to user's need
It asks, Video Quality Metric can be stored at multiple format, in such embodiments, if user wishes video being downloaded to mobile phone
Middle broadcasting, the mobile phone of user can only support the broadcast format of MP4, then user can be according to the selection of download formats, by the video
Download formats are converted to MP4.
Then, S304 is entered step, the control of clicking based on the browser player changes the broadcasting effect for playing video
Fruit, it will be appreciated by those skilled in the art that the result of broadcast includes:Dimension scale size, user can be to playing according to actual demand
The broadcasting size of device is adjusted, and can also set the player to the form of floating window, broadcast interface is voluntarily adjusted by user
Size may also be configured to full range broadcasting.
Further, the result of broadcast further includes F.F., rewind, and in video playing, user can be by F.F. or fast
It moves back and video is operated, user is slid left and right on the screen by finger, it is preferable that it slides to the left, indicates rewind,
It slides to the right, indicates F.F., preferably further include that speed plays adjustment, user Ke Tong is selected in function module to video
Multiple is played to be adjusted.
Further, the result of broadcast further includes volume, and user can carry out sliding pair by finger on view screen
Play video volume be adjusted, it will be appreciated by those skilled in the art that user in the broadcasting page by finger by up to
Lower slider then reduces sound size, conversely, by finger supreme sliding in bottom right in the broadcasting page, then it is sound is big
Small increase, it is preferable that the player can also be by identifying that the output source of volume carries out intelligence to the volume for playing video
Adjustment, if recognize user volume output source be sound equipment or speaker, can be by volume adjustment to maximum, if recognizing use
When the volume output source at family is earphone, then when user increases volume, volume can be arranged to the best volume in protection ear-drum.
Further, the result of broadcast further includes brightness, any that user can be by finger in the broadcasting page
Side, which slides up and down, is adjusted brightness, it is preferable that the player can carry out certainly according to playing environment to playing brightness
The adjustment of adaptation, in case the eyes to user generate injury.
Further, the result of broadcast further includes adjusting video clip according to the gravity sensing device of the playback equipment
Laterally to play or vertically playing, it will be appreciated by those skilled in the art that video is played out by browser player, meanwhile,
The pattern that gravity sensing device in the mobile terminal or tablet computer is watched based on user, and realize and laterally or vertically broadcast
It puts.
Finally, S305 is entered step, judges whether the web page browsing interface that current video plays is more than first threshold, if super
It crosses, then stops playing, if not exceeded, then persistently playing, this step is judgment step, it will be appreciated by those skilled in the art that described regard
Frequency is in the browser player when playing out, if the picture of video to be played be more than the browser player most
When the interface of big broadcasting pictures, then the video is stopped playing, and carry out format conversion by transcoding or to the video, and is final
It is converted to and is adapted with the broadcast interface of the browser player, then the video is played out, if video to be played is super
It crosses the maximum of the browser player and plays size, then the video is played out.
It will be appreciated by those skilled in the art that can include multiple video playings in the web page browsing interface that current video plays
Source can be loaded into list simultaneously, and the video in the browser interface of current web page will play simultaneously at this time.
Fig. 5 shows another embodiment of the present invention, a kind of control based on browser player plays video web page
The module connection diagram of device processed is broadcast it will be appreciated by those skilled in the art that the present invention provides one kind based on browser player
The control device of video web page is put, including:First acquisition device:The video playing of current page is obtained in browsing device net page
The page for playing video by opening browser in the terminal, and is opened in location in a browser, is obtained and is worked as based on current page
The video playing address that the video that the preceding page is shown matches, user can be grasped by any one browser of mobile terminal
Make, and after the success of video playing page jump, current page can connect automatically to be regarded with what the video playing page matched
Frequency broadcast address, first acquisition device are connect with first processing unit, and be separately connected the second processing device,
Second acquisition device and first judgment means.
Further, further include the first processing unit:Command entry corresponding with the video playing address is revised as
Play instruction corresponding with the browser player makes described regard by changing the play instruction of the video playing address
The play instruction entrance of frequency is consistent with the broadcasting entrance of browser player, you can realization plays in browser player
With the video of the video playing addresses match, the browser player is the player built in browser, is being got
After the broadcast address of the video playing, i.e., the video is decoded or is adapted to, it can be in browser built-in player
On play out, first processing unit is connect with first acquisition device and the fourth process device, and respectively with
The third acquisition device and the connection of third processing unit.
Further, further include second processing device:The browser player is mounted in the browser, is passed through
Player according to the present invention is installed in a browser, and the player is successfully mounted in the browser, just
It can realize and video is played out in various video websites, the second processing device is obtained with described first and is connected, and
It is connect respectively with second acquisition device and first judgment means.
Further, further include the second acquisition device:The data information for obtaining current page, by installing in a browser
After player, duration operation is carried out in the browser, such as selection plays the collection number of video, selects image sharpness or right
The languages of video are selected, and finally confirm video to be played, and second acquisition device is obtained with described first and connected, and
It is connect respectively with the second processing device and first judgment means.
Further, further include the first judgment means:Information judges whether regarding for current page based on the data
If frequency broadcast address executes the step a, is broadcast by browser access video there are the video playing address of current page
Address is put, the browser player is detected the video playing address, whether just to detect the video playing address
Really, if can execute play command, first judgment means are obtained with described first and are connected, and respectively with described second at
Manage device and second acquisition device connection.
Further, further include third acquisition device:It corresponds in source code and obtains and the video from the current page
The corresponding source code of the corresponding command entry of broadcast address, the source code refer to that the current page and the broadcast address are compiled
The program code for the most original write, and any one Website page or link are all made of being write by source code, when user is logical
When crossing video playing address described in browser access, need to obtain the source code in current page first, and based on current page
Source code is obtained with the video playing address to the play instruction entrance of corresponding source code, the third acquisition device simultaneously
It is connect with first processing unit and the third processing unit.
Further, further include third processing unit:The source code is revised as corresponding with the browser player
Play instruction so that execute corresponding with the browser player play instruction when described instruction entrance is activated,
In, described play makes the browser be activated, and is played out to the video by the broadcasting page selection in browser,
The browser player by getting the broadcasting source code of video to be played, and by the source code of the video to be played into
Row and the browser player plays command entry are to matched source code, if the source code can not be broadcast in the browser
It puts and is performed play command on device, then by changing or decoding the source code of the video to be played in the broadcast address, make institute
Play command can be executed in the browser player by stating video to be played, at the third processing unit and described first
Manage device and third acquisition device connection.
Further, further include fourth process device:Request instruction is sent out to the browser player, player is stated and exists
After the broadcast address for getting video to be played, the player automatically turns in a browser, and in broadcasting circle of player
Show that the interface of video to be played, the fourth process device are filled with first processing unit and the 5th processing in face
Set connection.
Further, further include the 5th processing unit:The browser player is opened based on the request instruction, it is described
Browser player is successfully opened after receiving request instruction, is connected to the broadcast address while successfully opening
Connect, and form playlist in the player, the playlist can preferably be video to be played collection number or with
The associated other videos of video to be played, the 5th processing unit are filled with the fourth process device and the 6th processing
Set connection.
Further, further include the 6th processing unit:Based on the video playing address and the browser player
It realizes the broadcasting to video, the browser player is successfully opened to the request command of video playing confirming that user sends out
Afterwards, the browser player is connect with the video playing address creation, is broadcast with the video in the browser player
After putting address successful connection, then the video can be played out, the 6th processing unit and the 5th processing unit and institute
State the connection of the 7th processing unit.
Further, further include the 7th processing unit:Click control based on the browser player, which changes to play, to be regarded
The result of broadcast of frequency, the result of broadcast include:Dimension scale size, F.F., rewind, volume, according to the playback equipment
Gravity sensing device adjust video clip be laterally play or it is vertical play or brightness, the 7th processing unit and described the
Six processing units and second judgment means connection.
Further, further include the second judgment means:Judge web page browsing interface that current video plays whether more than the
One threshold value stops playing if being more than, if not exceeded, then persistently playing, the video carries out in the browser player
When broadcasting, if the picture of video to be played has been more than the interface of the maximum broadcasting pictures of the browser player, to this
Video stops playing, and carries out format conversion by transcoding or to the video, and is ultimately converted to and the browser player
Broadcast interface be adapted, then the video is played out, if video to be played is the maximum more than the browser player
Size is played, then the video is played out, second judgment means are connect with the 7th processing unit.
Specific embodiments of the present invention are described above.It is to be appreciated that the invention is not limited in above-mentioned specific
Embodiment, those skilled in the art can make various deformations or amendments within the scope of the claims, this has no effect on this
The substantive content of invention.