CN108881998A - A kind of video broadcasting method and device - Google Patents
A kind of video broadcasting method and device Download PDFInfo
- Publication number
- CN108881998A CN108881998A CN201810915532.6A CN201810915532A CN108881998A CN 108881998 A CN108881998 A CN 108881998A CN 201810915532 A CN201810915532 A CN 201810915532A CN 108881998 A CN108881998 A CN 108881998A
- Authority
- CN
- China
- Prior art keywords
- video object
- view interface
- video
- playing
- played
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- 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/482—End-user interface for program selection
- H04N21/4825—End-user interface for program selection using a list of items to be played back in a given order, e.g. playlists
-
- 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/43—Processing 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/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
-
- 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/43—Processing 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/439—Processing of audio elementary streams
-
- 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/43—Processing 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/442—Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
- H04N21/44213—Monitoring of end-user related data
- H04N21/44222—Analytics of user selections, e.g. selection of programs or purchase activity
-
- 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/482—End-user interface for program selection
- H04N21/4826—End-user interface for program selection using recommendation lists, e.g. of programs or channels sorted out according to their score
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Social Psychology (AREA)
- Software Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Databases & Information Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The application provides a kind of video broadcasting method and device, the method is in the slide for detecting multimedia list, and determine that there is currently when the video object to be played in the multimedia list, call the first view interface cached in advance, and the first view interface is shown with target layout parameter value needed for the video object, and control is played out to the video object in mute fashion using the first view interface of displaying.It can be seen that, application scheme, which realizes, in mute fashion plays out the video object in multimedia list, the user that can be effectively promoted in list video recommendations scene plays experience, and due to playing out control to the video object using the view interface cached in advance, to, when playing the video object without executing complicated view interface creation operation in real time, improves the playing efficiency of the video object and screen flicker problem when the video object starts broadcasting can be effectively eliminated.
Description
Technical field
The invention belongs to multimedia resource processing technology field more particularly to a kind of video broadcasting methods and device.
Background technique
It is in recent years with the rise of mobile internet and flourishing, it has been increasingly becoming indispensable in people's life one
Point, the ability of cell phone apparatus shooting video and the upgrading of network have expedited the emergence of everybody concern to video field, and " video " and " mutual
The combination of networking " is even more to have highlighted following feature:Appeal is strong, form content is various, intention etc., viewer are first wantonly
Can first generate interest, pay close attention to video, then be become propagating participator from follower, and be transmitted object often have with as him
The people of feature interest, this series of process are exactly that the process of propagation is precisely screened between target consumer, after all most of feelings
Condition, the appeal of video, publicity degree are greatly higher than static picture character.Under the market demand of this advantage, video battalion
Pin arises therewith.
Wherein, it plays in lists and recommends video, it can be than making with the more intuitive more lively displaying information of text or picture
Recommendation is more fresh and alive, and do not need user and execute more cumbersome steps, so as to promote user emerging to oneself sense
The content of interest is checked.The shortcomings that video flowing, is when playing recommendation video in lists in the prior art:Initial configuration is non-quiet
There may be screen flickers when sound-like state, video flowing start to play.Original state is non-mute, can make comparing for video flowing
It is lofty, such as user brushed a recommendation video suddenly in public and played automatically in the form of non-mute, then it can be very
Suddenly there is the sound of video, effect as one can imagine, video flowing start play when there are screen flickers can equally make to user
At not good viewing experience.Given this this field need to provide a kind of video display arts more optimized, to promote user's body
It tests.
Summary of the invention
In view of this, the purpose of the present invention is to provide a kind of video broadcasting method and device, it is existing at least overcoming
Video render technology existing for drawbacks described above, to promote user experience.
For this purpose, the present invention is disclosed directly below technical solution:
A kind of video broadcasting method, including:
If detecting the slide of multimedia list, it is determined that currently with the presence or absence of to be played in the multimedia list
The video object;
If it exists, then target layout parameter value needed for obtaining the video object;
The first view interface cached in advance is called, based on the target layout parameter value in the upper of the multimedia list
Layer shows the first view interface so that the first view interface shown cover it is described wait broadcast in the multimedia list
The video object put;Wherein, the first view interface corresponding first layout parameter value in caching enables to described the
One view interface is in invisible mode;
Control is played out to the video object in mute fashion using the first view interface of displaying.
The above method, it is preferred that it currently whether there is the video object to be played in the determination multimedia list,
Including:
The sliding process of the multimedia list is monitored, using scheduled rolling monitor method with the determination multimedia column
The video object in device screen region is currently in table;
Judge whether the video object meets scheduled playing condition;
If satisfied, then determining that the video object is current the video object to be played.
The above method, it is preferred that the scheduled playing condition includes that the video object is visible on device screen
Than reach it is scheduled it is visible than threshold value and/or the sliding speed of the multimedia list lower than scheduled threshold speed.
The above method, it is preferred that the first view interface that the calling caches in advance, including:
Call the first view interface cached in advance in father's container of the multimedia list.
The above method, it is preferred that it is described to call the first view interface cached in advance, utilize the first view interface of displaying
Control is played out to the video object in mute fashion, including:
Judge in the video object with the presence or absence of audio focus;
If it exists, then the audio focus in the video object is discharged, and the broadcast sound volume that the video object is arranged is
0;
Player is reseted, so that initializing to the player;And by the video object and the player
It is bound;
The first view interface cached in advance is called using the player after reseting, and is based on the video pair
The target layout parameter value of elephant shows the first view interface;
Described in the broadcast sound volume based on set the video object plays in mute fashion in the first view interface
The video object;
When the video object meets scheduled stopping playing condition, stop playing the video object, and will be described
First view interface is reset to invisible mode.
The above method, it is preferred that the stopping playing condition is to meet at least one of following situation:
The video object is visible scheduled more visible than threshold value than being lower than on device screen, alternatively, the multimedia
The sliding speed of list is not less than scheduled threshold speed.
The above method, it is preferred that the first view interface is being shown with the target layout parameter value of the video object,
And the first view interface does not provide available broadcasting control when playing the video object using the first view interface of displaying
Part;
The method also includes:
User is obtained to the details playing request of the video object, plays the details of the video object in a predefined manner
Video content, and during playing the details video content, provide a user available play control.
A kind of video play device, including:
Determination unit, in the case where detecting the slide of multimedia list, determining the multimedia list
In currently whether there is the video object to be played;
Acquiring unit, for there are the video object to be played, target needed for obtaining the video object
Layout parameter value;
Calling and display unit are based on the target layout parameter value for calling the first view interface cached in advance
The first view interface is shown on the upper layer of the multimedia list, so that the first view interface covering shown is described more
The video object to be played in media list;Wherein, the first view interface corresponding first displaying in caching
Parameter value enables to the first view interface to be in invisible mode;
Playing control unit in mute fashion broadcasts the video object for the first view interface using displaying
Put control.
Above-mentioned apparatus, it is preferred that the determination unit is specifically used for:
The sliding process of the multimedia list is monitored, using scheduled rolling monitor method with the determination multimedia column
The video object in device screen region is currently in table;
Judge whether the video object meets scheduled playing condition;
If satisfied, then determining that the video object is current the video object to be played.
Above-mentioned apparatus, it is preferred that the calling and display unit call the first view interface cached in advance, specific to wrap
It includes:
Call the first view interface cached in advance in father's container of the multimedia list.
Above-mentioned apparatus, it is preferred that the playing control unit is specifically used for:
Judge in the video object with the presence or absence of audio focus;
If it exists, then the audio focus in the video object is discharged, and the broadcast sound volume that the video object is arranged is
0;
Player is reseted, so that initializing to the player;And by the video object and the player
It is bound;
The first view interface cached in advance is called using the player after reseting, and is based on the view
The target layout parameter value of frequency object shows the first view interface;
Described in the broadcast sound volume based on set the video object plays in mute fashion in the first view interface
The video object;
When the video object meets scheduled stopping playing condition, stop playing the video object, and will be described
First view interface is reset to invisible mode.
Above-mentioned apparatus, it is preferred that the first view interface is being shown with the target layout parameter value of the video object,
And the first view interface does not provide available broadcasting control when playing the video object using the first view interface of displaying
Part;
The playing control unit is also used to:
User is obtained to the details playing request of the video object, plays the details of the video object in a predefined manner
Video content, and during playing the details video content, provide a user available play control.
According to above scheme it is found that the video broadcasting method and device of the application, in the sliding for detecting multimedia list
Operation, and determine that there is currently when the video object to be played, call the first view cached in advance in the multimedia list
Figure interface, and the first view interface is shown with target layout parameter value needed for the video object, and utilize displaying
First view interface plays out control to the video object in mute fashion.It can be seen that application scheme realize with
Mute mode plays out the video object in multimedia list, and the user that can be effectively promoted in list video recommendations scene broadcasts
Experience is put, and due to playing out control to the video object using the view interface cached in advance, thus, playing the video object
Shi Wuxu executes complicated view interface creation operation in real time, improves the playing efficiency of the video object and can effectively eliminate video
Object starts screen flicker problem when playing.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is the flow chart for the video broadcasting method that the embodiment of the present application one provides;
Fig. 2 is the flow chart for the video broadcasting method that the embodiment of the present application two provides;
Fig. 3 is the structural schematic diagram for the video play device that the embodiment of the present application three provides.
Specific embodiment
For the sake of quoting and understanding, hereafter used in technical term, write a Chinese character in simplified form or abridge summary be explained as follows:
SurfaceView:View is inherited, but possesses independent drafting surface, i.e., it is not shared with its host window same
A drawing surface can individually be drawn in a thread, can't occupy the resource of main thread.In this way, drawing will compare
More efficient, game, video playing, there are also live streamings popular recently, can use it.
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
The application provides a kind of video broadcasting method and device, is optimized with realizing to existing video display arts,
This method and device can be applied to but be not limited to publicize, trailer, from media, the small video of the application scenarios such as list video recommendations
In displaying, it will be illustrated below by video broadcasting method and device of multiple embodiments to the application.
It is a kind of flow chart of video broadcasting method embodiment one provided by the present application with reference to Fig. 1, in the present embodiment,
As shown in Figure 1, the video broadcasting method includes the following steps:
If step 101, the slide for detecting multimedia list, it is determined that currently whether deposited in the multimedia list
In the video object to be played.
In the prior art when carrying out video flowing recommendation, video is continuously played, i.e., intermediate not handle other shapes
The case where formula multimedia messages (such as text, picture etc.), this feature being different from the prior art are described more in the application
It not only may include each the video object to be recommended in media list, can also include text class, picture category, audio class etc.
The multimedia object of other forms, by providing the other forms such as text class, picture category, audio class simultaneously in multimedia list
Multimedia messages, can make subsequent during playing out control to multiple the video objects of recommendation, can also wear
It inserts and shows the other kinds of multimedia messages such as some texts, picture, audio, thus when enriching multimedia content recommendation
Application form.
This step 101 can be determined in the multimedia list by following treatment process currently with the presence or absence of to be played
The video object:
1) sliding process of the multimedia list is monitored, using scheduled rolling monitor method with the determination multimedia
The video object in device screen region is currently in list;
2) judge whether the video object meets scheduled playing condition;Wherein, the scheduled playing condition includes
The video object is visible than reaching scheduled visible than threshold value and/or the sliding of the multimedia list on device screen
Speed is lower than scheduled threshold speed.
3) if satisfied, then determining that the video object is current the video object to be played.
Specifically, during user sliding (or roll) multimedia list, multimedia list can with user's operation and
It is slided with corresponding speed to respective direction (such as screen up and down direction, left and right directions), and in sliding process or slided
When stopping, for being in the visible video object in device screen region, it need to be played automatically, user is carried out with realizing
Video recommendations.
In the application, at the end of multimedia list is in sliding process or slides, the video object " can for user's
See ", in particular to multimedia list in the video object it is visible than reaching scheduled visible than threshold value, institute on device screen
It states " visible ratio " and refers specifically to the ratio that the View component that the video object is on device screen accounts for the total view of the video object.It is exemplary
Ground can set 80% (obviously may be arranged as other numerical value) for the visible ratio, thus, when the video object is in equipment screen
It is visible than being then believed that the video object is visible when reaching 80% on curtain, conversely, if the video object is on device screen
It is visible than not up to 80% be considered as it is invisible.
As a kind of possible embodiment, when multimedia list is slided, it can determine whether its glide direction, wherein each
Multimedia list can correspond to a list container, can add to roll in advance in the list container of multimedia list and monitor, example
Property, such as setOnScrollListener can be added in ListView list container, in recyclerview container
AddOnScrollListener is added, there are two methods, the application to record present multimedia with onScroll method for meeting in monitoring
The sum of first visible Item (the video object) and visible Item in list on device screen is used
OnScrollStateChanged come monitor rubber sleeve move screen whole process;Wherein, to avoid Caton, the application is in fast ski-running
When dynamic list, that is, multimedia list sliding speed is not less than scheduled threshold speed, the variation of Item is not detected;It is sliding at a slow speed
It is looped to determine when moving the sliding speed of i.e. multimedia list lower than scheduled threshold speed or sliding stopping according to displaying sum
Whether Item has the video object that the needs with eligible (visible more visible than threshold value than as described in reaching) play, if
Have, then recycles Rect class to obtain the visible area of the view for the video object to be shown in screen coordinates, if there are multiple symbols
The video object of conjunction condition can then be obtained the video object of highest priority as current to be played by scheduled priority policy
The video object.
Wherein, described to obtain the video object of highest priority as current view to be played by scheduled priority policy
Frequency object specifically, for example can be the maximum the video object of view area chosen and wherein shown on device screen and be
Highest priority object, and as current the video object to be played, alternatively, selection wherein appears in equipment screen for first
The video object on curtain is highest priority object, and as current the video object etc. to be played, certainly can be with
According to actual service logic, multiple in visible video object or all as current view to be played on selected equipment screen
Frequency object (rather than only choosing one in visible video object as currently the video object to be played), the present embodiment to this not
It limits.
Above related ListView, setOnScrollListener, recyclerview,
AddOnScrollListener, onScroll, onScrollStateChanged and Rect class etc. is the prior art, tool
Body can refer to the introduction to these contents in the prior art, no longer elaborate here to it.
Step 102, if it exists, then obtain target layout parameter value required by the video object.
The video object to be played than reaching there are visible on device screen (as specifically made a reservation for visible compare threshold value if it exists
One or more the video objects), then need to obtain target layout parameter value required by the video object to be played, example
Such as, the wide high level etc. of required view interface provides foundation to be embodied as the layout of broadcasting view of the video object to be played.
The first view interface that step 103, calling cache in advance, based on the target layout parameter value in the multimedia
The upper layer of list shows the first view interface, so that the first view interface shown covers in the multimedia list
The video object to be played;Wherein, the first view interface corresponding first layout parameter value in caching can make
It obtains the first view interface and is in invisible mode.
In the prior art, when carrying out video playing to the video object in multimedia list, using real-time creation
View interface, and by the view interface created in real time video content is played out in the way of, such mode can be because creating in real time
It builds time-consuming relatively high present in view interface and easily leads to device screen and of short duration blank screen occur, namely starting to play view
When frequency it is possible that the problem of screen flicker, to solve this problem, in the application, first is cached in a predetermined position in advance
View interface, it is exemplary and in non-limiting manner, such as first view interface can be specifically cached in father's container of multimedia list,
And the corresponding first layout parameter value in the first view interface cached enable to the first view interface be in can not
It sees this state, specifically, for example, it is high 0 wide 0 can be set by the first view interface when caching the first view interface
Deng to support the first view interface to be in the sightless state of user.
It on this basis, can be from multimedia list when needing to carry out video content broadcasting to the video object to be played
Father's container in call directly the first view interface cached in advance, and by the layout parameter weight at the first view interface
Target layout parameter value needed for being set as the video object to be played, such as the wide height at the first view interface is reseted
For wide high level needed for the video object to be played etc., and then show based on target cloth needed for the video object to be played
The first view interface that office's parameter value is laid out, and using the first view interface in the video of the video object to be played
Appearance plays out.
Wherein, when being played out using the first view interface to the video content of the video object to be played, tool
The body regional location locating on device screen based on the video object to be played, is covered on more matchmakers for the first view interface
In the view area of the video object to be played of body list, that is, when there are videos pair to be played in multimedia list
As when, be substantially call the first view interface cached in advance, and directly by the first view interface be covered on multimedia column
The video content of the upper layer of the video object to be played of this in the table the video object to be played to this plays out.
Which of the application, due to by calling directly the first view interface cached in advance and being laid out to it
Parameter is reseted, and be can be realized and is carried out content broadcasting to the video object to be played using the first view interface, without real-time
The complicated creation process of view interface is executed, so as to save processing time when video playing, promotes video playing efficiency,
And then of short duration blank screen when creating view interface in the prior art, screen flicker problem can be eliminated.
Step 104 plays out control to the video object in mute fashion using the first view interface of displaying.
In specific implementation, the first view interface called and cached in advance can be realized, and utilize by following treatment process
First view interface plays out control to the video object in mute fashion:
1) judge in the video object with the presence or absence of audio focus;
2) the audio focus in the video object if it exists, is then discharged, and the broadcast sound volume of the video object is set
It is 0;
3) player is reseted, so that initializing to the player;And by the video object and the broadcasting
Device is bound;
4) the first view interface cached in advance is called using the player after reseting, and is based on the video
The target layout parameter value of object shows the first view interface;
5) broadcast sound volume based on set the video object plays institute in mute fashion in the first view interface
State the video object;
6) when the video object meets scheduled stopping playing condition, stop playing the video object, and by institute
It states first view interface and is reset to invisible mode.
Wherein, the stopping playing condition can be at least one of following situation:The video object is in equipment screen
It is visible more visible than threshold value than lower than scheduled on curtain, alternatively, the sliding speed of the multimedia list is not less than scheduled speed
Spend threshold value.
Here, it should be noted that in the prior art, with when carrying out video playing to the video object in list, adopt
Real-time creation view interface, and by the view interface created in real time video content is played out in the way of it is opposite
It answers, when carrying out stopping playing control to the video object in list, in the prior art specifically using destruction view interface
(surfaceDestroyed) mode realizes the video object that is, by destroying the view interface of played the video object
Stop playing, which can easily lead to screen because of the time-consuming of destruction movement and generate flashing, and the application passes through described first
View interface is reset to invisible mode to realize that the stopping of the video object plays, and can effectively overcome the problems, such as this, avoid stopping
Play flashing when video.
According to above scheme it is found that the video broadcasting method of the present embodiment, in the slide for detecting multimedia list,
And it determines to call first view circle cached in advance there is currently when the video object to be played in the multimedia list
Face, and the first view interface is shown with target layout parameter value needed for the video object, and utilize first shown
View interface plays out control to the video object in mute fashion.It can be seen that application scheme is realized with mute
Mode plays out the video object in multimedia list, can effectively promote user's playing body in list video recommendations scene
Test, and due to playing out control to the video object using the view interface that caches in advance, thus, when playing the video object without
Complicated view interface creation operation need to be executed in real time, improved the playing efficiency of the video object and can be effectively eliminated the video object
Start screen flicker problem when playing.
In the application, the first view interface is being shown with the target layout parameter value of the video object, and utilize
The first view interface of displaying does not provide available play control in the first view interface when playing the video object, herein
On the basis of, distinguished with the video broadcasting method in above-described embodiment, with reference to Fig. 2 shows the application video broadcasting method it is real
The flow chart for applying example two, in embodiments herein two, the video broadcasting method can also include the following steps:
Step 105 obtains user to the details playing request of the video object, plays the video pair in a predefined manner
The details video content of elephant, and during playing the details video content, provide a user available play control.
The displaying duration of the video objects such as video trailer or propaganda film in multimedia list is generally shorter, from without
Necessity shows play control, in consideration of it, the application is showing first view with the target layout parameter value of the video object
Figure interface, and when playing the video object using the first view interface of displaying the first view interface do not provide it is available
Play control, which can also be achieved preferable video drainage effect.
When there are details to play demand to need to further watch to the video object played on first view interface by user
When its details video content, the details playing request for the video object can be further triggered, in response to the request equipment meeting
The details video content of (such as played in full screen) described the video object is played in a predefined manner, and is being played in the details video
During appearance, available play control, such as pause, F.F., rewind, the various controls of playback progress displaying are provided a user,
User can effectively be met to the various demands for control of the video object details content played, while also achieving preferable video
Drainage effect.
Corresponding with the video broadcasting method in above-described embodiment, present invention also provides a kind of video play device, ginsengs
Fig. 3 is examined, is a kind of structural schematic diagram of video play device embodiment three provided by the present application, as shown in figure 3, the device packet
It includes:
Determination unit 301, in the case where detecting the slide of multimedia list, determining the multimedia column
It currently whether there is the video object to be played in table;
Acquiring unit 302, for there are the video object to be played, mesh needed for obtaining the video object
Mark layout parameter value;
Calling and display unit 303 are based on the target layout parameter for calling the first view interface cached in advance
It is worth and shows the first view interface on the upper layer of the multimedia list, so that described in the first view interface covering shown
The video object to be played in multimedia list;Wherein, the first view interface corresponding first exhibition in caching
Show that parameter value enables to the first view interface to be in invisible mode;
Playing control unit 304, for using show first view interface in mute fashion to the video object into
Row plays control.
In an embodiment of the embodiment of the present application, the determination unit 301 is specifically used for:Utilize scheduled rolling
Monitor method monitors the sliding process of the multimedia list, to be currently at device screen area in the determination multimedia list
The video object in domain;Judge whether the video object meets scheduled playing condition;If satisfied, then determining the video object
For current the video object to be played.
In an embodiment of the embodiment of the present application, the calling and display unit 303 call first cached in advance
View interface specifically includes:Call the first view interface cached in advance in father's container of the multimedia list.
In an embodiment of the embodiment of the present application, the playing control unit 304 is specifically used for:
Judge in the video object with the presence or absence of audio focus;If it exists, then the audio in the video object is discharged
Focus, and the broadcast sound volume that the video object is arranged is 0;Player is reseted, so that initializing to the player;
And the video object and the player are bound;It is called using the player after reseting described in caching in advance
First view interface, and the first view interface is shown based on the target layout parameter value of the video object;Institute
It states the broadcast sound volume based on set the video object in first view interface and plays the video object in mute fashion;Institute
When stating the video object and meeting scheduled stopping playing condition, stop playing the video object, and by the first view interface
It is reset to invisible mode.
In an embodiment of the embodiment of the present application, described in being shown with the target layout parameter value of the video object
First view interface, and the first view interface does not provide when playing the video object using the first view interface of displaying
Available play control;On this basis, the playing control unit 304, can be also used for:User is obtained to the video pair
The details playing request of elephant plays the details video content of the video object in a predefined manner, and is playing the details view
During frequency content, available play control is provided a user.
For the video play device disclosed in the embodiment of the present application three, since itself and embodiment one are public to embodiment two
The video broadcasting method opened is corresponding, so being described relatively simple, related similarity refers to embodiment one to embodiment
The explanation of video broadcasting method part in two, and will not be described here in detail.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight
Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other.
For convenience of description, it describes to be divided into various modules when system above or device with function or unit describes respectively.
Certainly, the function of each unit can be realized in the same or multiple software and or hardware when implementing the application.
As seen through the above description of the embodiments, those skilled in the art can be understood that the application can
It realizes by means of software and necessary general hardware platform.Based on this understanding, the technical solution essence of the application
On in other words the part that contributes to existing technology can be embodied in the form of software products, the computer software product
It can store in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are used so that a computer equipment
(can be personal computer, server or the network equipment etc.) executes the certain of each embodiment of the application or embodiment
Method described in part.
Finally, it is to be noted that, herein, such as first, second, third and fourth or the like relational terms
It is only used to distinguish one entity or operation from another entity or operation, without necessarily requiring or implying these
There are any actual relationship or orders between entity or operation.Moreover, the terms "include", "comprise" or its is any
Other variants are intended to non-exclusive inclusion, so that including the process, method, article or equipment of a series of elements
Include not only those elements, but also including other elements that are not explicitly listed, or further includes for this process, side
Method, article or the intrinsic element of equipment.In the absence of more restrictions, limited by sentence "including a ..."
Element, it is not excluded that there is also other identical elements in the process, method, article or apparatus that includes the element.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered
It is considered as protection scope of the present invention.
Claims (12)
1. a kind of video broadcasting method, which is characterized in that including:
If detecting the slide of multimedia list, it is determined that currently whether there is view to be played in the multimedia list
Frequency object;
If it exists, then target layout parameter value needed for obtaining the video object;
Call the first view interface that caches in advance, based on the target layout parameter value the multimedia list upper layer exhibition
Show the first view interface so that the first view interface shown cover it is described to be played in the multimedia list
The video object;Wherein, the first view interface corresponding first layout parameter value in caching enables to first view
Figure interface is in invisible mode;
Control is played out to the video object in mute fashion using the first view interface of displaying.
2. the method according to claim 1, wherein currently whether there is in the determination multimedia list
The video object to be played, including:
The sliding process that the multimedia list is monitored using scheduled rolling monitor method, in the determination multimedia list
It is currently at the video object in device screen region;
Judge whether the video object meets scheduled playing condition;
If satisfied, then determining that the video object is current the video object to be played.
3. according to the method described in claim 2, it is characterized in that, the scheduled playing condition includes that the video object exists
On device screen it is visible than reach it is scheduled it is visible than threshold value and/or the sliding speed of the multimedia list lower than scheduled
Threshold speed.
4. the first view interface that caches in advance is called the method according to claim 1, wherein described, including:
Call the first view interface cached in advance in father's container of the multimedia list.
5. being utilized the method according to claim 1, wherein described call the first view interface cached in advance
The first view interface of displaying plays out control to the video object in mute fashion, including:
Judge in the video object with the presence or absence of audio focus;
If it exists, then the broadcast sound volume for discharging the audio focus in the video object, and the video object being arranged is 0;
Player is reseted, so that initializing to the player;And the video object and the player are carried out
Binding;
The first view interface cached in advance is called using the player after reseting, and based on the video object
Target layout parameter value shows the first view interface;
The broadcast sound volume based on set the video object plays the video in mute fashion in the first view interface
Object;
When the video object meets scheduled stopping playing condition, stop playing the video object, and by described first
View interface is reset to invisible mode.
6. according to the method described in claim 5, it is characterized in that, the stopping playing condition is to meet in following situation extremely
Few one kind:
The video object is visible scheduled more visible than threshold value than being lower than on device screen, alternatively, the multimedia list
Sliding speed be not less than scheduled threshold speed.
7. the method according to claim 1, wherein in the target layout parameter value displaying with the video object
The first view interface, and the first view interface is not when playing the video object using the first view interface shown
Available play control is provided;
The method also includes:
User is obtained to the details playing request of the video object, plays the details video of the video object in a predefined manner
Content, and during playing the details video content, provide a user available play control.
8. a kind of video play device, which is characterized in that including:
Determination unit, in the case where detecting the slide of multimedia list, determine in the multimedia list when
It is preceding to whether there is the video object to be played;
Acquiring unit, for there are the video object to be played, target layout needed for obtaining the video object
Parameter value;
Calling and display unit, for calling the first view interface cached in advance, based on the target layout parameter value in institute
The upper layer for stating multimedia list shows the first view interface, so that the first view interface shown covers the multimedia
The video object to be played in list;Wherein, the first view interface corresponding first presentation parameter in caching
Value enables to the first view interface to be in invisible mode;
Playing control unit plays out control to the video object in mute fashion for the first view interface using displaying
System.
9. device according to claim 8, which is characterized in that the determination unit is specifically used for:
The sliding process that the multimedia list is monitored using scheduled rolling monitor method, in the determination multimedia list
It is currently at the video object in device screen region;
Judge whether the video object meets scheduled playing condition;
If satisfied, then determining that the video object is current the video object to be played.
10. device according to claim 8, which is characterized in that the calling and display unit call the cached in advance
One view interface, specifically includes:
Call the first view interface cached in advance in father's container of the multimedia list.
11. device according to claim 8, which is characterized in that the playing control unit is specifically used for:
Judge in the video object with the presence or absence of audio focus;
If it exists, then the broadcast sound volume for discharging the audio focus in the video object, and the video object being arranged is 0;
Player is reseted, so that initializing to the player;And the video object and the player are carried out
Binding;
The first view interface cached in advance is called using the player after reseting, and is based on the video pair
The target layout parameter value of elephant shows the first view interface;
The broadcast sound volume based on set the video object plays the video in mute fashion in the first view interface
Object;
When the video object meets scheduled stopping playing condition, stop playing the video object, and by described first
View interface is reset to invisible mode.
12. device according to claim 8, which is characterized in that with the target layout parameter value exhibition of the video object
Show the first view interface, and the first view interface shown is utilized to play the first view interface when the video object
Available play control is not provided;
The playing control unit is also used to:
User is obtained to the details playing request of the video object, plays the details video of the video object in a predefined manner
Content, and during playing the details video content, provide a user available play control.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810915532.6A CN108881998A (en) | 2018-08-13 | 2018-08-13 | A kind of video broadcasting method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810915532.6A CN108881998A (en) | 2018-08-13 | 2018-08-13 | A kind of video broadcasting method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108881998A true CN108881998A (en) | 2018-11-23 |
Family
ID=64318639
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810915532.6A Pending CN108881998A (en) | 2018-08-13 | 2018-08-13 | A kind of video broadcasting method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108881998A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110225391A (en) * | 2019-07-18 | 2019-09-10 | 北京字节跳动网络技术有限公司 | Control method, device, electronic equipment and the storage medium of video playing |
CN110401877A (en) * | 2019-07-18 | 2019-11-01 | 北京字节跳动网络技术有限公司 | Control method, device, electronic equipment and the storage medium of video playing |
CN110737384A (en) * | 2019-10-16 | 2020-01-31 | 网易(杭州)网络有限公司 | rich media card playing method, device, electronic equipment and medium |
CN110798728A (en) * | 2019-11-06 | 2020-02-14 | 北京小米移动软件有限公司 | Video playing method, device and storage medium |
CN114138158A (en) * | 2020-09-03 | 2022-03-04 | 腾讯科技(深圳)有限公司 | Method and device for detecting visibility of view and computing equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014070274A1 (en) * | 2012-10-31 | 2014-05-08 | Google Inc. | Post-touchdown user invisible tap target size increase |
CN106034253A (en) * | 2015-03-09 | 2016-10-19 | 阿里巴巴集团控股有限公司 | Video content playing method, video content playing device and terminal equipment |
CN106534983A (en) * | 2016-11-30 | 2017-03-22 | 武汉斗鱼网络科技有限公司 | Playing system for playing multiple videos in video list and playing method |
CN106792089A (en) * | 2016-12-15 | 2017-05-31 | 腾讯科技(深圳)有限公司 | Video broadcasting method and device |
CN107241657A (en) * | 2017-07-06 | 2017-10-10 | 广州优视网络科技有限公司 | Video broadcasting method, device, computing device and storage medium |
CN108153569A (en) * | 2017-12-22 | 2018-06-12 | 北京酷我科技有限公司 | A kind of ListView controls for pulling sequence |
CN108235086A (en) * | 2017-12-18 | 2018-06-29 | 广州华多网络科技有限公司 | Video playing control method, device and corresponding terminal |
-
2018
- 2018-08-13 CN CN201810915532.6A patent/CN108881998A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014070274A1 (en) * | 2012-10-31 | 2014-05-08 | Google Inc. | Post-touchdown user invisible tap target size increase |
CN106034253A (en) * | 2015-03-09 | 2016-10-19 | 阿里巴巴集团控股有限公司 | Video content playing method, video content playing device and terminal equipment |
CN106534983A (en) * | 2016-11-30 | 2017-03-22 | 武汉斗鱼网络科技有限公司 | Playing system for playing multiple videos in video list and playing method |
CN106792089A (en) * | 2016-12-15 | 2017-05-31 | 腾讯科技(深圳)有限公司 | Video broadcasting method and device |
CN107241657A (en) * | 2017-07-06 | 2017-10-10 | 广州优视网络科技有限公司 | Video broadcasting method, device, computing device and storage medium |
CN108235086A (en) * | 2017-12-18 | 2018-06-29 | 广州华多网络科技有限公司 | Video playing control method, device and corresponding terminal |
CN108153569A (en) * | 2017-12-22 | 2018-06-12 | 北京酷我科技有限公司 | A kind of ListView controls for pulling sequence |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110225391A (en) * | 2019-07-18 | 2019-09-10 | 北京字节跳动网络技术有限公司 | Control method, device, electronic equipment and the storage medium of video playing |
CN110401877A (en) * | 2019-07-18 | 2019-11-01 | 北京字节跳动网络技术有限公司 | Control method, device, electronic equipment and the storage medium of video playing |
CN110225391B (en) * | 2019-07-18 | 2022-02-18 | 北京字节跳动网络技术有限公司 | Video playing control method and device, electronic equipment and storage medium |
CN110737384A (en) * | 2019-10-16 | 2020-01-31 | 网易(杭州)网络有限公司 | rich media card playing method, device, electronic equipment and medium |
CN110737384B (en) * | 2019-10-16 | 2022-02-08 | 网易(杭州)网络有限公司 | Method, device, electronic equipment and medium for playing rich media card |
CN110798728A (en) * | 2019-11-06 | 2020-02-14 | 北京小米移动软件有限公司 | Video playing method, device and storage medium |
CN110798728B (en) * | 2019-11-06 | 2022-04-01 | 北京小米移动软件有限公司 | Video playing method, device and storage medium |
CN114138158A (en) * | 2020-09-03 | 2022-03-04 | 腾讯科技(深圳)有限公司 | Method and device for detecting visibility of view and computing equipment |
CN114138158B (en) * | 2020-09-03 | 2024-02-20 | 腾讯科技(深圳)有限公司 | Method and device for detecting visibility of view and computing equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108881998A (en) | A kind of video broadcasting method and device | |
CN107551555B (en) | Game picture display method and device, storage medium and terminal | |
Zhou et al. | Users' Attitudes toward Web Advertising: Effects of Internet Motivation and Internet Ability. | |
US10901592B2 (en) | Integrated multi-platform user interface/user experience | |
US9861895B2 (en) | Apparatus and methods for multimedia games | |
CN110209843A (en) | Multimedia resource playback method, device, equipment and storage medium | |
CN107407958B (en) | Personalized integrated video user experience | |
CN104869442B (en) | The control method and its system of advertisement putting number in a kind of video | |
CN106454532A (en) | Video player and interactive display method thereof | |
US10721540B2 (en) | Utilizing multiple dimensions of commerce and streaming data to provide advanced user profiling and realtime commerce choices | |
CN107635153B (en) | Interaction method and system based on image data | |
JP2023550747A (en) | Changing the application user interface during a recording session | |
Bhat et al. | Seeing the Instructor in Two Video Styles: Preferences and Patterns. | |
US10694253B2 (en) | Blu-ray pairing with video portal | |
CN106921876B (en) | Providing advanced user profiling and real-time business selection using multidimensional data | |
CN104954874B (en) | multimedia data playing method and device | |
CN106113057A (en) | Audio frequency and video advertising method based on robot and system | |
AU2018222976B2 (en) | Blu-ray pairing with video portal | |
CN105407397A (en) | Method and device for displaying interactive information on video program | |
CN105338413A (en) | Method for displaying release information on video program and device thereof | |
AU2018220063A1 (en) | Integrated multi-platform user interface/user experience | |
CN105472475A (en) | Method and apparatus for displaying internet data on video program | |
CN111932313A (en) | Advertisement playing method and device | |
CN105407376A (en) | Method and device for displaying Internet data on video program | |
CN112308592A (en) | Promotion information releasing method, device and system and related equipment thereof |
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: 20181123 |
|
RJ01 | Rejection of invention patent application after publication |