CN109819305A - Video playing control method and device in a kind of application program - Google Patents

Video playing control method and device in a kind of application program Download PDF

Info

Publication number
CN109819305A
CN109819305A CN201811626205.5A CN201811626205A CN109819305A CN 109819305 A CN109819305 A CN 109819305A CN 201811626205 A CN201811626205 A CN 201811626205A CN 109819305 A CN109819305 A CN 109819305A
Authority
CN
China
Prior art keywords
video
browser component
application program
play
jump
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
CN201811626205.5A
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.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen Hawker Internet 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 Shenzhen Hawker Internet Co Ltd filed Critical Shenzhen Hawker Internet Co Ltd
Priority to CN201811626205.5A priority Critical patent/CN109819305A/en
Publication of CN109819305A publication Critical patent/CN109819305A/en
Pending legal-status Critical Current

Links

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

This application involves the video playing control methods and device in a kind of application program, the described method includes: when the first browser component that the first video playback window is embedded in the application program plays video, detect whether to receive jump out the application program jump out operation;If detect it is described jump out operation, jump out to terminal interface creation suspension windows, and the second browser component is created in the suspension windows;Continue to play video using second browser component.The embodiment of the present invention can in the application the first video playback window insertion the first browser component play video when, if user jumps out application program, can jump out to terminal interface creation suspension windows continue to play video, while not influencing other operations to terminal interface.

Description

Video playing control method and device in a kind of application program
Technical field
This application involves the video playing control methods and dress in software technology field more particularly to a kind of application program It sets.
Background technique
With the development of internet, application program (Application, APP) refers mainly to be mounted on soft on smart phone Part improves the deficiency and personalization of primal system.So that mobile phone is improved its function, the master of richer usage experience is provided for user Want means.
However, if returning to desktop, video council pause plays, again when user plays video in the application at present Continue to play the video when switching back into video playing interface, it is not smooth to will lead to video-see, makes troubles to user.
Summary of the invention
In order to solve the above-mentioned technical problem or it at least is partially solved above-mentioned technical problem, this application provides one kind to answer With the video playing control method and device in program.
In a first aspect, this application provides the video playing control methods in a kind of application program, comprising:
When the first browser component that the first video playback window is embedded in the application program plays video, detection is It is no receive jump out the application program jump out operation;
If detect it is described jump out operation, jump out to terminal interface creation suspension windows, and in the suspension windows The second browser component of middle creation;
Continue to play video using second browser component.
Optionally, the method also includes:
Detect it is described jump out operation when, control the first browser component pause and play the video;
Record jumps out video moment and source video sequence website;
By the first browser component buffered video flow to local buffer address, record described in jump out video when It carves and the source video sequence website is sent to second browser component.
It is optionally, described to continue to play video using second browser component, comprising:
It controls second browser component and jumps out view described in determination in the buffered video stream for being located at the buffer address First after the frequency moment does not broadcast video flowing and the first caching stop timing;
It plays described first and does not broadcast video flowing;
It controls second browser component and opens the source video sequence website;
The first uncached video flowing after the first caching stop timing described in the source video sequence Web caching;
After described first does not broadcast video render, continue to play the described first uncached video flowing.
Optionally, the method also includes:
When continuing to play video using second browser component, detect whether to receive the rebound application program Jump back operation;
If detecting the jump back operation, continue to play video using first browser component.
Optionally, the method also includes:
When detecting the jump back operation, controls the second browser component pause and play the video;
Record jumps back to the video moment;
The rebound video moment that second browser component records is sent to first browser component.
It is optionally, described to continue to play video using first browser component, comprising:
It controls first browser component and determines the rebound view in the buffered video stream for being located at the buffer address Second after the frequency moment does not broadcast video flowing and the second caching stop timing;
It plays described second and does not broadcast video flowing;
It controls first browser component and reopens the source video sequence website;
The second uncached video flowing after the second caching stop timing described in the source video sequence Web caching;
After described second does not broadcast video render, continue to play the described second uncached video flowing.
Second aspect, the embodiment of the present invention also provide the video playing control device in a kind of application program, comprising:
First detection module, for the first browser component that the first video playback window is embedded in the application program When playing video, detect whether to receive jump out the application program jump out operation;
Creation module, if for detect it is described jump out operation, jump out to terminal interface creation suspension windows, and The second browser component is created in the suspension windows;
First playing module plays video for continuing using second browser component.
Optionally, described device further include:
Control module, for detect it is described jump out operation when, control the first browser component pause and play institute State video;
Logging modle jumps out video moment and source video sequence website for recording;
Delivery module, for the first browser component buffered video to be flowed to the institute of local buffer address, record It states and jumps out the video moment and the source video sequence website is sent to second browser component.
Optionally, the playing module, comprising:
First control unit, for controlling second browser component in the buffered video stream for being located at the buffer address First jumped out after the video moment described in middle determination does not broadcast video flowing and the first caching stop timing;
First broadcast unit does not broadcast video flowing for playing described first;
Second control unit opens the source video sequence website for controlling second browser component;
Cache unit, for not delaying from first after the first caching stop timing described in the source video sequence Web caching Deposit video flowing;
Second broadcast unit does not delay for after described first does not broadcast video render, continuing to play described first Deposit video flowing.
Optionally, described device further include:
Second detection module, for detecting whether to receive when continuing to play video using second browser component To the jump back operation for jumping back to the application program;
Second playing module, if continuing to play using first browser component for detecting the jump back operation Video.
Above-mentioned technical proposal provided by the embodiments of the present application has the advantages that compared with prior art
The embodiment of the present invention can in the application the first video playback window insertion the first browser component play When video, if user jumps out application program, can jump out to terminal interface creation suspension windows continue play video, simultaneously Other operations to terminal interface are not influenced.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention Example, and be used to explain the principle of the present invention together with specification.
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, for those of ordinary skill in the art Speech, without any creative labor, is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of flow chart of the video playing control method in a kind of application program provided by the embodiments of the present application;
Fig. 2 is another process of the video playing control method in a kind of application program provided by the embodiments of the present application Figure;
Fig. 3 is the structure chart of the video playing control device in a kind of application program provided by the embodiments of the present application.
Specific embodiment
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the application, instead of all the embodiments.Based on the embodiment in the application, ordinary skill people Member's every other embodiment obtained without making creative work, shall fall in the protection scope of this application.
When user plays video in the application at present, if returning to desktop, video council pause is played, and is being switched back into again Continue to play the video when video playing interface, it is not smooth to will lead to video-see, makes troubles to user.For this purpose, in this hair In bright one embodiment, the video playing control method in a kind of application program is provided, the method can be applied to terminal, Illustratively, terminal can refer to mobile phone or tablet computer etc., as shown in Figure 1, which comprises
Step S101, the first browser component that the first video playback window is embedded in the application program play video When, detect whether to receive jump out the application program jump out operation;
In embodiments of the present invention, before step S101, can detecte the video playing for whether receiving user's input Operation creates the first browser component if receiving video play operation in application program, and the first browser component can be with Refer to web view, from the corresponding server reading video data in source video sequence website and can be broadcast by the first browser component It puts.
Illustratively, jumping out operation can refer to that user returns to the operation that desktop shortcut key returns to desktop by pressing, or It is switched to other application program by pressing shortcut switch key, or is switched to Information application program etc. by clicking notice.
If detect it is described jump out operation, step S102, jump out to terminal interface creation suspension windows, and described The second browser component is created in suspension windows;
Before step S102, detect it is described jump out operation when, control the first browser component pause and play The video;Record jumps out video moment and source video sequence website;The first browser component buffered video is flowed into local Buffer address, the described of record jump out the video moment and the source video sequence website is sent to second browser component.
Exemplary etc., the second browser component can refer to web view, by the second browser component from source video sequence net It stands and corresponding server reading video data and plays.
Step S103 continues to play video using second browser component.
In this step, second browser component can be controlled first in the buffered video for being located at the buffer address First jumped out after the video moment described in determining in stream does not broadcast video flowing and the first caching stop timing;Then described is played One does not broadcast video flowing;Second browser component is controlled again opens the source video sequence website;Again from the source video sequence net The first uncached video flowing after caching of the standing first caching stop timing;Preferably video flowing can not be broadcast described first After finishing, continue to play the described first uncached video flowing.
The embodiment of the present invention can in the application the first video playback window insertion the first browser component play When video, if user jumps out application program, can jump out to terminal interface creation suspension windows continue play video, simultaneously Other operations to terminal interface are not influenced.
In practical applications due to user, it may need to jump back to application program sight again after jumping out application program See video, for this purpose, in another embodiment of the present invention, the method also includes:
Step S201 detects whether to receive rebound institute when continuing to play video using second browser component State the jump back operation of application program;
In embodiments of the present invention, jump back operation can give directions the operation for hitting suspension windows, live and click application program Operation etc..
If detecting the jump back operation, step S202 continues to play video using first browser component.
Before step S202, when detecting the jump back operation, controls the second browser component pause and play The video;Record jumps back to the video moment;The rebound video moment that second browser component records is sent to institute State the first browser component.
In this step, first browser component is controlled to determine in the buffered video stream for being located at the buffer address Second after the rebound video moment does not broadcast video flowing and the second caching stop timing;It plays described second and does not broadcast video Stream;It controls first browser component and reopens the source video sequence website;Described in the source video sequence Web caching The second uncached video flowing after second caching stop timing;After described second does not broadcast video render, after continued broadcasting Put the described second uncached video flowing.
The embodiment of the present invention can user need to jump back to application program continue watch video when, re-use first browsing Device assembly continues to play video, easy to operate, user-friendly.
In another embodiment of the present invention, the video playing control device in a kind of application program is also provided, such as Fig. 3 institute Show, comprising:
First detection module 11, for the first browser group that the first video playback window is embedded in the application program When part plays video, detect whether to receive jump out the application program jump out operation;
Creation module 12, if for detect it is described jump out operation, jump out to terminal interface creation suspension windows, and The second browser component is created in the suspension windows;
First playing module 13 plays video for continuing using second browser component.
In another embodiment of the present invention, described device further include:
Control module, for detect it is described jump out operation when, control the first browser component pause and play institute State video;
Logging modle jumps out video moment and source video sequence website for recording;
Delivery module, for the first browser component buffered video to be flowed to the institute of local buffer address, record It states and jumps out the video moment and the source video sequence website is sent to second browser component.
In another embodiment of the present invention, the playing module, comprising:
First control unit, for controlling second browser component in the buffered video stream for being located at the buffer address First jumped out after the video moment described in middle determination does not broadcast video flowing and the first caching stop timing;
First broadcast unit does not broadcast video flowing for playing described first;
Second control unit opens the source video sequence website for controlling second browser component;
Cache unit, for not delaying from first after the first caching stop timing described in the source video sequence Web caching Deposit video flowing;
Second broadcast unit does not delay for after described first does not broadcast video render, continuing to play described first Deposit video flowing.
In another embodiment of the present invention, described device further include:
Second detection module, for detecting whether to receive when continuing to play video using second browser component To the jump back operation for jumping back to the application program;
Second playing module, if continuing to play using first browser component for detecting the jump back operation Video.
It should be noted that, in this document, the relational terms of such as " first " and " second " or the like are used merely to one A entity or operation with another entity or operate distinguish, without necessarily requiring or implying these entities or operation it Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant are intended to Cover non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or setting Standby intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", 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 specific embodiment of the invention, is made skilled artisans appreciate that or realizing this hair It is bright.Various modifications to these embodiments will be apparent to one skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and applied principle and features of novelty phase one herein The widest scope of cause.

Claims (10)

1. the video playing control method in a kind of application program characterized by comprising
When the first browser component that the first video playback window is embedded in the application program plays video, detect whether to connect Receive jump out the application program jump out operation;
If detect it is described jump out operation, jump out to terminal interface creation suspension windows, and created in the suspension windows Build the second browser component;
Continue to play video using second browser component.
2. the video broadcasting method in application program according to claim 1, which is characterized in that the method also includes:
Detect it is described jump out operation when, control the first browser component pause and play the video;
Record jumps out video moment and source video sequence website;
By the first browser component buffered video flow to local buffer address, record described in jump out the video moment and The source video sequence website is sent to second browser component.
3. the video broadcasting method in application program according to claim 2, which is characterized in that described to utilize described second Browser component continues to play video, comprising:
Control second browser component be located at the buffer address buffered video stream in determine described in jump out video when First after quarter does not broadcast video flowing and the first caching stop timing;
It plays described first and does not broadcast video flowing;
It controls second browser component and opens the source video sequence website;
The first uncached video flowing after the first caching stop timing described in the source video sequence Web caching;
After described first does not broadcast video render, continue to play the described first uncached video flowing.
4. the video broadcasting method in application program according to claim 3, which is characterized in that the method also includes:
When continuing to play video using second browser component, detect whether to receive the jump for jumping back to the application program Return operation;
If detecting the jump back operation, continue to play video using first browser component.
5. the video broadcasting method in application program according to claim 4, which is characterized in that the method also includes:
When detecting the jump back operation, controls the second browser component pause and play the video;
Record jumps back to the video moment;
The rebound video moment that second browser component records is sent to first browser component.
6. the video broadcasting method in application program according to claim 5, which is characterized in that described to utilize described first Browser component continues to play video, comprising:
Control first browser component be located at the buffer address buffered video stream in determine the rebound video when Second after quarter does not broadcast video flowing and the second caching stop timing;
It plays described second and does not broadcast video flowing;
It controls first browser component and reopens the source video sequence website;
The second uncached video flowing after the second caching stop timing described in the source video sequence Web caching;
After described second does not broadcast video render, continue to play the described second uncached video flowing.
7. the video playing control device in a kind of application program characterized by comprising
First detection module is played for the first browser component that the first video playback window is embedded in the application program When video, detect whether to receive jump out the application program jump out operation;
Creation module, if for detect it is described jump out operation, jump out to terminal interface creation suspension windows, and described The second browser component is created in suspension windows;
First playing module plays video for continuing using second browser component.
8. the video play device in application program according to claim 7, which is characterized in that described device further include:
Control module, for detect it is described jump out operation when, control the first browser component pause and play the view Frequently;
Logging modle jumps out video moment and source video sequence website for recording;
Delivery module, for the first browser component buffered video to be flowed to the jump of local buffer address, record Video moment and the source video sequence website are sent to second browser component out.
9. the video play device in application program according to claim 8, which is characterized in that the playing module, packet It includes:
First control unit, it is true in the buffered video stream for being located at the buffer address for controlling second browser component First jumped out after the video moment does not broadcast video flowing and the first caching stop timing;
First broadcast unit does not broadcast video flowing for playing described first;
Second control unit opens the source video sequence website for controlling second browser component;
Cache unit, for from described in the source video sequence Web caching first caching the stop timing after the first uncached view Frequency flows;
Second broadcast unit plays the described first uncached view for continuing after described first does not broadcast video render Frequency flows.
10. the video play device in application program according to claim 9, which is characterized in that described device further include:
Second detection module, for detecting whether to receive jump when continuing to play video using second browser component Return the jump back operation of the application program;
Second playing module, if continuing to play video using first browser component for detecting the jump back operation.
CN201811626205.5A 2018-12-28 2018-12-28 Video playing control method and device in a kind of application program Pending CN109819305A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811626205.5A CN109819305A (en) 2018-12-28 2018-12-28 Video playing control method and device in a kind of application program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811626205.5A CN109819305A (en) 2018-12-28 2018-12-28 Video playing control method and device in a kind of application program

Publications (1)

Publication Number Publication Date
CN109819305A true CN109819305A (en) 2019-05-28

Family

ID=66602707

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811626205.5A Pending CN109819305A (en) 2018-12-28 2018-12-28 Video playing control method and device in a kind of application program

Country Status (1)

Country Link
CN (1) CN109819305A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113497967A (en) * 2021-05-26 2021-10-12 浙江大华技术股份有限公司 Video frame switching method and device based on browser and storage medium
CN113542886A (en) * 2020-04-14 2021-10-22 北京搜狗科技发展有限公司 Video playing method and device for playing video

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104965693A (en) * 2014-08-29 2015-10-07 腾讯科技(深圳)有限公司 Video processing method and system
CN105468240A (en) * 2015-12-29 2016-04-06 北京金山安全软件有限公司 Multimedia content display method and device
CN105933756A (en) * 2016-06-27 2016-09-07 北京奇虎科技有限公司 Method and device for carrying out live broadcast on video in picture in picture mode
CN106658137A (en) * 2015-11-02 2017-05-10 腾讯科技(深圳)有限公司 Video playing method and device
CN107219974A (en) * 2017-05-26 2017-09-29 努比亚技术有限公司 A kind of method, mobile terminal and storage medium for showing application software
CN108366298A (en) * 2018-03-28 2018-08-03 广东欧珀移动通信有限公司 Video broadcasting method, mobile terminal and computer readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104965693A (en) * 2014-08-29 2015-10-07 腾讯科技(深圳)有限公司 Video processing method and system
CN106658137A (en) * 2015-11-02 2017-05-10 腾讯科技(深圳)有限公司 Video playing method and device
CN105468240A (en) * 2015-12-29 2016-04-06 北京金山安全软件有限公司 Multimedia content display method and device
CN105933756A (en) * 2016-06-27 2016-09-07 北京奇虎科技有限公司 Method and device for carrying out live broadcast on video in picture in picture mode
CN107219974A (en) * 2017-05-26 2017-09-29 努比亚技术有限公司 A kind of method, mobile terminal and storage medium for showing application software
CN108366298A (en) * 2018-03-28 2018-08-03 广东欧珀移动通信有限公司 Video broadcasting method, mobile terminal and computer readable storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113542886A (en) * 2020-04-14 2021-10-22 北京搜狗科技发展有限公司 Video playing method and device for playing video
CN113542886B (en) * 2020-04-14 2023-09-22 北京搜狗科技发展有限公司 Video playing method and device for playing video
CN113497967A (en) * 2021-05-26 2021-10-12 浙江大华技术股份有限公司 Video frame switching method and device based on browser and storage medium
CN113497967B (en) * 2021-05-26 2023-03-14 浙江大华技术股份有限公司 Video frame switching method and device based on browser and storage medium

Similar Documents

Publication Publication Date Title
US11079923B1 (en) User interface for a video capture device
CN107172454B (en) Video recommendation method, medium, device and computing equipment
CN103151057B (en) Method for playing music and device
KR100753778B1 (en) System for supporting activities
CN101796516A (en) navigation systems and methods
CN103699323A (en) Method and device for realizing music desktop display
CN105183513A (en) Application recommendation method and apparatus
CN105824542A (en) Method and apparatus for starting application functions
CN103780943A (en) Audio channel switching method, device and system
US20170171334A1 (en) Single-account multiple-preference recommendation method for video website and electronic device
CN102137279A (en) Method for realizing disconnection continuous playing of on-line video of portable electronic equipment
CN104581354A (en) Video buffering method and video buffering device
CN104464743B (en) Method for playing background music in voice chat room and mobile terminal
CN103945259A (en) Online video playing method and device
CN109819305A (en) Video playing control method and device in a kind of application program
KR102337157B1 (en) Electronic blackboard apparatus and the controlling method thereof
CN105808983A (en) Method and device for limiting usage time of applications
CN105915832A (en) Recording method and electronic device
CN104777986A (en) Navigation processing method and mobile terminal
CN107147957A (en) Video broadcasting method and device
CN109711899A (en) Method and device for sending advertisement and computer readable storage medium
CN109254709A (en) Screenshotss processing method, device, equipment and machine readable media
US20110167345A1 (en) Method and apparatus for selective media download and playback
US20150032517A1 (en) Method for Playing Back Advertisement and Video Content and Electronic Apparatus Using the Method
CN103854682A (en) Method and device for controlling audio file playing

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
TA01 Transfer of patent application right

Effective date of registration: 20201102

Address after: 9 / F, TCL multimedia building, D4 building, international e city, 1001 Zhongshan Garden Road, Xili street, Nanshan District, Shenzhen City, Guangdong Province

Applicant after: SHENZHEN TCL NEW TECHNOLOGY Co.,Ltd.

Address before: 518052 Guangdong city of Shenzhen province Qianhai Shenzhen Hong Kong cooperation zone before Bay Road No. 1 building 201 room A (located in Shenzhen Qianhai business secretary Co. Ltd.)

Applicant before: SHENZHEN HAWK INTERNET Co.,Ltd.

TA01 Transfer of patent application right
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190528

WD01 Invention patent application deemed withdrawn after publication