CN106162362A - A kind of video broadcasting method and player - Google Patents
A kind of video broadcasting method and player Download PDFInfo
- Publication number
- CN106162362A CN106162362A CN201510188744.5A CN201510188744A CN106162362A CN 106162362 A CN106162362 A CN 106162362A CN 201510188744 A CN201510188744 A CN 201510188744A CN 106162362 A CN106162362 A CN 106162362A
- Authority
- CN
- China
- Prior art keywords
- video
- webpage
- player
- event
- primary
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-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/4722—End-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 additional data associated with the content
- H04N21/4725—End-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 additional data associated with the content using interactive regions of the image, e.g. hot spots
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/485—End-user interface for client configuration
- H04N21/4858—End-user interface for client configuration for modifying screen layout parameters, e.g. fonts, size of the windows
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Databases & Information Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention discloses a kind of video broadcasting method, included: detecting whether video tab, video tab is for characterizing whether there is video playback event to be played;When having video tab, the full screen video play mode of webpage is used to process video playback event to be played;When current video broadcast event meets trigger condition, obtain the video information of current video broadcast event;According to video information, detect the video type of the current video corresponding with video information, and be the current video of positive to this video type, use full screen video play mode to play.The embodiment of the present invention further simultaneously discloses a kind of player.
Description
Technical field
The present invention relates to the media play technology in communication technical field, particularly relate to a kind of video broadcasting method
And player.
Background technology
Along with developing rapidly of wireless communication technology and Internet technology, increasing user is at mobile terminal
Upper use browser is surfed the Net.Due to mobility and the convenience of mobile terminal, user is caused to use shifting
The browser viewing video of dynamic terminal becomes a kind of trend.Such as, hypertext markup in browser uses webpage
Language (HTML, HyperText Markup Language) video play mode, carries out video playback.
But, the video that in use webpage, HTML video play mode is play can only be play by the wicket in webpage,
And before the positive video of each video website offer, can first provide one section of advertisement video, affect the experience of user.
In prior art, the player in browser is by analyzing the webpage source code of each video website, and specifically
Video playback flow process, simulate this video playback flow process, get to be play wide of the webpage of this video website
Accuse sheet URL (URL, Uniform Resource Locator) address and positive URL address,
Thus on its player, play positive according to positive URL address, reach to filter the purpose of advertisement.
But, the scheme of prior art, need the webpage source code of each video website is analyzed, work
Complexity is high, and the webpage source code of video website often updates, and causes the renewal of positive URL address, can lead
Cause player plays is abnormal, and the program does not the most solve the shortcoming that window video is play.
Summary of the invention
For solving above-mentioned technical problem, embodiment of the present invention expectation provides a kind of video broadcasting method and player,
Can played in full screen video web page, it is ensured that play the stability of video, promote the experience sense of player.
The technical scheme is that and be achieved in that:
The embodiment of the present invention provides a kind of video broadcasting method, and described method includes:
Having detected whether video tab, described video tab is for characterizing whether there is video playback thing to be played
Part;
When having described video tab, the full screen video play mode of webpage is used to process described video to be played
Broadcast event;
When current video broadcast event meets trigger condition, obtain the video letter of described current video broadcast event
Breath;
According to described video information, detect the video type of the current video corresponding with described video information, and
It is the described current video of positive to described video type, uses described full screen video play mode to play.
In such scheme, described according to described video information, detect and corresponding with described video information work as forward sight
After the video type of frequency, described method also includes:
It is the described current video of advertising film to described video type, starts the window video playback of primary webpage
Pattern;
In the window video play mode of described primary webpage, it is switched fast described current video to terminating.
In such scheme, described in when having described video tab, use the full screen video play mode of webpage to process
The method of described video playback event to be played, including:
Stop the window video play mode of primary webpage;
That registers the window video play mode to described primary webpage intercepts event;
Arrange and use the full screen video play mode of described webpage to process described video playback event to be played.
In such scheme, described in intercept event and include broadcast event;
Current video broadcast event is that first video of the full screen video play mode switching to described webpage is broadcast
When putting event, described trigger condition is: start the full screen video play mode of described webpage;Or,
Current video broadcast event is not first video of the full screen video play mode switching to described webpage
During broadcast event, described trigger condition is: listen to the institute of the window video play mode of described primary webpage
State broadcast event.
In such scheme, described in detected whether video tab after, described method also includes:
During without described video tab, then it is not responding to.
The embodiment of the present invention provides a kind of player, and described player includes: resource sniff controller, webpage
Primary video player in external video player and webpage, described resource sniff controller respectively with described net
In page external video player and described webpage, primary video player connects;Wherein,
Described resource sniff controller, for detecting whether there is video tab, described video tab is used for characterizing
Whether there is video playback event to be played;When having described video tab, primary video in described webpage is broadcast
Put device and switch to described webpage external video player, process described video playback event to be played;Currently
When video playback event meets trigger condition, obtain the video information of described current video broadcast event;According to
Described video information, detects the video type of the current video corresponding with described video information, and reports described
Video type is that the described video information of the described current video of positive is to described webpage external video player;
Described webpage external video player, for according to described video information, uses described full screen video to broadcast
Mode playback plays the described current video that described video type is positive.
In such scheme, described resource sniff controller, it is additionally operable to according to the detection of described video information and institute
After stating the video type of current video corresponding to video information, it is described in advertising film to described video type
Current video, primary video player in starting described webpage;
Primary video player in described webpage, is used for being switched fast described current video to terminating.
In such scheme, described resource sniff controller, primary video playback in being additionally operable to stop described webpage
Device;Video player primary in described webpage is intercepted event by registration;Arrange and regard outside the described webpage of employing
Frequently player processes described video playback event to be played.
In such scheme, described in intercept event and include broadcast event;
Current video broadcast event is that described resource sniff controller switches to described webpage external video player
First video playback event time, described trigger condition is: start described webpage external video player;
Or,
Current video broadcast event does not switches to described webpage external video for described resource sniff controller and plays
During first video playback event of device, described trigger condition is: described resource sniff controller listens to institute
The described broadcast event of primary video player in stating webpage.
In such scheme, described resource sniff controller, be additionally operable to described in detected whether video tab after,
During without described video tab, it is not responding to.
In such scheme, described player also includes: characteristic of advertisement storehouse, described characteristic of advertisement storehouse and described money
Source sniff controller connects;
Described characteristic of advertisement storehouse, for storing the characteristic information of described advertising film;
Described resource sniff controller, also particularly useful for according to described video information and the feature of described advertising film
Information, detects the video type of described current video.
Embodiments provide a kind of video broadcasting method and player, detected whether by player
Video tab, this video tab is for characterizing whether there is video playback event to be played;When having video tab,
Player uses the full screen video play mode of webpage to process video playback event to be played;Current video is broadcast
When the event of putting meets trigger condition, obtain the video information of this current video broadcast event;And player root
According to video information, detect the video type of the current video corresponding with this video information, and to video type be
The current video of positive, uses full screen video play mode to play.Use the scheme of the embodiment of the present invention, broadcast
Put device and reset playing flow, use full screen video play mode to play webpage positive, current video is existed
Played in full screen out, and primary video player in webpage will not be destroyed, thus ensure video playback in webpage
Stability, and promote the experience sense of player.
Accompanying drawing explanation
The flow chart one of a kind of video broadcasting method that Fig. 1 provides for the embodiment of the present invention;
The flowchart 2 of a kind of video broadcasting method that Fig. 2 provides for the embodiment of the present invention;
The flow chart 3 of a kind of video broadcasting method that Fig. 3 provides for the embodiment of the present invention;
The flow chart four of a kind of video broadcasting method that Fig. 4 provides for the embodiment of the present invention;
The structural representation one of a kind of player that Fig. 5 provides for the embodiment of the present invention;
The structural representation two of a kind of player that Fig. 6 provides for the embodiment of the present invention;
The structural representation three of a kind of player that Fig. 7 provides for the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearly
Chu, it is fully described by.
Embodiment one
Embodiments of the invention provide a kind of video broadcasting method, as it is shown in figure 1, the method may include that
S101, player have detected whether video tab, and whether this video tab has to be played for sign
Video playback event.
It should be noted that the video broadcasting method that the embodiment of the present invention provides is applied on mobile terminals,
Use under the scene of browser viewing video web page.Those skilled in the art, it will be understood that in a browser,
Primary video player in being provided with webpage, such as HTML 5.When user uses browser viewing video,
HTML 5 can be directly entered window video play mode or the flow process of primary webpage, plays video.Concrete,
In DOM Document Object Model (DOM, Document Object Model) tree construction in webpage, include
During the video tab of HTML 5, HTML 5 prepares to play current video.
In the embodiment of the present invention, user opens video web-pages, and player first detects the dom tree knot in webpage
In structure, if comprise video tab, this video tab is html tag, and this video tab is used for characterizing
Whether there is video playback event to be played, whether webpage i.e. there is a need to the video play.
Optionally, this video tab can be<vedio>.
S102, when having video tab, player uses the full screen video play mode of webpage to process to be played
Video playback event.
Concrete, when player detects the video that there is a need to play in webpage, this player is play mould
Formula, by the window video play mode of primary webpage, switches to the full screen video play mode of webpage, and entirely
HTML primary in the playing flow of video playback, i.e. player has webpage is carried out under screen video play mode
The playing flow of 5 becomes the playing flow of webpage external video player, and wherein, webpage external video is play
Device is full frame or transverse screen video play mode.
Concrete, as in figure 2 it is shown, the full screen video play mode that player uses webpage processes to be played
The method of video playback event includes: S201-S203.
S201, player stop the window video play mode of primary webpage.
Player, by the video tab in webpage, stops primary video in the webpage corresponding with this video tab
Video playback event to be played in player (HTML 5), i.e. cancels the video playback in former webpage.
Concrete, video player primary in webpage is set to quiet by player.
The window video play mode of primary webpage is intercepted event by the registration of S202, player.
After player stops the window video play mode of primary webpage, this player is registered primary webpage
Window video play mode intercept event, i.e. arrange can to video player primary in webpage for this player
To carry out listening functions.
Optionally, event of intercepting can be the broadcast event of primary video player in webpage, startup event or
Stopping event.
During it should be noted that user watches video web page in a browser, only in webpage, primary video is broadcast
Put device and can access the content of video web page broadcasting script, obtain the video information of video playback event to be played,
Therefore, in the video broadcasting method that the embodiment of the present invention provides, can play by using webpage external video
Device carries out full screen video broadcasting, however it is necessary that by video player primary in intercepting webpage, i.e. intercepts event
Carry out corresponding playing flow.Therefore, in the present invention, player need to register the window to primary webpage
Video play mode intercept event.
S203, player arrange and use the full screen video play mode of webpage to process video playback thing to be played
Part.
Concrete, player registration to the window video play mode of primary webpage intercept event after, broadcast
Put device to arrange and use the full screen video play mode of webpage to process video playback event to be played.
It should be noted that player play mode of primary video player in stopping webpage, and play
Device have intercept webpage in primary video player function after, this player is just at webpage external video player
The video playback event that middle process is to be played, i.e. in the present invention, player is by video player primary in webpage
It is placed on running background, it is provided that video web page plays the content of script, utilizes webpage external video player conduct
User's visible player plays video.
Further, player is the player flow process of primary player in also preserving webpage, for enforcement below
The window video play mode starting primary webpage in example is prepared.
It is understood that in the embodiment of the present invention, before user watches video web page in a browser, broadcast
Put device and first to carry out above-mentioned initialization, the playing flow that new playing flow replacement webpage is primary is set.
When S103, current video broadcast event meet trigger condition, player obtains this current video and plays thing
The video information of part.
Player switches to after the full screen video play mode of webpage processes video playback event to be played,
When current video broadcast event meets trigger condition, player obtains the video letter of this current video broadcast event
Breath.
It should be noted that after player has carried out the initialization of playing flow, it is possible to process current video
Broadcasting.
Optionally, current video broadcast event is that first of the full screen video play mode switching to webpage regards
Frequently during broadcast event, trigger condition is: start the full screen video play mode of webpage.That is, player is initial
After changing playing flow, after user clicks on video play button, owing to playing flow is handed over, therefore start net
Page external video player (starts the full screen video play mode of webpage), and current video is just in webpage
The video of initial position in DOM number, then, player obtains the video information of this current video broadcast event.
Optionally, video information may include that the URL address of current video, playing duration etc..
S104, player, according to video information, detect the video class of the current video corresponding with this video information
Type.
Player obtain current video broadcast event video information after, this player according to video information,
Detecting the video type of the current video corresponding with this video information, the video type of current video includes positive
And advertising film.
It should be noted that in existing video website, one section or several sections all can be play before playing positive
Advertisement, after player gets the video information of current video, first judges the video type of this current video,
Decide whether again to play this current video.
Concrete, player has characteristic of advertisement storehouse, this characteristic of advertisement storehouse includes the advertisement of each video website
The characteristic information of sheet, it is advertising film that player can detect this current video by characteristic of advertisement storehouse.By
This analogizes, player detection be not the current video of advertising film be positive.
Optionally, the characteristic information in characteristic of advertisement storehouse can be certain keyword in URL address or one broadcast
Putting the threshold value of duration, the characteristic information of each concrete video website is the most identical, can be according to actual feelings
Depending on condition, the present invention does not limits.
S105, player are this current video of positive to video type, use full screen video play mode to broadcast
Put.
Player is according to video information, after detecting the video type of the current video corresponding with this video information,
If detecting, current video is positive, and this player then plays this current video in full screen video play mode.
It is understood that owing to, in the embodiment of the present invention, player is in webpage external video player
Play full screen video play mode and play current video, improve user's experience sense to player.
Concrete, player, according to the URL address of current video, works as forward sight to video website server request
The video data of frequency, it is thus achieved that after the video data that video website server is replied, player is by this video data
Full screen video play mode is used to play in webpage external video player.
Further, as it is shown on figure 3, in the video broadcasting method of embodiment of the present invention offer, after S104
Also include S106, after S102, also include S107.
S106, player are the current video of advertising film to video type, start the window video of primary webpage
Play mode processes current video broadcast event.
Player is according to video information, after detecting the video type of the current video corresponding with this video information,
If detecting, current video is advertising film, and this player then starts at the window video play mode of primary webpage
Manage this current video broadcast event.
As shown in Figure 4, the video broadcasting method that the embodiment of the present invention provides specifically includes S301-S302.
S301, player are the current video of advertising film to video type, start the window video of primary webpage
Play mode.
S302, player, in the window video play mode of primary webpage, are switched fast this current video to knot
Bundle.
It should be noted that in the embodiment of the present invention, in webpage, primary video player is that user is sightless
Backstage player.
Optionally, current video broadcast event is not first of full screen video play mode switching to webpage
During video playback event, trigger condition is: listen to the broadcasting thing of the window video play mode of primary webpage
Part.
It should be noted that after S106 Yu S105 is S104, two steps arranged side by side, the present invention implements
Example can perform S104-S105, it is also possible to performing S104-S106, concrete execution step, the present invention does not makees
Limit.
Further, after in webpage, primary video player plays advertising film, continue to access video web page
Playing the content of script, obtain new video playback event, this new video playback event is as new current
Video playback event, player listens to webpage primary video player when having new current video broadcast event,
Stop at the broadcast event of the primary video player of this webpage, return and perform S103.
It is understood that owing to video player primary in webpage is user sightless backstage player,
When the current video during player detects current video broadcast event is advertisement, player starts in webpage
Primary video player, and primary video player quickly plays current video in this webpage, so,
User is invisible and in relatively short period of time, advertising film is finished by player on backstage so that user need not watch
This advertising film, thus filtered this advertising film, and player returns and performs S103, again to next video
Carry out detecting and make corresponding process.Therefore, the method playing video that the embodiment of the present invention provides, also
Advertising film can be filtered on the basis of ensureing the stability that screen is play.
S107, without video tab time, player is then not responding to.
After player has detected whether video tab, if without video tab, characterize this webpage interior without to broadcast
The video put, player is then not responding to.
It will be understood by those skilled in the art that when there is no video tab in DOM tree structure, characterize and deserve
Without video to be played in front webpage, therefore, this situation is not done and is located by the player in the embodiment of the present invention
Reason.
It should be noted that after S102 Yu S107 is S101, two steps arranged side by side, the present invention implements
Example can perform S101-S102, it is also possible to performing S101-S107, concrete execution step, the present invention does not makees
Limit.
Embodiments provide a kind of video broadcasting method, detect whether video tab by player,
This video tab is for characterizing whether there is video playback event to be played;When having video tab, player is adopted
Video playback event to be played is processed by the full screen video play mode of webpage;Current video broadcast event is full
During foot trigger condition, obtain the video information of this current video broadcast event;And player is according to video letter
Breath, detects the video type of the current video corresponding with this video information, and is that positive is worked as to video type
Front video, uses full screen video play mode to play.Using the scheme of the embodiment of the present invention, player is again
Playing flow is set, uses full screen video play mode to play webpage positive, by current video in played in full screen
Out, and primary video player in webpage will not be destroyed, thus ensure the stability of video playback in webpage,
And promote the experience sense of player.
Embodiment two
Embodiments of the invention provide a kind of player 1, as it is shown in figure 5, this player 1 may include that
Primary video player 12 in resource sniff controller 10, webpage external video player 11 and webpage, should
Resource sniff controller 10 respectively with primary video player 12 in webpage external video player 11 and webpage
Connect.Wherein,
Described resource sniff controller 10, for detecting whether there is video tab, described video tab is used for table
Levy and whether have video playback event to be played;When having described video tab, then regard primary in described webpage
Frequently player 12 switches to described webpage external video player 11, processes described video playback to be played
Event;When current video broadcast event meets trigger condition, obtain the video of described current video broadcast event
Information;According to described video information, detect the video type of the current video corresponding with described video information,
And the described video information of the described current video reporting described video type to be positive regards to described webpage
Frequently player 11.
Described webpage external video player 11, for according to described video information, uses described full screen video
Play mode plays the described current video that described video type is positive.
It should be noted that the video type of current video may include that positive and advertising film.
Optionally, described resource sniff controller 10, it is additionally operable to detecting with described according to described video information
After the video type of the current video that video information is corresponding, it is to work as described in advertising film described video type
Front video, primary video player 12 in starting described webpage;And,
Primary video player 12 in described webpage, is used for being switched fast described current video to terminating.
It should be noted that the video broadcasting method that the embodiment of the present invention provides is applied on mobile terminals,
Use under the scene of browser viewing video web page.
Optionally, described resource sniff controller 10, primary video player in being additionally operable to stop described webpage
12;Video player 12 primary in described webpage is intercepted event by registration;Arrange outside the described webpage of employing
Video player 11 processes described video playback event to be played.
Optionally, event of intercepting described in includes broadcast event.
Current video broadcast event is that described resource sniff controller 10 switches to described webpage external video and broadcasts
When putting first video playback event of device 11, described trigger condition is: starts described webpage external video and broadcasts
Put device 11;Or, current video broadcast event does not switches to described net for described resource sniff controller 10
Page external video player 11 first video playback event time, described trigger condition is: described resource is smelt
Visit the described broadcast event of primary video player 12 in controller 10 listens to described webpage.
Optionally, described resource sniff controller 10, be additionally operable to described in detected whether video tab after,
During without described video tab, it is not responding to.
Optionally, as shown in Figure 6, described player 1 also includes: characteristic of advertisement storehouse 13, and described advertisement is special
Levy storehouse 13 to be connected with described resource sniff controller 10.
Described characteristic of advertisement storehouse 13, for storing the characteristic information of described advertising film.
Described resource sniff controller 10, also particularly useful for according to described video information and the spy of described advertising film
Reference ceases, and detects the video type of described current video.
It should be noted that as it is shown in fig. 7, primary video player 12 and the net in webpage in described webpage
Page video playback script 2 connects, and may have access to described video web page and plays script 2;Described resource sniff controls
Device 10 is connected with the DOM tree structure 3 in webpage, can detect the video tab in DOM tree structure 3.
Optionally, in webpage, primary video player can be HTML 5.
The player 1 provided in the embodiment of the present invention can be arranged on mobile terminals, and this mobile terminal is permissible
For smart mobile phone, intelligent computer or panel computer etc..
Embodiments providing a kind of player, detected whether video tab by player, this regards
Frequency marking label are for characterizing whether there is video playback event to be played;When having video tab, player uses net
The full screen video play mode of page processes video playback event to be played;Current video broadcast event meets tactile
During clockwork spring part, obtain the video information of this current video broadcast event;And player is according to video information,
Detect the video type of the current video corresponding with this video information, and to video type be positive work as forward sight
Frequently, full screen video play mode is used to play.Using the scheme of the embodiment of the present invention, player resets
Playing flow, use full screen video play mode broadcasting webpage positive, by current video in played in full screen out,
And primary video player in webpage will not be destroyed, thus ensure the stability of video playback in webpage, and carry
Rise the experience sense of player.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or meter
Calculation machine program product.Therefore, the present invention can use hardware embodiment, software implementation or combine software and
The form of the embodiment of hardware aspect.And, the present invention can use and wherein include calculating one or more
The computer-usable storage medium of machine usable program code (includes but not limited to disk memory and optical storage
Device etc.) form of the upper computer program implemented.
The present invention is with reference to method, equipment (system) and computer program according to embodiments of the present invention
Flow chart and/or block diagram describe.It should be understood that can be by computer program instructions flowchart and/or side
Flow process in each flow process in block diagram and/or square frame and flow chart and/or block diagram and/or the knot of square frame
Close.Can provide these computer program instructions to general purpose computer, special-purpose computer, Embedded Processor or
The processor of other programmable data processing device is to produce a machine so that by computer or other can
The instruction that the processor of programming data processing equipment performs produces for realizing in one flow process or multiple of flow chart
The device of the function specified in flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and can guide computer or other programmable data processing device
In the computer-readable memory worked in a specific way so that be stored in this computer-readable memory
Instruction produces the manufacture including command device, and this command device realizes at one flow process of flow chart or multiple stream
The function specified in journey and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, makes
Sequence of operations step must be performed to produce computer implemented place on computer or other programmable devices
Reason, thus the instruction performed on computer or other programmable devices provides for realizing flow chart one
The step of the function specified in flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
The above, only presently preferred embodiments of the present invention, it is not intended to limit the protection model of the present invention
Enclose.
Claims (11)
1. a video broadcasting method, it is characterised in that described method includes:
Having detected whether video tab, described video tab is for characterizing whether there is video playback thing to be played
Part;
When having described video tab, the full screen video play mode of webpage is used to process described video to be played
Broadcast event;
When current video broadcast event meets trigger condition, obtain the video letter of described current video broadcast event
Breath;
According to described video information, detect the video type of the current video corresponding with described video information, and
It is the described current video of positive to described video type, uses described full screen video play mode to play.
Video broadcasting method the most according to claim 1, it is characterised in that described according to described video
Information, after detecting the video type of the current video corresponding with described video information, described method also includes:
It is the described current video of advertising film to described video type, starts the window video playback of primary webpage
Pattern;
In the window video play mode of described primary webpage, it is switched fast described current video to terminating.
Video broadcasting method the most according to claim 1 and 2, it is characterised in that described in have described in regard
During frequency marking label, the full screen video play mode of webpage is used to process the side of described video playback event to be played
Method, including:
Stop the window video play mode of primary webpage;
That registers the window video play mode to described primary webpage intercepts event;
Arrange and use the full screen video play mode of described webpage to process described video playback event to be played.
Video broadcasting method the most according to claim 3, it is characterised in that described in intercept event and include
Broadcast event;
Current video broadcast event is that first video of the full screen video play mode switching to described webpage is broadcast
When putting event, described trigger condition is: start the full screen video play mode of described webpage;Or,
Current video broadcast event is not first video of the full screen video play mode switching to described webpage
During broadcast event, described trigger condition is: listen to the institute of the window video play mode of described primary webpage
State broadcast event.
Video broadcasting method the most according to claim 4, it is characterised in that described in detected whether to regard
After frequency marking label, described method also includes:
During without described video tab, then it is not responding to.
6. a player, it is characterised in that described player includes: outside resource sniff controller, webpage
Primary video player in portion's video player and webpage, described resource sniff controller respectively with described webpage
In external video player and described webpage, primary video player connects;Wherein,
Described resource sniff controller, for detecting whether there is video tab, described video tab is used for characterizing
Whether there is video playback event to be played;When having described video tab, primary video in described webpage is broadcast
Put device and switch to described webpage external video player, process described video playback event to be played;Currently
When video playback event meets trigger condition, obtain the video information of described current video broadcast event;According to
Described video information, detects the video type of the current video corresponding with described video information, and reports described
Video type is that the described video information of the described current video of positive is to described webpage external video player;
Described webpage external video player, for according to described video information, uses described full screen video to broadcast
Mode playback plays the described current video that described video type is positive.
Player the most according to claim 6, it is characterised in that
Described resource sniff controller, is additionally operable to according to the detection of described video information and described video information pair
After the video type of the current video answered, it is the described current video of advertising film to described video type, opens
Primary video player in dynamic described webpage;
Primary video player in described webpage, is used for being switched fast described current video to terminating.
8. according to the player described in claim 6 or 7, it is characterised in that
Described resource sniff controller, primary video player in being additionally operable to stop described webpage;Register institute
In stating webpage, primary video player intercepts event;Arrange the described webpage external video player of employing to process
Described video playback event to be played.
Player the most according to claim 8, it is characterised in that described in intercept event include play thing
Part;
Current video broadcast event is that described resource sniff controller switches to described webpage external video player
First video playback event time, described trigger condition is: start described webpage external video player;
Or,
Current video broadcast event does not switches to described webpage external video for described resource sniff controller and plays
During first video playback event of device, described trigger condition is: described resource sniff controller listens to institute
The described broadcast event of primary video player in stating webpage.
Player the most according to claim 9, it is characterised in that
Described resource sniff controller, be additionally operable to described in detected whether video tab after, without described video
During label, it is not responding to.
11. players according to claim 7, it is characterised in that described player also includes: wide
Accusing feature database, described characteristic of advertisement storehouse is connected with described resource sniff controller;
Described characteristic of advertisement storehouse, for storing the characteristic information of described advertising film;
Described resource sniff controller, also particularly useful for according to described video information and the feature of described advertising film
Information, detects the video type of described current video.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510188744.5A CN106162362B (en) | 2015-04-20 | 2015-04-20 | Video playing method and player |
PCT/CN2016/073746 WO2016169321A1 (en) | 2015-04-20 | 2016-02-14 | Method for playing video, player and computer storage media |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510188744.5A CN106162362B (en) | 2015-04-20 | 2015-04-20 | Video playing method and player |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106162362A true CN106162362A (en) | 2016-11-23 |
CN106162362B CN106162362B (en) | 2020-10-16 |
Family
ID=57143734
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510188744.5A Active CN106162362B (en) | 2015-04-20 | 2015-04-20 | Video playing method and player |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106162362B (en) |
WO (1) | WO2016169321A1 (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106878810A (en) * | 2017-03-13 | 2017-06-20 | 福建中金在线信息科技有限公司 | A kind of video broadcasting method and device |
CN107197387A (en) * | 2017-05-31 | 2017-09-22 | 聚好看科技股份有限公司 | Timesharing shows the method and device of video information on webpage |
CN107277564A (en) * | 2017-06-09 | 2017-10-20 | 腾讯科技(深圳)有限公司 | A kind of video broadcasting method, device and client |
CN110087137A (en) * | 2018-01-26 | 2019-08-02 | 龙芯中科技术有限公司 | Acquisition methods, device, equipment and the medium of video playing frame information |
CN111372134A (en) * | 2020-04-20 | 2020-07-03 | 聚好看科技股份有限公司 | Player calling method and terminal |
CN113791752A (en) * | 2021-09-16 | 2021-12-14 | 深圳市芯中芯科技有限公司 | Method for synchronously controlling webpage music playing state through js in android system |
CN113891135A (en) * | 2021-03-08 | 2022-01-04 | 北京字跳网络技术有限公司 | Multimedia data playing method and device, electronic equipment and storage medium |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111954068B (en) * | 2019-05-14 | 2023-01-24 | 阿里巴巴集团控股有限公司 | Method and device for video definition switching and electronic device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8166399B1 (en) * | 2004-03-04 | 2012-04-24 | Google Inc. | In-page full screen internet video method |
CN103546821A (en) * | 2013-10-30 | 2014-01-29 | 乐视致新电子科技(天津)有限公司 | Method and device for regulating video playing interface |
CN103686249A (en) * | 2013-12-11 | 2014-03-26 | 深圳市龙视传媒有限公司 | Method, system and related device for video playing |
CN104113780A (en) * | 2014-06-25 | 2014-10-22 | 小米科技有限责任公司 | Advertisement processing method and apparatus |
CN104168507A (en) * | 2014-08-06 | 2014-11-26 | 广州华多网络科技有限公司 | Video playing method, video processing device and browsing device |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090228779A1 (en) * | 2008-03-04 | 2009-09-10 | Richard John Williamson | Use of remote services by a local wireless electronic device |
CN103873938B (en) * | 2012-12-14 | 2018-08-10 | 联想(北京)有限公司 | Video web page played in full screen method based on video tab and browser of mobile terminal |
CN103268337B (en) * | 2013-05-16 | 2016-09-28 | 北京奇虎科技有限公司 | The playing method and device of video in a kind of webpage |
CN104093084B (en) * | 2014-06-11 | 2018-03-30 | 北京猎豹网络科技有限公司 | A kind of method and device for playing video |
-
2015
- 2015-04-20 CN CN201510188744.5A patent/CN106162362B/en active Active
-
2016
- 2016-02-14 WO PCT/CN2016/073746 patent/WO2016169321A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8166399B1 (en) * | 2004-03-04 | 2012-04-24 | Google Inc. | In-page full screen internet video method |
CN103546821A (en) * | 2013-10-30 | 2014-01-29 | 乐视致新电子科技(天津)有限公司 | Method and device for regulating video playing interface |
CN103686249A (en) * | 2013-12-11 | 2014-03-26 | 深圳市龙视传媒有限公司 | Method, system and related device for video playing |
CN104113780A (en) * | 2014-06-25 | 2014-10-22 | 小米科技有限责任公司 | Advertisement processing method and apparatus |
CN104168507A (en) * | 2014-08-06 | 2014-11-26 | 广州华多网络科技有限公司 | Video playing method, video processing device and browsing device |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106878810A (en) * | 2017-03-13 | 2017-06-20 | 福建中金在线信息科技有限公司 | A kind of video broadcasting method and device |
CN107197387A (en) * | 2017-05-31 | 2017-09-22 | 聚好看科技股份有限公司 | Timesharing shows the method and device of video information on webpage |
CN107197387B (en) * | 2017-05-31 | 2020-04-24 | 聚好看科技股份有限公司 | Method and device for displaying video information on webpage in time-sharing manner |
CN107277564A (en) * | 2017-06-09 | 2017-10-20 | 腾讯科技(深圳)有限公司 | A kind of video broadcasting method, device and client |
CN107277564B (en) * | 2017-06-09 | 2018-09-04 | 腾讯科技(深圳)有限公司 | A kind of video broadcasting method, device and client |
CN110087137A (en) * | 2018-01-26 | 2019-08-02 | 龙芯中科技术有限公司 | Acquisition methods, device, equipment and the medium of video playing frame information |
CN110087137B (en) * | 2018-01-26 | 2022-03-29 | 龙芯中科技术股份有限公司 | Method, device, equipment and medium for acquiring video playing frame information |
CN111372134A (en) * | 2020-04-20 | 2020-07-03 | 聚好看科技股份有限公司 | Player calling method and terminal |
CN111372134B (en) * | 2020-04-20 | 2022-05-24 | 聚好看科技股份有限公司 | Player calling method and terminal |
CN113891135A (en) * | 2021-03-08 | 2022-01-04 | 北京字跳网络技术有限公司 | Multimedia data playing method and device, electronic equipment and storage medium |
CN113891135B (en) * | 2021-03-08 | 2023-10-27 | 北京字跳网络技术有限公司 | Multimedia data playing method and device, electronic equipment and storage medium |
CN113791752A (en) * | 2021-09-16 | 2021-12-14 | 深圳市芯中芯科技有限公司 | Method for synchronously controlling webpage music playing state through js in android system |
Also Published As
Publication number | Publication date |
---|---|
CN106162362B (en) | 2020-10-16 |
WO2016169321A1 (en) | 2016-10-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106162362A (en) | A kind of video broadcasting method and player | |
JP6522164B2 (en) | Information acquisition method and device | |
CN105363201B (en) | The display methods and device of prompt message | |
CN103646340B (en) | Signpost before video across screen browsing method and the video system using the method | |
US20150156257A1 (en) | Application service providing method and system, and related device | |
CN108721898B (en) | Frame rate determination method and apparatus, storage medium, and electronic apparatus | |
CN104778405B (en) | Ad blocking method and device | |
JP6665200B2 (en) | Multimedia information processing method, apparatus and system, and computer storage medium | |
CN104142778B (en) | A kind of method of text-processing, device and mobile terminal | |
CN109032470A (en) | Screenshot method, device, terminal and computer readable storage medium | |
CN109005283A (en) | Show method, apparatus, terminal and the storage medium of notification message | |
CN110277092A (en) | A kind of voice broadcast method, device, electronic equipment and readable storage medium storing program for executing | |
CN109543072B (en) | Video-based AR education method, smart television, readable storage medium and system | |
CN104572875B (en) | Promotion message launches validity and determines method and device | |
CN103235678B (en) | The display methods of special object background information and video terminal in video | |
CN104581396A (en) | Processing method and device for promotion information | |
CN111104551A (en) | Live broadcast room label determination method and device, storage medium and electronic equipment | |
CN110868693A (en) | Application program flow control method, terminal device and storage medium | |
CN103869936B (en) | The display packing of information and electronic equipment | |
CN106161656B (en) | Interface jumping method and device | |
CN108804897B (en) | Screen control method and device, computer equipment and storage medium | |
CN105898608A (en) | Video play control method and browser | |
CN105094872B (en) | A kind of method and apparatus showing web application | |
CN108182090A (en) | Flash plug-in loading methods and device based on blink kernels | |
CN103246501A (en) | Method and client-side for sharing application |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |