CN108174300A - Video playing control method, storage medium and terminal - Google Patents

Video playing control method, storage medium and terminal Download PDF

Info

Publication number
CN108174300A
CN108174300A CN201711473202.8A CN201711473202A CN108174300A CN 108174300 A CN108174300 A CN 108174300A CN 201711473202 A CN201711473202 A CN 201711473202A CN 108174300 A CN108174300 A CN 108174300A
Authority
CN
China
Prior art keywords
video
playing
page
file
broadcasting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711473202.8A
Other languages
Chinese (zh)
Inventor
彭睿棋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201711473202.8A priority Critical patent/CN108174300A/en
Publication of CN108174300A publication Critical patent/CN108174300A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-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 controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments

Abstract

The present invention provides a kind of video playing control method, storage medium and terminal, this method includes:Receive the video page that instruction is intended to playing video file;Obtain the corresponding video file of the video page;By preset video playing plug-in unit, the broadcasting of the video file is controlled.Video playing control method provided by the invention, storage medium and terminal, the complete function of video playing on video web-pages can be achieved, user can also carry out the operations such as video download, clarity switching, selected works while complete broadcasting video is realized on video page, effectively increase user experience.

Description

Video playing control method, storage medium and terminal
Technical field
The present invention relates to video display arts field, specifically, the present invention relates to a kind of video playing control method, depositing Storage media and terminal.
Background technology
With the development of Internet technology, the mode of amusing and diverting oneself of people is increasingly abundanter, viewing video on the net also by Gradually become most popular one of mode of amusing and diverting oneself, the approach that user optionally watches video is also very more.
Current major video website is in order to promote the video APP of itself, when using browser access video website, often Complete video playback capability could be used by needing to download individual videoconference client, and video website can not realize video player Basic function, a large amount of video is caused not watch normally, user experience is very poor.
Invention content
To overcome more than technical problem or solving more than technical problem at least partly, spy proposes following technical scheme:
The embodiment of the present invention provides a kind of video playing control method according on one side, including:
Receive the video page that instruction is intended to playing video file;
Obtain the corresponding video file of the video page;
By preset video playing plug-in unit, the broadcasting of the video file is controlled.
Preferably, it is described by preset video playing plug-in unit, the video file is played, including:
Preset video playing plug-in unit is loaded, it is self-defined to cover display on the primary broadcast interface of the video page Broadcast interface, and pass through the broadcasting of the self-defined broadcast interface control video file.
Preferably, the broadcasting that the video file is controlled by the self-defined broadcast interface, including it is following at least A kind of control mode:
Start to play, suspend broadcasting, terminate broadcastings, played in full screen, playing progress bar pulls control, broadcasting speed controls, F.F., rewind, video definition switching, video file download, selected works and chain broadcast.
Preferably, it before the broadcasting by the self-defined broadcast interface control video file, further includes:
Judge whether the video format of the video file matches with the broadcast format of preset video playing plug-in unit;
If so, the broadcasting of the video file is controlled by the self-defined broadcast interface;
If it is not, the video format of the video file is converted into the broadcast format phase with preset video playing plug-in unit The video format matched controls the broadcasting of the video file after convert video formats by the self-defined broadcast interface.
Preferably, it is described to obtain the corresponding video file of the video page, including:
When the video file includes multiple video clips, multiple video clips and its corresponding playing sequence mark are obtained Know;
Wherein, it is described by preset video playing plug-in unit, the broadcasting of the video file is controlled, including:
It is identified according to the playing sequence, broadcasting for the multiple video clip is controlled by preset video playing plug-in unit It puts.
Preferably, it is described to obtain the corresponding video file of the video page, including:
The video page is carried out to crack processing according to scheduled video processing rule, to obtain the video page pair The video file answered.
Further, it after the video page for receiving instruction desire playing video file, further includes:
Judge the corresponding type of site of the video page;
Determine video processing rule corresponding with the type of site.
Preferably, it is described that the video page is carried out to crack processing according to scheduled video processing rule, to obtain The corresponding video file of video page is stated, including:
According to type of site corresponding with the video page corresponding video processing rule, the video page is carried out Processing is cracked, to obtain the server storage address of the corresponding video file of the video page;
According to the server storage address, the video file is obtained by corresponding video server.
Preferably, it is described that the video page is carried out to crack processing according to scheduled video processing rule, to obtain The corresponding video file of video page is stated, including:
According to type of site corresponding with the video page corresponding video processing rule, the video page is carried out It cracks, to obtain the local cache address of the corresponding video file of the video page;
According to the local cache address, the corresponding cache file of the video file is obtained;
According to the cache file, the video file is obtained.
The embodiment of the present invention additionally provides a kind of video playing control device according on the other hand, including:
Page receiving module, for receiving the video page for indicating to be intended to playing video file;
Video acquiring module, for obtaining the corresponding video file of the video page;
Playing control module, for by preset video playing plug-in unit, controlling the broadcasting of the video file.
Preferably, the playing control module, is specifically used for:
Preset video playing plug-in unit is loaded, it is self-defined to cover display on the primary broadcast interface of the video page Broadcast interface, and pass through the broadcasting of the self-defined broadcast interface control video file.
Preferably, the playing control module, including following at least one control mode:
Start to play, suspend broadcasting, terminate broadcastings, played in full screen, playing progress bar pulls control, broadcasting speed controls, F.F., rewind, video definition switching, video file download, selected works and chain broadcast.
Preferably, the playing control module further includes form judging unit, broadcast format control unit;
The form judging unit, for judging whether the video format of the video file is inserted with preset video playing The broadcast format of part matches;
The broadcast format control unit, for when broadcast format matches, passing through the self-defined broadcast interface control Make the broadcasting of the video file;
The broadcast format control unit is additionally operable to when broadcast format mismatches, by the video lattice of the video file Formula is converted to the video format to match with the broadcast format of preset video playing plug-in unit, passes through the self-defined broadcast interface Control the broadcasting of the video file after convert video formats.
Preferably, the video acquiring module further includes sequence identification acquiring unit;
The sequence identification acquiring unit, for when the video file includes multiple video clips, obtaining multiple regard Frequency segment and its corresponding playing sequence mark;
The playing control module, is specifically used for:
It is identified according to the playing sequence, broadcasting for the multiple video clip is controlled by preset video playing plug-in unit It puts.
Preferably, the video acquiring module, further includes and cracks acquiring unit;
It is described to crack acquiring unit, for carrying out cracking place to the video page according to scheduled video processing rule Reason, to obtain the corresponding video file of the video page.
Further, the video playing control device further includes the regular determining module of processing;
The regular determining module of processing, is used for:
Judge the corresponding type of site of the video page;
Determine video processing rule corresponding with the type of site.
Preferably, it is described to crack acquiring unit, it is specifically used for:
According to type of site corresponding with the video page corresponding video processing rule, the video page is carried out Processing is cracked, to obtain the server storage address of the corresponding video file of the video page;
According to the server storage address, the video file is obtained by corresponding video server.
Preferably, it is described to crack acquiring unit, it is specifically used for:
According to type of site corresponding with the video page corresponding video processing rule, the video page is carried out It cracks, to obtain the local cache address of the corresponding video file of the video page;
According to the local cache address, the corresponding cache file of the video file is obtained;
According to the cache file, the video file is obtained.
The embodiment of the present invention additionally provides a kind of computer readable storage medium, the calculating according to another aspect Computer program is stored on machine readable storage medium storing program for executing, which realizes above-mentioned video playing controlling party when being executed by processor Method.
The embodiment of the present invention additionally provides a kind of terminal, the terminal includes one or more according to another aspect Processor;Memory;One or more application program, wherein one or more of application programs are stored in the memory In and be configured as being performed by one or more of processors, one or more of programs are configured to:Perform above-mentioned regard Frequency control method for playing back.
Video playing control method provided by the invention, device, storage medium and terminal, by the way that preset video has been adjusted to insert Part sets self-defined broadcast interface on video page, and then realizes the complete function of video playing on video web-pages, Yong Hu The operations such as video download, clarity switching, selected works can also be carried out while complete broadcasting video is realized on video page, are effectively carried High user experience.
Video playing control method provided by the invention, device, storage medium and terminal, also by according to scheduled video Processing rule carries out video page to crack processing, so as to get the corresponding video file of video page, ensures video web-pages On video can realize complete broadcasting, avoiding a large amount of video in video website can not normally watch, for realize completely regard Frequency playing function provides important infrastructural support, further increases user experience.
The additional aspect of the present invention and advantage will be set forth in part in the description, these will become from the following description It obtains significantly or is recognized by the practice of the present invention.
Description of the drawings
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments Significantly and it is readily appreciated that, wherein:
Fig. 1 is the method flow diagram of video playing control method provided in an embodiment of the present invention;
Fig. 2 is the specific implementation flow chart of video playing control method provided in an embodiment of the present invention;
Fig. 3 is the structure diagram of video playing control device provided in an embodiment of the present invention;
Fig. 4 is the structure diagram of video playing control device that another embodiment of the present invention provides.
Specific embodiment
The embodiment of the present invention is described below in detail, the example of the embodiment is shown in the drawings, wherein from beginning to end Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached The embodiment of figure description is exemplary, and is only used for explaining the present invention, and is not construed as limiting the claims.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singulative " one " used herein, " one It is a ", " described " and "the" may also comprise plural form.It is to be further understood that is used in the specification of the present invention arranges Diction " comprising " refers to there are the feature, integer, step, operation, element and/or component, but it is not excluded that presence or addition Other one or more features, integer, step, operation, element, component and/or their group.It should be understood that when we claim member Part is " connected " or during " coupled " to another element, it can be directly connected or coupled to other elements or there may also be Intermediary element.In addition, " connection " used herein or " coupling " can include wireless connection or wireless coupling.It is used herein to arrange Take leave whole or any cell and all combination of the "and/or" including one or more associated list items.
Those skilled in the art of the present technique are appreciated that unless otherwise defined all terms used herein are (including technology art Language and scientific terminology), there is the meaning identical with the general understanding of the those of ordinary skill in fields of the present invention.Should also Understand, those terms such as defined in the general dictionary, it should be understood that have in the context of the prior art The consistent meaning of meaning, and unless by specific definitions as here, the meaning of idealization or too formal otherwise will not be used To explain.
Those skilled in the art of the present technique are appreciated that " terminal " used herein above, " terminal device " both include wireless communication The equipment of number receiver, only has the equipment of the wireless signal receiver of non-emissive ability, and including receiving and transmitting hardware Equipment, have on both-way communication chain road, can perform both-way communication reception and emit hardware equipment.This equipment It can include:Honeycomb or other communication apparatus, show with single line display or multi-line display or without multi-line The honeycomb of device or other communication apparatus;PCS (Personal Communications Service, person communication system), can With combine voice, data processing, fax and/or data communication capabilities;PDA (Personal Digital Assistant, it is personal Digital assistants), radio frequency receiver, pager, the Internet/intranet access, web browser, notepad, day can be included It goes through and/or GPS (Global Positioning System, global positioning system) receiver;Conventional laptop and/or palm Type computer or other equipment, have and/or the conventional laptop including radio frequency receiver and/or palmtop computer or its His equipment." terminal " used herein above, " terminal device " they can be portable, can transport, mounted on the vehicles (aviation, Sea-freight and/or land) in or be suitable for and/or be configured to, in local runtime and/or with distribution form, operate in the earth And/or any other position operation in space." terminal " used herein above, " terminal device " can also be communicating terminal, on Network termination, music/video playback terminal, such as can be PDA, MID (Mobile Internet Device, mobile Internet Equipment) and/or with music/video playing function mobile phone or the equipment such as smart television, set-top box.
Embodiment one
An embodiment of the present invention provides a kind of video playing control method, as shown in Figure 1, this method includes:
Step S101, the video page that instruction is intended to playing video file is received.
For the present embodiment, the video page can be based on hypertext transfer protocol (HTTP, Hyper Text Transfer Protocol) WEB websites or based on Wireless Application Protocol (WAP, Wireless Application Protocol WAP websites), WEB websites can realize page access by the browser of above-mentioned terminal, and WAP websites need to pass through shifting The browser of dynamic terminal realizes page access.
Step S102, the corresponding video file of the video page is obtained.
Step S103, by preset video playing plug-in unit, the broadcasting of the video file is controlled.
Wherein, it is described by preset video playing plug-in unit, the video file is played, including:
Preset video playing plug-in unit is loaded, it is self-defined to cover display on the primary broadcast interface of the video page Broadcast interface, and pass through the broadcasting of the self-defined broadcast interface control video file.
For the present embodiment, by browser to video page injection script file, for example, the script file is JavaScript scripts, to obtain self-defined broadcast interface.During specific implementation, it can be realized by injection script file Broadcast button is added on the primary broadcast interface of video page, when the instruction for receiving user's triggering broadcast button, Browser starts Gaussian Blur in primary broadcast interface and loads video playing plug-in unit simultaneously, by the loading procedure of short time Self-defined broadcast interface is shown, it can be achieved that being covered on the primary broadcast interface, and on the self-defined broadcast interface afterwards Automatically begin to playing video file.
Wherein, the broadcasting that the video file is controlled by the self-defined broadcast interface, including following at least one Kind control mode:
Start to play, suspend broadcasting, terminate broadcastings, played in full screen, playing progress bar pulls control, broadcasting speed controls, F.F., rewind, video definition switching, video file download, selected works and chain broadcast.
For the present embodiment, the self-defined broadcast interface obtained by having adjusted and having loaded the video playing plug-in unit can be realized Complete video playback capability, for example, when user can play in the self-defined broadcast interface and watch video perform start play, It is tentative to play, terminate the action played;Can according to demand or hobby selection played in full screen video;It can be by pulling playing progress rate Item triggers fast forward and reverse button to realize the adjustment of video playing progress;May be selected the broadcasting speed of video, clarity and Track language;It can also realize downloading video files, selected works and the function of continuously playing.Video provided in an embodiment of the present invention Control method for playing back can also include the still unshowned control mode of other the present embodiment, for the self-defined broadcast interface institute The video playback capability that can be realized, does not limit in the present embodiment.
For the present embodiment, take full advantage of the advantage of browser integrated video player plug-in inside it in advance, with Preset video playing plug-in unit playing video file is played using tune during browser access video page, avoids the original because of video page The function restriction of raw broadcast interface influences the viewing experience of user;By having adjusted preset video plug-in unit, set on video page Self-defined broadcast interface is put, and then realizes the complete function of video playing on video web-pages, user has realized on video page The operations such as video download, clarity switching, selected works can also be carried out while whole broadcasting video, effectively increase user experience.
Embodiment two
The alternatively possible realization method of the embodiment of the present invention on the basis of shown in embodiment one, further includes implementation Step shown in example two, wherein,
Before the broadcasting by the self-defined broadcast interface control video file, further include:
Judge whether the video format of the video file matches with the broadcast format of preset video playing plug-in unit;
If so, the broadcasting of the video file is controlled by the self-defined broadcast interface;
If it is not, the video format of the video file is converted into the broadcast format phase with preset video playing plug-in unit The video format matched controls the broadcasting of the video file after convert video formats by the self-defined broadcast interface.
For the present embodiment, the video format can be the forms such as avi, mov, m3u8, mp4, flv, wmv, in this reality It applies in example and does not limit.
For the present embodiment, to ensure that self-defined broadcast interface can successfully play the video file, need to be regarded by described in The video format of frequency file is converted to the video format to match with the broadcast format of the preset video playing plug-in unit, example Such as .m3u8 video formats are converted to more generally applicable .mp4 or .flv video formats, to ensure that the video file can be certainly Broadcast interface is defined successfully to play.
Embodiment three
The alternatively possible realization method of the embodiment of the present invention on the basis of shown in embodiment one or two, further includes Step shown in embodiment three, wherein,
Step S102, including:
When the video file includes multiple video clips, multiple video clips and its corresponding playing sequence mark are obtained Know;
Wherein, step S103, including:
It is identified according to the playing sequence, broadcasting for the multiple video clip is controlled by preset video playing plug-in unit It puts.
For the present embodiment, the video page is to obtain the video file resource for including multiple video clips by being segmented Video is played, obtains when obtaining the video file the corresponding playing sequence mark of the multiple video clip together, It can avoid the video playing abnormal problem caused by video clip playing sequence disorder;It is and described including multiple videos playing During the video file of segment, the video clip that will be played is cached in advance according to playing sequence mark, it is ensured that Video clip is not in interim card when playing switching, plays the problem of interrupting;The video playing control method of the present embodiment can be protected Demonstrate,prove integrality and the fluency that video file plays.
Example IV
The alternatively possible realization method of the embodiment of the present invention, embodiment one to three it is any shown on the basis of, also Including the step shown in example IV, wherein,
Step S102, including:
The video page is carried out to crack processing according to scheduled video processing rule, to obtain the video page pair The video file answered.
For the present embodiment, the purpose for video page crack processing is to obtain that the video page is corresponding to be regarded Frequency file, and it is described crack processing be by being realized according to scheduled video rules.Video web-pages are being carried out to crack processing Before, the page info that terminal browser can be extracted from the video page, the page info include but is not limited to video The resource storage address of file, corresponding video file quantity and data volume size, the type of site of video web-pages.According to being obtained The page info taken determines to correspond to the challenge parameters of the video page, and then pass through execution in scheduled video processing rule Video processing rule realizes cracking for video page, obtains user's video file to be played.
Preferably, by taking the video playing control method is applied to the browser of Android system mobile terminal as an example, to this The video playing control method of embodiment is further elaborated.User passes through the browser of mobile terminal search video to be played text Part, the result of page searching of browser show multiple result items associated with the video file, and each result items are corresponding There are one chained address, the webpage for including the video file relevant information is directed toward in chained address.A certain knot is selected receiving user After the instruction of fruit, browser receives and shows regarding for the instruction desire playing video file that the chained address of the result items is directed toward The frequency page, and rule is handled according to scheduled video immediately, video web-pages are carried out to crack processing.It is broken to video web-pages Before processing is solved, browser of mobile terminal can be determined according to from the page info that the video page obtains in video processing rule Challenge parameters can realize the video page video for effectively cracking processing handles rule so as to obtain.It completes to video Webpage crack processing after, the corresponding video file of the video page can be obtained, then pass through self-defined broadcasting circle The complete broadcasting of the video file is realized in face.
Video playing control method provided by the invention, also by according to scheduled video processing rule to video page into Row cracks processing, so as to get the corresponding video file of video page, ensures that the video on video web-pages can be realized and completely broadcasts It puts, avoiding a large amount of video in video website can not normally watch, to realize that it is important that complete video playback capability provides Infrastructural support, further increase user experience.
Embodiment five
The alternatively possible realization method of the embodiment of the present invention on the basis of shown in example IV, further includes implementation Step shown in example five, wherein,
After step S101, further include:
Judge the corresponding type of site of the video page;Determine video processing rule corresponding with the type of site.
For the present embodiment, the search result obtained by browser searches video file, result items usually correspond to more The type of site of a different video playing, the type of site refer to the video playing platform of video page subordinate, user It can be played according to the hobby selection of oneself in a certain webpage of video playing platform for providing corresponding video file resource And watch video file.For different type of site, the used challenge parameters cracked in processing rule may be different, because This needs to determine the challenge parameters in video processing rule according to the type of site, and the type of site can be regarded so as to obtain The frequency page realizes the video processing rule for effectively cracking processing.
Wherein, in a specific embodiment, step S102 includes:
According to type of site corresponding with the video page corresponding video processing rule, the video page is carried out Processing is cracked, to obtain the server storage address of the corresponding video file of the video page;
According to the server storage address, the video file is obtained by corresponding video server.
For the embodiment of the present embodiment, the terminal browser video processing described in step S101 according to the present embodiment Rule to video page crack processing, acquisition be the video file server storage address, by according to described in Address path included in server storage address can be addressed to the Video service for preserving the video file resource Device, and then the video server is done and further cracks processing therefrom to obtain the video file.
In addition, in another embodiment, step S102 includes:
According to type of site corresponding with the video page corresponding video processing rule, the video page is carried out It cracks, to obtain the local cache address of the corresponding video file of the video page;
According to the local cache address, the corresponding cache file of the video file is obtained;
According to the cache file, the video file is obtained.
For the embodiment of the present embodiment, the terminal browser video processing described in step S101 according to the present embodiment Rule to video page crack processing, acquisition be the video file local cache address, by according to described Address path included in ground buffer address can be addressed to the local position for preserving the video file cache resources. Cache file is usually stored in caching form in local memory caching, by carrying out format conversion to the cache file or turning It deposits into local storage medium, the video file can be obtained.
For the present embodiment, after processing failure is cracked to video server, can also attempt to by local cache It carries out cracking processing to obtain the video file.
Embodiment six
For the present embodiment, it is preferable that be applied to the clear of Android system mobile terminal with the video playing control method It lookes at for device, the video playing control method provided in the form of procedure another embodiment of the present invention is said It is bright, as shown in Fig. 2, specific as follows:
Step S201, reception and show instruction be intended to playing video file video page;
Step S202, judge the WAP network address of the video page are converted to WEB network address;If convert failed is gone to Step S203;If converting successfully, step S204 is gone to;
Step S203, it is played into video page;
Step S204, judge that corresponding server-side realization processing can be cracked to video page;If cracking failure, step is gone to Rapid S205;If cracking success, step S206 is gone to;
Step S205, judge to realize video page and locally crack processing;If cracking failure, step S203 is gone to; If cracking success, step S206 is gone to;
Step S206, video playing plug-in unit playing video file has been adjusted.
An embodiment of the present invention provides a kind of video playing control device, as shown in figure 3, the device includes:The page receives Module 31, video acquiring module 32 and control playing module 33;Wherein,
The page receiving module 31, for receiving the video page for indicating to be intended to playing video file;
The video acquiring module 32, for obtaining the corresponding video file of the video page;
The playing control module 33, for by preset video playing plug-in unit, controlling the broadcasting of the video file.
Preferably, the playing control module 33, is specifically used for:
Preset video playing plug-in unit is loaded, it is self-defined to cover display on the primary broadcast interface of the video page Broadcast interface, and pass through the broadcasting of the self-defined broadcast interface control video file.
Preferably, the playing control module 33, including following at least one control mode:
Start to play, suspend broadcasting, terminate broadcastings, played in full screen, playing progress bar pulls control, broadcasting speed controls, F.F., rewind, video definition switching, video file download, selected works and chain broadcast.
As shown in figure 4, for an embodiment of the present invention provides another video playing control device, the playing control modules 33, further include form judging unit 331, broadcast format control unit 332;Wherein,
The form judging unit 331, for judging whether the video format of the video file is broadcast with preset video The broadcast format for putting plug-in unit matches;
The broadcast format control unit 332, for when broadcast format matches, passing through the self-defined broadcast interface Control the broadcasting of the video file;
The broadcast format control unit 332 is additionally operable to when broadcast format mismatches, by the video of the video file Format conversion is the video format to match with the broadcast format of preset video playing plug-in unit, passes through self-defined broadcasting circle The broadcasting of video file after face control convert video formats.
Preferably, the video acquiring module 32, further includes sequence identification acquiring unit 321;
The sequence identification acquiring unit 321, for when the video file includes multiple video clips, obtaining multiple Video clip and its corresponding playing sequence mark;
The playing control module 33, is specifically used for:
It is identified according to the playing sequence, broadcasting for the multiple video clip is controlled by preset video playing plug-in unit It puts.
Preferably, the video acquiring module 32, further includes and cracks acquiring unit 322;
It is described to crack acquiring unit 322, for being cracked according to scheduled video processing rule to the video page Processing, to obtain the corresponding video file of the video page.
Further, the video playing control device further includes the regular determining module 41 of processing;
The regular determining module 41 of processing, is used for:
Judge the corresponding type of site of the video page;
Determine video processing rule corresponding with the type of site.
Preferably, it is described to crack acquiring unit 322, it is specifically used for:
According to type of site corresponding with the video page corresponding video processing rule, the video page is carried out Processing is cracked, to obtain the server storage address of the corresponding video file of the video page;
According to the server storage address, the video file is obtained by corresponding video server.
Preferably, it is described to crack acquiring unit 322, it is specifically used for:
According to type of site corresponding with the video page corresponding video processing rule, the video page is carried out It cracks, to obtain the local cache address of the corresponding video file of the video page;
According to the local cache address, the corresponding cache file of the video file is obtained;
According to the cache file, the video file is obtained.
Video playing control device provided by the invention by having adjusted preset video plug-in unit, is set on video page Self-defined broadcast interface, and then realize the complete function of video playing on video web-pages, user realizes completely on video page The operations such as video download, clarity switching, selected works can also be carried out while playing video, effectively increase user experience.This hair The video playing control device of bright offer, also by carrying out cracking processing to video page according to scheduled video processing rule, So as to get the corresponding video file of video page, ensure that the video on video web-pages can realize complete broadcasting, avoid and regard A large amount of video can not be watched normally on frequency website, to realize that complete video playback capability provides important infrastructural support, Further increase user experience.
Video playing control device provided in an embodiment of the present invention can realize the embodiment of the method for above-mentioned offer, specific work( It can realize the explanation referred in embodiment of the method, details are not described herein.
In addition, an embodiment of the present invention provides a kind of computer readable storage medium, deposited on computer readable storage medium Computer program is contained, which realizes above-mentioned video playing control method when being executed by processor.
An embodiment of the present invention provides a kind of computer readable storage medium, the computer readable storage medium can be real It is existing:By having adjusted preset video plug-in unit, self-defined broadcast interface is set on video page, and then realizes and regarded on video web-pages The complete function that frequency plays, user realized on video page it is complete play video while can also carry out video download, clear The operations such as switching, selected works are spent, effectively increase user experience.The computer readable storage medium can also be by regarding according to scheduled Frequency handles rule and video page is carried out to crack processing, so as to get the corresponding video file of video page, ensures video network Video on page can realize complete broadcasting, and avoiding a large amount of video in video website can not normally watch, complete to realize Video playback capability provides important infrastructural support, further increases user experience.
Computer readable storage medium provided in an embodiment of the present invention can realize the embodiment of the method for above-mentioned offer, specifically Function realization refers to the explanation in embodiment of the method, and details are not described herein.
In addition, an embodiment of the present invention provides a kind of terminal, including:One or more processors;Memory;One or more A application program, wherein one or more of application programs are stored in the memory and are configured as by one Or multiple processors perform, one or more of programs are configured to:Perform above-mentioned video playing control method.
An embodiment of the present invention provides a kind of terminal, the terminal can be realized:By having adjusted preset video plug-in unit, regarding Self-defined broadcast interface on the frequency page is set, and then realizes the complete function of video playing on video web-pages, user is in video page The operations such as video download, clarity switching, selected works can also be carried out while complete broadcasting video is realized on face, effectively increase use It experiences at family.The terminal can also be by carrying out video page to crack processing, so as to get according to scheduled video processing rule The corresponding video file of video page ensures that the video on video web-pages can realize complete broadcasting, avoids big in video website The video of amount can not be watched normally, to realize that complete video playback capability provides important infrastructural support, further carry High user experience.
Terminal provided in an embodiment of the present invention can realize the embodiment of the method for above-mentioned offer, and concrete function realization refers to Explanation in embodiment of the method, details are not described herein.
Those skilled in the art of the present technique are appreciated that the present invention includes being related to performing in operation described herein One or more equipment.These equipment can specially be designed and be manufactured or can also include general for required purpose Known device in computer.These equipment have the computer program being stored in it, these computer programs are selectively Activation or reconstruct.Such computer program can be stored in equipment (for example, computer) readable medium or be stored in It e-command and is coupled to respectively in any kind of medium of bus suitable for storage, the computer-readable medium is included but not Be limited to any kind of disk (including floppy disk, hard disk, CD, CD-ROM and magneto-optic disk), ROM (Read-Only Memory, only Read memory), RAM (Random Access Memory, immediately memory), EPROM (Erasable Programmable Read-Only Memory, Erarable Programmable Read only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory, Electrically Erasable Programmable Read-Only Memory), flash memory, magnetic card or light card Piece.It is, readable medium includes any Jie by equipment (for example, computer) storage or transmission information in the form of it can read Matter.
Those skilled in the art of the present technique be appreciated that can with computer program instructions come realize these structure charts and/or The combination of each frame and these structure charts and/or the frame in block diagram and/or flow graph in block diagram and/or flow graph.This technology is led Field technique personnel be appreciated that these computer program instructions can be supplied to all-purpose computer, special purpose computer or other The processor of programmable data processing method is realized, so as to pass through the processing of computer or other programmable data processing methods Device performs the scheme specified in the frame of structure chart and/or block diagram and/or flow graph disclosed by the invention or multiple frames.
Those skilled in the art of the present technique are appreciated that in the various operations crossed by discussion in the present invention, method, flow Steps, measures, and schemes can be replaced, changed, combined or be deleted.Further, it is each with having been crossed by discussion in the present invention Other steps, measures, and schemes in kind operation, method, flow may also be alternated, changed, rearranged, decomposed, combined or deleted. Further, it is of the prior art have with disclosed in the present invention various operations, method, the step in flow, measure, scheme It may also be alternated, changed, rearranged, decomposed, combined or deleted.
The above is only some embodiments 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 also should It is considered as protection scope of the present invention.

Claims (10)

1. a kind of video playing control method, which is characterized in that including:
Receive the video page that instruction is intended to playing video file;
Obtain the corresponding video file of the video page;
By preset video playing plug-in unit, the broadcasting of the video file is controlled.
2. video playing control method according to claim 1, which is characterized in that described to be inserted by preset video playing Part plays the video file, including:
Preset video playing plug-in unit is loaded, self-defined broadcasting is shown to be covered on the primary broadcast interface of the video page Interface, and pass through the broadcasting of the self-defined broadcast interface control video file.
3. video playing control method according to claim 1 or 2, which is characterized in that described self-defined to be broadcast by described The broadcasting of video file described in Interface Control is put, including following at least one control mode:
Start to play, suspend broadcasting, terminate broadcastings, played in full screen, playing progress bar dragging control, broadcasting speed control, F.F., Rewind, video definition switching, video file download, selected works and chain broadcast.
4. the video playing control method according to Claims 2 or 3, which is characterized in that described self-defined to be broadcast by described Before the broadcasting for putting video file described in Interface Control, further include:
Judge whether the video format of the video file matches with the broadcast format of preset video playing plug-in unit;
If so, the broadcasting of the video file is controlled by the self-defined broadcast interface;
If it is not, the video format of the video file is converted to what is matched with the broadcast format of preset video playing plug-in unit Video format controls the broadcasting of the video file after convert video formats by the self-defined broadcast interface.
5. video playing control method according to any one of claims 1 to 4, which is characterized in that regarded described in the acquisition The corresponding video file of the frequency page, including:
When the video file includes multiple video clips, multiple video clips and its corresponding playing sequence mark are obtained;
Wherein, it is described by preset video playing plug-in unit, the broadcasting of the video file is controlled, including:
It is identified according to the playing sequence, the broadcasting of the multiple video clip is controlled by preset video playing plug-in unit.
6. video playing control method according to any one of claims 1 to 5, which is characterized in that regarded described in the acquisition The corresponding video file of the frequency page, including:
The video page is carried out to crack processing according to scheduled video processing rule, it is corresponding to obtain the video page Video file.
7. video playing control method according to claim 6, which is characterized in that described receive indicates video text to be played After the video page of part, further include:
Judge the corresponding type of site of the video page;
Determine video processing rule corresponding with the type of site.
8. a kind of video playing control device, which is characterized in that including:
Page receiving module, for receiving the video page for indicating to be intended to playing video file;
Video acquiring module, for obtaining the corresponding video file of the video page;
Playing control module, for by preset video playing plug-in unit, controlling the broadcasting of the video file.
9. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program realizes claim 1 to 7 any one of them video playing control method when the program is executed by processor.
10. a kind of terminal, which is characterized in that it includes:
One or more processors;
Memory;
One or more application program, wherein one or more of application programs are stored in the memory and are configured To be performed by one or more of processors, one or more of programs are configured to:It performs according to claim 1 to 7 Any one of them video playing control method.
CN201711473202.8A 2017-12-29 2017-12-29 Video playing control method, storage medium and terminal Pending CN108174300A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711473202.8A CN108174300A (en) 2017-12-29 2017-12-29 Video playing control method, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711473202.8A CN108174300A (en) 2017-12-29 2017-12-29 Video playing control method, storage medium and terminal

Publications (1)

Publication Number Publication Date
CN108174300A true CN108174300A (en) 2018-06-15

Family

ID=62520100

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711473202.8A Pending CN108174300A (en) 2017-12-29 2017-12-29 Video playing control method, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN108174300A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108881928A (en) * 2018-06-29 2018-11-23 百度在线网络技术(北京)有限公司 Method and apparatus for release information, the method and apparatus for handling information
CN109144612A (en) * 2018-09-03 2019-01-04 武汉斗鱼网络科技有限公司 Android clarity switching method, device, terminal and readable medium
CN109547835A (en) * 2018-11-26 2019-03-29 北京字节跳动网络技术有限公司 Video broadcasting method and device
CN111131907A (en) * 2019-12-31 2020-05-08 广州市百果园信息技术有限公司 Live content introduction method and device, storage medium and equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106899889A (en) * 2015-12-18 2017-06-27 北京奇虎科技有限公司 Video broadcasting method and device in application program

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106899889A (en) * 2015-12-18 2017-06-27 北京奇虎科技有限公司 Video broadcasting method and device in application program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108881928A (en) * 2018-06-29 2018-11-23 百度在线网络技术(北京)有限公司 Method and apparatus for release information, the method and apparatus for handling information
US11095957B2 (en) 2018-06-29 2021-08-17 Baidu Online Network Technology (Beijing) Co., Ltd. Method and apparatus for publishing information, and method and apparatus for processing information
CN109144612A (en) * 2018-09-03 2019-01-04 武汉斗鱼网络科技有限公司 Android clarity switching method, device, terminal and readable medium
CN109144612B (en) * 2018-09-03 2021-10-15 武汉斗鱼网络科技有限公司 Android definition switching method and device, terminal and readable medium
CN109547835A (en) * 2018-11-26 2019-03-29 北京字节跳动网络技术有限公司 Video broadcasting method and device
CN111131907A (en) * 2019-12-31 2020-05-08 广州市百果园信息技术有限公司 Live content introduction method and device, storage medium and equipment

Similar Documents

Publication Publication Date Title
US9948965B2 (en) Manifest re-assembler for a streaming video channel
US8600220B2 (en) Systems and methods for loading more than one video content at a time
CN108174300A (en) Video playing control method, storage medium and terminal
CA2824368C (en) Creation of video bookmarks via scripted interactivity in advanced digital television
US8825790B2 (en) Caching of fragmented streaming media
US20140040026A1 (en) Systems and methods for including advertisements in streaming content
US20090049491A1 (en) Resolution Video File Retrieval
CN103609131A (en) Reception device, reception method, transmission device, transmission method, and program
US10929460B2 (en) Method and apparatus for storing resource and electronic device
US9356985B2 (en) Streaming video to cellular phones
CN102845072A (en) Media content improved playback quality
CN108476329A (en) It is similar to introduce caching mechanism
US11907279B2 (en) Mechanism to handle interrupted playback experience for media items in playlists
CN105898535A (en) Play start speed improving method, video player and electronic device
US10178143B2 (en) Selecting bitrate to stream encoded media based on tagging of important media segments
CN108174242A (en) Live data multiplexing method, device, storage medium and equipment
CN107205177A (en) Video broadcasting method and device
CN107968963A (en) The method and apparatus for showing local video front cover
CN114053697A (en) Cloud game interaction method and device, readable medium and electronic equipment
CN106303581A (en) A kind of video file download process method, device and server
CN108174271A (en) Video broadcasting method, storage medium and terminal
US20170289229A1 (en) Method and terminal device for providing multimedia content
KR102241615B1 (en) Method to identify and video titles using metadata in video webpage source code, and apparatuses performing the same
CN107846628A (en) Recommend the generation method and system of programme
CN114257870A (en) Short video playing method, device, equipment and storage medium

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: 20180615

RJ01 Rejection of invention patent application after publication