Movatterモバイル変換


[0]ホーム

URL:


CN106201318A - Adjust the method for video playback window, device and display terminal - Google Patents

Adjust the method for video playback window, device and display terminal
Download PDF

Info

Publication number
CN106201318A
CN106201318ACN201610552333.4ACN201610552333ACN106201318ACN 106201318 ACN106201318 ACN 106201318ACN 201610552333 ACN201610552333 ACN 201610552333ACN 106201318 ACN106201318 ACN 106201318A
Authority
CN
China
Prior art keywords
size
window
video playback
playback window
fingers
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
CN201610552333.4A
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.)
LeTV Holding Beijing Co Ltd
LeTV Information Technology Beijing Co Ltd
Original Assignee
LeTV Holding Beijing Co Ltd
LeTV Information Technology Beijing 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 LeTV Holding Beijing Co Ltd, LeTV Information Technology Beijing Co LtdfiledCriticalLeTV Holding Beijing Co Ltd
Priority to CN201610552333.4ApriorityCriticalpatent/CN106201318A/en
Publication of CN106201318ApublicationCriticalpatent/CN106201318A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The present embodiments relate to video display technology field, particularly relate to a kind of adjust the method for video playback window, device and display terminal.Wherein, the method includes that the window that monitoring users sends on video playback window adjusts gesture;Adjusting gesture according to described window, determine described video playback window target size extremely to be adjusted, wherein, the value of described target size is that default minimum display size is to any value being displayed in full screen between size;By the size adjusting of described video playback window to described target size.The adjustment method of video playback window, device and the display terminal of the embodiment of the present invention, it is possible to solve video playback window in prior art and do not support user's problem from main modulation.

Description

Adjust the method for video playback window, device and display terminal
Technical field
The present embodiments relate to video display technology field, particularly relate to a kind of adjust video playback window method,Device and display terminal.
Background technology
Along with the development of video display arts, all kinds of display terminals be respectively provided with play video function, as TV, computer,Mobile phone and advertisement machine etc..
All kinds of display terminals in correlation technique are play the mode of video and are generally included: (1) passes through terminal local playerPlay video;(2) by accessing video network, in individual page or comprise on the page of other info web broadcasting video.
Inventor finds during realizing invention: either by local player plays video, or by regardingFrequently network plays video on the page, and the size of video playback window is usually fixed constant, such as, and the broadcasting of terminal localDevice uses full form to play video, and the video playback window on Webpage at most has two kinds of moulds of full frame and fixing wicketFormula.Visible, current video playback window do not support user from main modulation.
Summary of the invention
The embodiment of the present invention provides and a kind of adjusts the method for video playback window, device and display terminal, to solveIn prior art, video playback window does not support user's problem from main modulation.
In order to solve above-mentioned technical problem, the following technical scheme of embodiment of the present invention inventive embodiments:
First aspect, embodiments provides a kind of method adjusting video playback window, including:
The window that monitoring users sends on video playback window adjusts gesture;
Adjust gesture according to described window, determine described video playback window target size extremely to be adjusted, wherein, describedThe value of target size is that default minimum display size is to any value being displayed in full screen between size;
By the size adjusting of described video playback window to described target size.
Second aspect, embodiments provides a kind of device adjusting video playback window, including:
Monitoring module, the window sent on video playback window for monitoring users adjusts gesture;
Determine module, for adjusting gesture according to described window, determine described video playback window target extremely to be adjustedSize, wherein, the value of described target size is that default minimum display size is to any value being displayed in full screen between size;
Adjusting module, for by the size adjusting of described video playback window to described target size.
The third aspect, embodiments provides a kind of display terminal, including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
The window that monitoring users sends on video playback window adjusts gesture;
Adjust gesture according to described window, determine described video playback window target size extremely to be adjusted, wherein, describedThe value of target size is that default minimum display size is to any value being displayed in full screen between size;
By the size adjusting of described video playback window to described target size.
The technical scheme that the embodiment of the embodiment of the present invention provides can include following beneficial effect: in the embodiment of the present inventionIn, the window that display terminal monitoring users sends on video playback window adjusts gesture, and adjusts according to the window of userGesture determine video playback window need adjust to target size.Display terminal determine video playback window need adjust toAfter target size, video playback window is adjusted, and the size of the video playback window after adjustment is target size.CanSee, utilize embodiment of the present invention scheme, gesture can be adjusted according to the window of user and the size of video playback window be carried out certainlyMain modulation, thus solve in prior art, video playback window does not support user's technical problem from main modulation.
It should be appreciated that it is only exemplary and explanatory, not that above general description and details hereinafter describeThe embodiment of the present invention can be limited.
Accompanying drawing explanation
Accompanying drawing herein is merged in description and constitutes the part of this specification, it is shown that meet the enforcement of the present inventionExample, and for explaining the principle of the present invention together with description.
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existingHave
In technology description, the required accompanying drawing used is briefly described, it should be apparent that, for ordinary skillPeople
For Yuan, on the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is a kind of scene schematic diagram playing video in prior art on display terminal;
Fig. 2 is the another kind of scene schematic diagram playing video in prior art on display terminal;
Fig. 3 is the method flow diagram that the embodiment of the present invention one adjusts video playback window;
Fig. 4 is the method flow diagram that the embodiment of the present invention two adjusts video playback window;
Fig. 5 is the effect schematic diagram that the present invention implements three adjustment video playback window;
Fig. 6 is the effect schematic diagram that the embodiment of the present invention four adjusts video playback window;
Fig. 7 is a kind of effect schematic diagram after utilizing embodiment of the present invention method to be adjusted video playback window;
Fig. 8 is another the effect schematic diagram after utilizing embodiment of the present invention method to be adjusted video playback window;
Fig. 9 is the structural representation that the embodiment of the present invention one adjusts the device of video playback window;
Figure 10 is the structural representation that the embodiment of the present invention two adjusts the device of video playback window;
Figure 11 is a kind of structural representation of embodiment of the present invention display terminal.
Detailed description of the invention
For the technical scheme making those skilled in the art be more fully understood that in the present invention, real below in conjunction with the present inventionExecute the accompanying drawing in example, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described enforcementExample is only a part of embodiment of the present invention rather than whole embodiments.Based on the embodiment in the present invention, this area is commonThe every other embodiment that technical staff is obtained under not making creative work premise, all should belong to present invention protectionScope.
Fig. 1 is a kind of scene schematic diagram playing video in prior art on display terminal.As it is shown in figure 1, when usingDuring the player plays video of display terminal 1 this locality, video playback window 2 is played in full screen pattern, and video playback window 2 does not props upHold user window size is adjusted.
Fig. 2 is the another kind of scene schematic diagram playing video in prior art on display terminal.As in figure 2 it is shown, when logicalCrossing access network when playing video on the page, a kind of situation is to have out of Memory viewing area 3 on the page playing video,Such as actor information, collection ordered series of numbers table etc., under this kind of scene, video playback window 2 can have played in full screen pattern and as shown in Figure 2Wicket play mode, wherein wicket play mode refers to that video playback window 2 is with the window pre-set on webpageSize plays out video, and the size of video playback window 2 does not the most support the adjustment of user.Further, user is by accessing netAnother situation of video play on the page by network, and video playback window 2 is exactly an independent window, and this window does not hasHaving out of Memory viewing area, under this kind of scene, video playback window 2 plays video with full form.
As fully visible, when playing video on display terminal at present, the size of video playback window is all pre-fixed, user at most selects in full frame and non-full frame stationary window both of which, and video playback window does not support oneself of userMain modulation.
Not supporting user's technical problem from main modulation to solve current video broadcast window, the embodiment of the present invention providesA kind of method adjusting video playback window, in the method, the display terminal monitoring users adjustment to video playback windowGesture, window size is adjusted according to the adjustment gesture of user, thus solves in prior art by display terminal, and video is broadcastPut window and do not support user's technical problem from main modulation.
The scheme that the embodiment of the present invention adjusts video playback window below with reference to accompanying drawing is described in detail.
Fig. 3 is the method flow diagram that the embodiment of the present invention one adjusts video playback window.The executive agent of method shown in Fig. 3For having the display terminal of touch screen, this display terminal includes but not limited to the equipment such as TV, computer, mobile phone, advertisement machine, such as figureShown in 3, the process step of the method includes:
Step S11: the window that monitoring users sends on video playback window adjusts gesture.
In embodiments of the present invention, display terminal pre-sets the window adjustment for being adjusted video playback windowGesture.User is during viewing video, and all kinds of gestures that display terminal monitoring users sends on video playback window are movedMake, when the gesture motion that user sends adjust with the window that pre-sets gesture consistent time, display terminal determines and receives windowAdjust gesture.
Wherein, it can be all kinds of gestures meeting practical application request that window adjusts gesture, as window adjusts gesture for usingThe gesture of video playback window is clicked at family, and the most such as, it is the gesture that two fingers slide round about that window adjusts gesture.
Step S12: adjust gesture according to window, determine video playback window target size extremely to be adjusted.
In the embodiment of the present invention, window adjust gesture and video playback window needs adjust to size corresponding.When aobviousShow that terminal monitoring adjusts after gesture to window, display terminal according to window adjust gesture and window needs adjust to size rightShould be related to, determine video playback window target size extremely to be adjusted.
Such as, when window adjust gesture be the gesture that user clicks on video playback window time, display terminal can according toFamily click on video playback window number of times, determine video playback window need adjust to target size.
The most such as, when window adjustment gesture is the gesture that two fingers slide round about, display terminal can basisUser with the distance that two fingers slide determine video playback window need adjust to target size.
Step S13: by the size adjusting of video playback window to target size.
After display terminal determines that video playback window needs the target size adjusted, display terminal is by video playback windowSize adjusting is to target size.
To sum up, in embodiment of the present invention method, display terminal adjusts gesture according to the window that user sends and determines that video is broadcastPut window need to adjust to target size, and video playback window is adjusted to corresponding target size, it is seen then that the present inventionEmbodiment method display terminal can adjust gesture according to the window of user to be carried out from main modulation the size of video playback window,Thus solving in prior art, video playback window does not support user's technical problem from main modulation.
Fig. 4 is the method flow diagram that the embodiment of the present invention two adjusts video playback window.The executive agent of method shown in Fig. 4For having the display terminal of touch screen, wherein, this display terminal includes but not limited to that TV, computer, mobile phone, advertisement machine etc. setStandby.In method shown in Fig. 4, it is the gesture that two fingers slide round about, as shown in Figure 4, the method that window adjusts gestureMain processing steps includes:
Step S21: monitoring users gesture motion on video playback window.
Such as, display terminal is by the gesture motion of the OnTouchEvent monitoring users in player control.
Step S22: when listening to user two finger pressing video playback window for the first time, record between two fingers is initialSpacing.
When user is with two finger pressing screens, trigger ACTION_POINTER_DOWN event, now display terminal recordInitial separation between user two finger.
Step S23: when user two finger is slided round about by initial position, two fingers often slide into one and fixSpacing between location records once two fingers.
When two fingers of user are slided round about by initial position, trigger ACTION_MOVE event.Wherein, existTwo fingers of user slide into a fixed position to I haven't seen you for ages during sliding, and in embodiment of the present invention method, user twoFinger often slides into the spacing between fixed position record once two fingers.
Step S24: when two fingers are slided round about by initial press position, two fingers often slide into one and fixPosition, all determines once the ratio of the current spacing between two fingers and initial separation.
Step S25: play according to the ratio between current spacing and the initial separation between two fingers and current videoThe size of window, determines video playback window target size extremely to be adjusted.
Step S26: determine every time video playback window need adjust to target size after, all by video playback windowSize adjusting is to target size.
In embodiment of the present invention scheme, the two finger pressing screens of user trigger ACTION_POINTER_DOWN event, aobviousShow the initial separation between terminal record user two finger.When two fingers of user are slided round about by initial press positionTime, two fingers often slide into the current spacing between fixed position record once two fingers, and by current spacing with initialSpacing compares, the display terminal current spacing according to two fingers and the ratio of initial separation, determines that video playback window needsAdjust to target size, display terminal determine after target size every time all by the size adjusting of video playback window to accordinglySize.
Fig. 5 is the effect schematic diagram that the present invention implements three adjustment video playback window.As it is shown in figure 5, the process of the methodStep includes:
(1) display terminal monitoring users gesture motion on video playback window.
(2) when listening to user two finger pressing video playback window for the first time, between display terminal record two fingerInitial separation.
In Fig. 5, when user's initial press video playback window, initial between display terminal record user two fingerSpacing between spacing, i.e. AB.
(3) when two fingers listening to user are respectively slid to CD position by AB initial position, display terminal record twoCurrent spacing between finger, i.e. spacing between CD, wherein, two fingers are respectively slid to the side of CD position by AB initial positionTo the direction amplified for video playback window.
(4) display terminal calculates the ratio between CD and AB, it is assumed that the spacing between CD is 1.5 times of the spacing between AB(this ratio can be arbitrary value during reality adjusts), display terminal determines 1.5 of window size corresponding to initial separationThe most whether between default minimum display size to full screen display size;When window size corresponding to initial separation 1.5 timesTime between default minimum display size to full screen display size, determine that 1.5 times of window size corresponding to initial separation areVideo playback window target size extremely to be adjusted;When 1.5 times of window size corresponding to initial separation more than full screen display chiTime very little, determine and be displayed in full screen a size of video window target size extremely to be adjusted.
(5) size adjusting of video playback window is the target size determined in (4) by display terminal, as gone back in Fig. 5Show the effect schematic diagram after being amplified by video playback window.
(6) when display terminal is continued to slide toward the direction amplifying window from CD position, display terminal repeats above-mentioned (3) extremely(5) step.
Visible, by the method for the embodiment of the present invention, video playback window can be carried out arbitrary dimension tune up untilFull screen display.
Based on the user operation shown in Fig. 5, in the alternatively possible implementation of the embodiment of the present invention, when display is wholeAfter holding two fingers listening to user to be slid into CD position by AB position, determine the glide direction of user two finger, as Fig. 5 isThe width of video playback window.When user two finger is width by the glide direction of AB position to CD position, aobviousShow that the ratio of the spacing between the spacing between CD and AB is multiplied by the width dimensions of current video broadcast window by terminal;Display is eventuallyEnd, according to the new width dimensions obtained after being multiplied, determines video playback window target size extremely to be adjusted.
Concrete, display terminal according to width dimensions newly obtained after being multiplied, determines that video playback window is to be adjusted extremelyThe mode of target size includes:
Display terminal determines whether newly obtained width dimensions exceedes default greatest width dimension (the maximum width such as screenDegree), if newly obtained width dimensions exceedes default greatest width dimension, then display terminal determines default greatest width dimensionFor video playback window width dimensions extremely to be adjusted, the length dimension of video playback window is constant;If newly obtained broad-rulerThe very little greatest width dimension being not above presetting, then display terminal determines the width that newly obtained width dimensions is video playback windowDegree direction need adjust to size, lengthwise dimension is constant.
Or;
Display terminal determines whether newly obtained width dimensions exceedes with the ratio of the length dimension of video playback windowPreset maximum ratio, if exceeded preset maximum ratio, then display terminal by the width dimensions of video playback window with regardFrequently the width dimensions that the length dimension of broadcast window is corresponding when being maximum ratio is defined as the width of video playback window to be neededAdjust to size, the size constancy of length direction;If newly obtained width dimensions and the length dimension of video playback windowRatio be not above the maximum preset, then display terminal using newly obtained width dimensions as the width of video playback windowNeed adjust to size, lengthwise dimension is constant.
In other a kind of possible implementation, two fingers of user are by the initial position cunning to a certain fixed positionDynamic direction is the length direction of video playback window.When user two finger is by the initial position glide direction to a certain fixed positionDuring for length wise, display terminal is by the ratio of initial separation Y between two fingers spacing X and two fingers when this fixed positionValue is multiplied by the length dimension of current video broadcast window;Display terminal, according to the new length dimension obtained after being multiplied, determines and regardsFrequently broadcast window target size extremely to be adjusted.
Concrete, display terminal according to length dimension newly obtained after being multiplied, determines that video playback window is to be adjusted extremelyThe mode of target size includes:
Display terminal determines whether newly obtained length dimension exceedes default greatest length size (such as greatly enhancing most of screenDegree), if newly obtained length dimension exceedes default greatest length size, then display terminal determines default greatest length sizeFor video playback window length dimension extremely to be adjusted, the width dimensions of video playback window is constant;If newly obtained length rulerThe very little greatest length size being not above presetting, then display terminal determines the length that newly obtained length dimension is video playback windowDegree direction need adjust to size, width size constancy.
Or;
Display terminal determines whether newly obtained length dimension exceedes with the ratio of the width dimensions of video playback windowPreset maximum ratio, if exceeded preset maximum ratio, then display terminal by the length dimension of video playback window with regardFrequently the length dimension that the width dimensions of broadcast window is corresponding when being maximum ratio is defined as the length direction of video playback windowNeed adjust to size, the size constancy of width;If newly obtained length dimension and the broad-ruler of video playback windowVery little ratio is not above the maximum preset, then display terminal using newly obtained length dimension as the length of video playback windowDegree direction need adjust to size, width size constancy.
Fig. 6 is the effect schematic diagram that the embodiment of the present invention four adjusts video playback window.As shown in Figure 6, the place of the methodReason step includes:
(1) display terminal monitoring users gesture motion on video playback window.
(2) when initially listening to user two finger pressing video playback window, between display terminal record two fingerInitial separation.
In Fig. 6, when user's initial press video playback window 2, display terminal 1 records at the beginning of between user two fingerSpacing between beginning spacing, i.e. MN.
(3) when two fingers listening to user are respectively slid to PQ position by MN beginning position, display terminal 1 records two handssCurrent spacing between finger, i.e. spacing between PQ, wherein, the direction that two fingers are respectively slid to PQ position by MN beginning position isThe direction that video playback window 2 reduces.
(4) display terminal 1 calculates the ratio between PQ and MN, it is assumed that the ratio of the spacing between spacing and MN between PQBeing 0.8 (this ratio can be arbitrary value during reality adjusts), display terminal 1 determines window size corresponding to initial separation0.8 times whether between default minimum display size to full screen display size;When window size corresponding to initial separation0.8 times, when default minimum display size is extremely displayed in full screen between size, determines 0.8 of window size corresponding to initial separationIt is video playback window 2 target size extremely to be adjusted again;When 0.8 times of window size corresponding to initial separation less than presettingDuring minimum display size, determine that default minimum shows dimensions as video playback window 2 target size extremely to be adjusted.
(5) target size will determined in the size adjusting of video playback window 2 to (4), will regard as shown in Fig. 6Frequently the effect schematic diagram after broadcast window 2 is turned down.
Embodiment of the present invention method can continue to reduce video playback window 2 according to (3) to (5) step, untilVideo playback window 2 is contracted to minimum dimension set in advance.Certainly embodiment of the present invention method can also with Fig. 5 in regardingFrequently the step that broadcast window 2 is amplified combines.
Based on the user operation shown in Fig. 6, in the alternatively possible implementation of the embodiment of the present invention, when display is wholeAfter two fingers that end 1 listens to user are slid into PQ position by MN position, determine the glide direction of user two finger, in Fig. 6Width for video playback window 2.When user two finger is width by the glide direction of MN position to PQ position,The ratio of the spacing between the spacing between MN and PQ is multiplied by the width dimensions of current video broadcast window 2 by display terminal 1;AobviousShow that terminal 1, according to the new width dimensions obtained after being multiplied, determines video playback window 2 target size extremely to be adjusted.
Concrete, display terminal 1, according to width dimensions newly obtained after being multiplied, determines that video playback window 2 is to be adjusted extremelyThe mode of target size include:
Display terminal 1 determines whether newly obtained width dimensions is less than the minimum width dimension preset, if newly obtained widthDegree is smaller in size than default minimum width dimension, then default minimum width dimension is defined as video playback window by display terminal 1Mouth video playback window 2 width dimensions extremely to be adjusted, the length dimension of video playback window video playback window 2 is constant;IfNewly obtained width dimensions is not less than the minimum width dimension preset, then newly obtained width dimensions is defined as by display terminal 1The width of video playback window video playback window 2 need to adjust to size, lengthwise dimension is constant.
Or;
Display terminal 1 determines whether newly obtained width dimensions is less than with the ratio of the length dimension of video playback window 2The minimum ratio preset, if less than the minimum ratio preset, then width dimensions and length dimension are minimum ratio by display terminal 1Time corresponding width dimensions be defined as the width of video playback window 2 need to adjust to size, the chi of length directionVery little constant;If newly obtained width dimensions is not less than the minima preset, then with the ratio of the length dimension of video playback window 2Display terminal 1 using newly obtained width dimensions as video playback window 2 width need adjust to size, length direction chiVery little constant.
In other a kind of possible implementation, two fingers of user are by the initial position cunning to a certain fixed positionDynamic direction is the length direction of video playback window.When user two finger is by the initial position glide direction to a certain fixed positionDuring for length wise, display terminal is by the ratio of the initial separation between two fingers spacing and two fingers when this fixed positionIt is multiplied by the length dimension of current video broadcast window;Display terminal, according to the new length dimension obtained after being multiplied, determines videoBroadcast window target size extremely to be adjusted.
Concrete, display terminal according to length dimension newly obtained after being multiplied, determines that video playback window is to be adjusted extremelyThe mode of target size includes:
Display terminal determines whether newly obtained length dimension is less than the minimum length size preset, if newly obtained lengthBe smaller in size than default minimum length size, then display terminal determines that default minimum length a size of video playback window is waited to adjustWhole length dimension extremely, the width dimensions of video playback window is constant;If newly obtained length dimension is not less than the minimum presetLength dimension, then display terminal determine length direction that newly obtained length dimension is video playback window need to adjust to chiVery little, width size constancy.
Or;
Display terminal determines that whether newly obtained length dimension and the ratio of the width dimensions of video playback window are less than pre-If minimum ratio, if less than preset minimum ratio, then the length dimension of video playback window is broadcast by display terminal with videoPut length dimension corresponding when the width dimensions of window is minimum ratio and be defined as the length direction needs of video playback windowAdjust to size, the size constancy of width;If the width dimensions of newly obtained length dimension and video playback windowRatio not less than the minima preset, then display terminal using newly obtained length dimension as the length direction of video playback windowNeed adjust to size, width size constancy.
Fig. 7 shows that a kind of effect after utilizing embodiment of the present invention method to be adjusted video playback window is illustratedFigure.As it is shown in fig. 7, when video playback window 2 occupies an independent page, can will be accounted for by the method display terminal 1Adjust to arbitrary dimension according to the video playback window 2 of individual page, especially, need answering of display when display terminal 1 has otherDuring with (as calendar, wechat and browser etc. are applied), other needs can not be blocked by the size adjusting video playback window 2The application of display.
Fig. 8 shows that another effect after utilizing embodiment of the present invention method to be adjusted video playback window is illustratedFigure.As shown in Figure 8, when also comprising out of Memory viewing area 3 on the same interface showing video playback window, will regardFrequently the size adjusting of broadcast window 2 is to after target size, and display terminal 1 adjusts the size of other viewing area 3 the most further,Wherein Fig. 8 may be considered on the basis of Fig. 2, the effect signal after adjusting video playback window 2 and other viewing area 3Figure.
By the description of above embodiment of the method, those skilled in the art is it can be understood that arrive the present invention in factExecute example to add the mode of required general hardware platform by software and realize, naturally it is also possible to by hardware, but a lot of situationLower the former be more preferably embodiment.Based on such understanding, the technical scheme of the embodiment of the present invention is the most in other words to existingThe part having technology to contribute can embody with the form of software product, and this computer software product is stored in one and depositsIn storage media, including some instructions with so that a computer equipment (can be personal computer, server, or networkEquipment etc.) perform each embodiment method of the present invention all or part of step.And aforesaid storage medium includes: read-only storageThe various media that can store program code such as device (ROM), random access memory (RAM), magnetic disc or CD.
The embodiment of the method adjusting video playback window provided with the embodiment of the present invention is corresponding, and the embodiment of the present invention is alsoProvide the device adjusting video playback window.
Fig. 9 is the structural representation that the embodiment of the present invention one adjusts the device of video playback window.As it is shown in figure 9, this dressPut and include monitoring module 31, determining module 32 and adjusting module 33, wherein:
Monitoring module 31, the window sent on video playback window for monitoring users adjusts gesture;
Determine module 32, for adjusting gesture according to window, determine video playback window target size extremely to be adjusted, itsIn, the value of target size is that default minimum display size is to any value being displayed in full screen between size;
Adjusting module 33, is used for the size adjusting of video playback window to target size.
Figure 10 is the structural representation that the embodiment of the present invention two adjusts the device of video playback window.As shown in Figure 10, shouldDevice includes: monitor module 31, determine module 32 and adjusting module 33, this monitoring module 31, determine module 32 and adjustStep performed by module 33 and each module in Fig. 9 is identical, the step performed based on each module of Fig. 9, in embodiments of the present invention,Window adjusts gesture and is specially the gesture that two fingers slide round about.
Further, in embodiments of the present invention, module 31 is monitored, including: monitoring unit 311 and record unit 312, itsIn:
Monitoring unit 311, for monitoring users gesture motion on video playback window;
Record unit 312, for when listening to user two finger pressing video playback window for the first time, record two fingers itBetween initial separation;When two fingers are slided round about by initial press position, two fingers often slide into a fixed bitPut the spacing between record once two fingers.
In embodiments of the present invention, determine module 32, including: first determines that unit 321 and second determines unit 322, itsIn:
First determines unit 321, and for when two fingers are slided round about by initial press position, two fingers are often slidedMove to a fixed position, all determine once the ratio of the current spacing between two fingers and initial separation;
Second determines unit 322, for according to the ratio between current spacing and the initial separation between two fingers andThe size of current video broadcast window, determines video playback window target size extremely to be adjusted.
In embodiments of the present invention, second determines that unit 322 can be specifically for:
The ratio between current spacing and initial separation between referring to two is multiplied by the size of current video broadcast window,To target size undetermined;
Determine that target size undetermined is whether between default minimum display size to full screen display size;
When target size undetermined is between default minimum display size to full screen display size, determine chi to be set the goalVery little for video playback window target size extremely to be adjusted;
When target size undetermined is more than full screen display size, determine that to be displayed in full screen a size of video window to be adjusted extremelyTarget size;
When target size undetermined is less than the minimum display size preset, determine that default minimum shows dimensions as video windowMouth target size extremely to be adjusted.
In embodiments of the present invention, second determines that unit 322 can also be specifically for:
Determine that user two finger is by the length that glide direction is video playback window of initial press position to current locationDirection or width;
When user two finger is length direction by the glide direction of initial press position to current location, by two fingers itBetween current spacing and initial separation between ratio be multiplied by the length dimension of current video broadcast window;Obtain according to after being multipliedNew length dimension, determine video playback window target size extremely to be adjusted;
When user two finger is width by the glide direction of initial press position to current location, by two fingers itBetween current spacing and initial separation between ratio be multiplied by the width dimensions of current video broadcast window;Obtain according to after being multipliedNew width dimensions, determine video playback window target size extremely to be adjusted.
In embodiments of the present invention, when also comprising out of Memory viewing area on the same interface of display video playback windowDuring territory, adjusting module 33, by after the size adjusting of video playback window to target size, is additionally operable to adjust out of Memory and showsThe size in region.
The device adjusting video playback window that the embodiment of the present invention provides is able to carry out the tune in said method embodimentThe method of whole video playback window, the method details specifically realized sees embodiment of the method, and here is omitted.
The embodiment of the present invention also provides for a kind of display terminal 41, and as shown in figure 11, this display terminal 41 includes: at least oneProcessor 411, at least one bus 412, at least one communication interface 413 and at least one memorizer 414, wherein,
Memorizer 414 is used for storing computer executed instructions;Memorizer 204 can include read only memory and random access memoryMemorizer, and provide instruction and data to processor 201.A part for memorizer 204 can also include that non-volatile random is depositedAccess to memory (NVRAM, Non-Volatile Random Access Memory);
Processor 411 is connected by bus 412 with communication interface 413, memorizer 414;
In an embodiment of the invention, when computer runs, processor 411 performs the meter of storage in memorizer 414Calculation machine performs instruction, and processor 411 can perform the step in embodiment illustrated in fig. 6, be used for:
The window that monitoring users sends on video playback window adjusts gesture;
Adjust gesture according to window, determine video playback window target size extremely to be adjusted, wherein, taking of target sizeValue is extremely displayed in full screen any value between size for the minimum display size preset;
By the size adjusting of video playback window to target size.
Alternatively, window adjusts gesture is the gesture that two fingers slide round about.
Alternatively, the window that monitoring users sends on video playback window adjusts gesture, including:
Monitoring users gesture motion on video playback window;
When listening to user two finger pressing video playback window for the first time, record the initial separation between two fingers;
When two fingers are slided round about by initial press position, two fingers often slide into a fixed position recordThe once spacing between two fingers.
It is understood that the embodiment of the present invention can be used in numerous general or special purpose computing system environment or configuration.Such as: personal computer, server computer, handheld device or portable set, laptop device, multicomputer system, baseIn the system of microprocessor, set top box, programmable consumer-elcetronics devices, network PC, minicomputer, mainframe computer, bagInclude distributed computing environment of any of the above system or equipment etc..
The embodiment of the present invention can be described in the general context of computer executable instructions, exampleSuch as program module.Usually, program module include perform particular task or realize the routine of particular abstract data type, program,Object, assembly, data structure etc..The embodiment of the present invention can also be put into practice in a distributed computing environment, distributed at theseIn computing environment, the remote processing devices connected by communication network perform task.In a distributed computing environment,Program module may be located in the local and remote computer-readable storage medium including storage device.
It should be noted that in this article, such as the relational terms of " first " and " second " or the like is used merely to oneIndividual entity or operation separate with another entity or operating space, and not necessarily require or imply these entities or operate itBetween exist any this reality relation or order.And, term " includes ", " comprising " or its any other variant are intended toContain comprising of nonexcludability, so that include that the process of a series of key element, method, article or equipment not only include thoseKey element, but also include other key elements being not expressly set out, or also include for this process, method, article or setStandby intrinsic key element.In the case of there is no more restriction, statement " including ... " key element limited, it is not excluded thatOther identical element is there is also in including the process of key element, method, article or equipment.
Those skilled in the art, after considering description and putting into practice inventive embodiments disclosed herein, will readily occur to thisOther embodiment of bright embodiment.The application is intended to any modification of the embodiment of the present invention, purposes or adaptability and becomesChanging, these modification, purposes or adaptations are followed the general principle of the embodiment of the present invention and include the embodiment of the present inventionUndocumented common knowledge in the art or conventional techniques means.Description and embodiments is considered only as exemplary,The true scope of the embodiment of the present invention and spirit are pointed out by claim below.
It should be appreciated that the embodiment of the present invention is not limited to accurate knot described above and illustrated in the accompanying drawingsStructure, and various modifications and changes can carried out without departing from the scope.The scope of the embodiment of the present invention is only by appended rightRequire to limit.

Claims (15)

CN201610552333.4A2016-07-132016-07-13Adjust the method for video playback window, device and display terminalPendingCN106201318A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201610552333.4ACN106201318A (en)2016-07-132016-07-13Adjust the method for video playback window, device and display terminal

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201610552333.4ACN106201318A (en)2016-07-132016-07-13Adjust the method for video playback window, device and display terminal

Publications (1)

Publication NumberPublication Date
CN106201318Atrue CN106201318A (en)2016-12-07

Family

ID=57478138

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201610552333.4APendingCN106201318A (en)2016-07-132016-07-13Adjust the method for video playback window, device and display terminal

Country Status (1)

CountryLink
CN (1)CN106201318A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106658116A (en)*2016-12-272017-05-10努比亚技术有限公司Playing control method and device and terminal
CN107888984A (en)*2017-11-152018-04-06北京小米移动软件有限公司Short video broadcasting method and device
CN108279826A (en)*2018-03-072018-07-13北京布卡互动科技有限公司A kind of more videos and Multiple Document Interface alignment placement method
CN108803979A (en)*2017-04-282018-11-13北京搜狗科技发展有限公司The method and apparatus of switching display pattern, the device for switching display pattern
CN108965976A (en)*2017-05-272018-12-07合信息技术(北京)有限公司The display control method and device of video window
CN110865758A (en)*2019-10-292020-03-06维沃移动通信有限公司Display method and electronic equipment
CN111669637A (en)*2020-05-092020-09-15西安震有信通科技有限公司Video playing position and interface adjusting method, terminal and storage medium
CN112306342A (en)*2020-10-142021-02-02广州朗国电子科技有限公司Large-screen and small-screen display mutual switching method and device, storage medium and electronic whiteboard
CN112911367A (en)*2019-12-032021-06-04腾讯科技(深圳)有限公司Video playing interface processing method and device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US8340654B2 (en)*2009-05-262012-12-25Lextech Labs LlcApparatus and method for video display and control for portable device
CN103888840A (en)*2014-03-272014-06-25电子科技大学Method and device for dragging and zooming video mobile terminal in real time
CN105159582A (en)*2015-08-272015-12-16广东欧珀移动通信有限公司Video region adjusting method and terminal
CN105260103A (en)*2015-10-082016-01-20广东欧珀移动通信有限公司Picture scaling method and electronic device
CN105607793A (en)*2014-11-252016-05-25联想(北京)有限公司Window adjusting method and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US8340654B2 (en)*2009-05-262012-12-25Lextech Labs LlcApparatus and method for video display and control for portable device
CN103888840A (en)*2014-03-272014-06-25电子科技大学Method and device for dragging and zooming video mobile terminal in real time
CN105607793A (en)*2014-11-252016-05-25联想(北京)有限公司Window adjusting method and electronic equipment
CN105159582A (en)*2015-08-272015-12-16广东欧珀移动通信有限公司Video region adjusting method and terminal
CN105260103A (en)*2015-10-082016-01-20广东欧珀移动通信有限公司Picture scaling method and electronic device

Cited By (14)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106658116B (en)*2016-12-272020-10-09努比亚技术有限公司Play control method, device and terminal
CN106658116A (en)*2016-12-272017-05-10努比亚技术有限公司Playing control method and device and terminal
CN108803979A (en)*2017-04-282018-11-13北京搜狗科技发展有限公司The method and apparatus of switching display pattern, the device for switching display pattern
CN108965976B (en)*2017-05-272022-02-11阿里巴巴(中国)有限公司Display control method and device for video window
CN108965976A (en)*2017-05-272018-12-07合信息技术(北京)有限公司The display control method and device of video window
CN107888984B (en)*2017-11-152021-03-09北京小米移动软件有限公司Short video playing method and device
CN107888984A (en)*2017-11-152018-04-06北京小米移动软件有限公司Short video broadcasting method and device
CN108279826A (en)*2018-03-072018-07-13北京布卡互动科技有限公司A kind of more videos and Multiple Document Interface alignment placement method
CN110865758A (en)*2019-10-292020-03-06维沃移动通信有限公司Display method and electronic equipment
CN110865758B (en)*2019-10-292022-02-22维沃移动通信有限公司Display method and electronic equipment
CN112911367A (en)*2019-12-032021-06-04腾讯科技(深圳)有限公司Video playing interface processing method and device and electronic equipment
CN112911367B (en)*2019-12-032022-04-19腾讯科技(深圳)有限公司Video playing interface processing method and device and electronic equipment
CN111669637A (en)*2020-05-092020-09-15西安震有信通科技有限公司Video playing position and interface adjusting method, terminal and storage medium
CN112306342A (en)*2020-10-142021-02-02广州朗国电子科技有限公司Large-screen and small-screen display mutual switching method and device, storage medium and electronic whiteboard

Similar Documents

PublicationPublication DateTitle
CN106201318A (en)Adjust the method for video playback window, device and display terminal
CN113010063B (en)File previewing method and device, electronic equipment and storage medium
US20110209080A1 (en)Display method and electronic device for using the same
US20170147184A1 (en)Method and electronic device for processing terminal folder
CN107463302B (en)Icon layout adjusting method and device
CN105094628A (en)Screen capture method and electronic device
CN110647704B (en)Page updating method, device and equipment
CN103164163A (en) Method and device for display adjustment
CN104571877A (en)Display processing method and device for pages
CN110825302A (en)Method for responding operation track and operation track responding device
CN104811812A (en)Audio and video play progress control method, apparatus and system
KR20130094054A (en)Apparatus and method for managing object in portable electronic device
KR20120079906A (en)Detecting method for a certain cut of moving image and portable device supporting the same
CN104423830A (en)Electronic device with dynamic jigsaw interface, updating method and updating system
CN107391117A (en) Light application split-screen processing method, device and electronic device
CN104615776A (en)Method and device for providing information to be displayed
KR20150044373A (en)Method for editing media and an electronic device thereof
US8930848B2 (en)Method for selecting area of content for enlargement, and apparatus and system for providing content
US20130074013A1 (en)Method, computer program and apparatus for enabling selection of an object on a graphical user interface
CN105824542A (en)Method and apparatus for starting application functions
CN104902335A (en)Method and device for controlling playback progress of multi-media file
KR20160074194A (en)Electronic device and method for controlling display of a screen
US20150287073A1 (en)Advertisement carousel system
CN114173175A (en) Media resource playback method, device, device and storage medium
US20070285387A1 (en)Output property adjusting apparatus and output property adjusting method

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
WD01Invention patent application deemed withdrawn after publication
WD01Invention patent application deemed withdrawn after publication

Application publication date:20161207


[8]ページ先頭

©2009-2025 Movatter.jp