CN105306997B - Mobile terminal playing mode switching method and device - Google Patents
Mobile terminal playing mode switching method and device Download PDFInfo
- Publication number
- CN105306997B CN105306997B CN201410238712.7A CN201410238712A CN105306997B CN 105306997 B CN105306997 B CN 105306997B CN 201410238712 A CN201410238712 A CN 201410238712A CN 105306997 B CN105306997 B CN 105306997B
- Authority
- CN
- China
- Prior art keywords
- played
- video content
- view
- full screen
- mobile terminal
- 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.)
- Active
Links
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Controls And Circuits For Display Device (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
This application discloses a kind of mobile terminal playing mode switching method and devices.In this method, full frame empty view is created first, and create a played in full screen view, the played in full screen view is made to cover the full frame empty view;Then video content to be played is loaded onto the played in full screen view;After receiving rotation of mobile terminal angle, rotation is loaded onto the video content of the played in full screen view, and plays postrotational video content in the played in full screen view.The mobile terminal playing mode switching method passes through rotating video content, realize the switching of mobile terminal playing mode, non- screen mode toggle under vertical screen form is switched to the screen mode toggle under transverse screen form, and in handoff procedure, the video content for no longer needing to show network view typesetting again, reduce the consumption of the hardware resources such as CPU, to accelerate handover process, enables video smooth playing.
Description
Technical field
The present invention relates to technical field of information processing, in particular to a kind of mobile terminal playing mode switching method and dress
It sets.
Background technique
Currently, the performance of mobile terminal increasingly improves, user can be by mobile terminal accessing browser, and utilizes browsing
Device directly plays network video.
When using mobile terminal playing network video, the broadcast mode of default is usually non-screen mode toggle.Non- full frame
Under mode, network video plays usually in the form of vertical screen.In order to improve visual experience, user is more likely to see under screen mode toggle
See network video, under screen mode toggle, network video plays usually in the form of transverse screen.In order to watch screen mode toggle in the form of transverse screen
Under network video, mobile terminal needs to carry out switching from non-screen mode toggle to screen mode toggle, and from vertical screen form to cross
The switching of screen form, in the form of by vertical screen under non-screen mode toggle switch to the screen mode toggle under transverse screen form.The prior art exists
It is to isolate the View (view) where video from WebView (webpage view) when switching the broadcast mode of mobile terminal
Come, is put on a full frame View, and entire WebView is allowed to rotate to be transverse screen display.The content of video can transverse screen in this way
Played in full screen utilizes screen space.WebView is rotated under this implementation, will lead in browser
Core typesetting again.Returned to after played in full screen it is non-it is full frame under web displaying, WebView occurs once again from transverse screen
It is switched to the rotation of vertical screen, will lead to browser kernel can carry out a typesetting again again.And browser kernel typesetting is related to wanting
Each web page element is needed to recalculate coordinate and size, so if causing browser kernel to webpage in horizontal/vertical screen switching
Typesetting again can occupy the hardware resources such as many CPU, further result in that switch speed is slack-off, and the process of typesetting again
In, user can be appreciated that a chaotic webpage, poor user experience.
Summary of the invention
In order to solve the above-mentioned technical problem, the embodiment of the invention discloses following technical solutions:
In a first aspect, providing a kind of mobile terminal playing mode switching method, which comprises
Full frame empty view is created, and creates a played in full screen view, keeps the played in full screen view covering described complete
Shield empty view;
Video content to be played is loaded onto the played in full screen view;
According to the rotation of mobile terminal angle received, rotation is loaded onto the video content of the played in full screen view, and
Postrotational video content is played in the played in full screen view.
With reference to first aspect, in the first possible implementation of the first aspect, the method also includes:
According to the rotation of mobile terminal angle, rotating video control strip.
With reference to first aspect, in the second possible implementation of the first aspect, described will be in video to be played
Holding the step of being loaded onto the played in full screen view includes:
By player interface, the connection relationship of player Yu the played in full screen view is established;
By the connection relationship, the video content to be played for including in player is obtained, and will be described to be played
Video content is loaded onto the played in full screen view.
With reference to first aspect, in a third possible implementation of the first aspect, described will be in video to be played
Holding the step of being loaded onto the played in full screen view includes:
The video content to be played for including in player is stored into buffer;
The video content to be played in the buffer is replicated, and the video content after duplication is loaded onto described full frame
It plays on view.
With reference to first aspect, with reference to first aspect the possible implementation of the first, with reference to first aspect second
Possible implementation, the third possible implementation with reference to first aspect, in the 4th kind of possible reality of first aspect
In existing mode, the method also includes:
After the broadcasting for terminating the video content, the played in full screen view is deleted.
With reference to first aspect, with reference to first aspect the possible implementation of the first, the 5th kind in first aspect can
In the implementation of energy, the rotation of mobile terminal angle is 90+360 degree or 270+360 degree.
Second aspect, this application discloses a kind of mobile terminal playing mode switching device, described device includes:
Creation module for creating full frame empty view, and creates a played in full screen view, regards the played in full screen
Full frame empty view described in map combining;
Loading module, for video content to be played to be loaded onto the played in full screen view;
First rotary module, for according to the rotation of mobile terminal angle received, rotation to be loaded onto the played in full screen
The video content of view, and postrotational video content is played in the played in full screen view.
In conjunction with second aspect, in the first possible implementation of the second aspect, described device further include:
Second rotary module, for according to the rotation of mobile terminal angle, rotating video control strip.
In conjunction with second aspect, in a second possible implementation of the second aspect, the loading module includes:
Connection unit, for establishing the connection relationship of player Yu the played in full screen view by player interface;
First loading unit, for obtaining the video content to be played for including in player by the connection relationship,
And the video content to be played is loaded onto the played in full screen view.
In conjunction with second aspect, in the third possible implementation of the second aspect, the loading module includes:
Storage unit, for storing the video content to be played for including in player into buffer;
Second loading unit, for replicating the video content to be played in the buffer, and by the video after duplication
Content is loaded on the played in full screen view.
In conjunction with second aspect, in conjunction with the first possible implementation of second aspect, in conjunction with second of second aspect
Possible implementation, in conjunction with the third possible implementation of second aspect, in the 4th kind of possible reality of second aspect
In existing mode, described device further include:
Removing module, for deleting the played in full screen view after the broadcasting for terminating the video content.
In conjunction with second aspect, in conjunction with the first possible implementation of second aspect, the 5th kind in second aspect can
In the implementation of energy, the rotation of mobile terminal angle is 90+360 degree or 270+360 degree.
The third aspect, this application discloses it is a kind of with processor can be performed program code computer-readable medium,
Applied to mobile terminal, said program code makes processor execute following step:
Full frame empty view is created, and creates a played in full screen view, keeps the played in full screen view covering described complete
Shield empty view;
Video content to be played is loaded onto the played in full screen view;
According to the rotation of mobile terminal angle received, rotation is loaded onto the video content of the played in full screen view, and
Postrotational video content is played in the played in full screen view.
Embodiments herein discloses a kind of mobile terminal playing mode switching method.In this method, creation is complete first
Shield empty view, and create a played in full screen view, the played in full screen view is made to cover the full frame empty view;Then
Video content to be played is loaded onto the played in full screen view;After receiving rotation of mobile terminal angle, rotation load
The extremely video content of the played in full screen view, and postrotational video content is played in the played in full screen view.
The mobile terminal playing mode switching method realizes cutting for mobile terminal playing mode by rotating video content
It changes, the non-screen mode toggle under vertical screen form is switched into the screen mode toggle under transverse screen form, and in handoff procedure, browser is no longer
Need to webpage carry out typesetting again, reduce due to video screen switching when, browser kernel to the current video page again
The consumption of the hardware resources such as CPU caused by typesetting, and then handover process is accelerated, enable video smooth playing.
Further, the prior art is causing WebView (webpage view) to show current video page video screen switching
Screen shows messy code during the content in face, influences user experience.And the application is not necessarily to typesetting again, is not in messy code, into one
Step improves user experience.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention without any creative labor, may be used also for those of ordinary skill in the art
To obtain other drawings based on these drawings.
Fig. 1 is one embodiment flow chart of mobile terminal playing mode switching method disclosed by the invention;
Fig. 2 (a) is screen diagrams of the mobile terminal under non-screen mode toggle;
Fig. 2 (b) is using after mobile terminal playing mode switching method disclosed by the invention, and mobile terminal is in screen mode toggle
Under screen diagrams;
Fig. 2 (c) is using after mobile terminal playing mode switching method disclosed by the invention, and mobile terminal is in screen mode toggle
Under screen diagrams;
Fig. 3 is another embodiment flow chart of mobile terminal playing mode switching method disclosed by the invention;
Fig. 4 is in mobile terminal playing mode switching method disclosed by the invention, and a kind of principle for loading video content is shown
Example diagram;
Fig. 5 is to load another principle of video content in mobile terminal playing mode switching method disclosed by the invention
Exemplary diagram;
Fig. 6 is another embodiment flow chart of mobile terminal playing mode switching method disclosed by the invention;
Fig. 7 is another embodiment flow chart of mobile terminal playing mode switching method disclosed by the invention;
Fig. 8 is another embodiment flow chart of mobile terminal playing mode switching method disclosed by the invention;
Fig. 9 is one embodiment block diagram of mobile terminal playing mode switching device disclosed by the invention;
Figure 10 is another embodiment block diagram of mobile terminal playing mode switching device disclosed by the invention.
Specific embodiment
The following embodiment of the present invention provides a kind of mobile terminal playing mode switching method and device, to solve to shifting
When dynamic terminal plays mode switches over, video content again typesetting is taken considerable time, to influence video smooth playing
The problem of.
Technical solution in embodiment in order to enable those skilled in the art to better understand the present invention, and make of the invention real
The above objects, features, and advantages for applying example can be more obvious and easy to understand, with reference to the accompanying drawing to technical side in the embodiment of the present invention
Case is described in further detail.
Method flow schematic diagram shown in Figure 1, mobile terminal playing mode disclosed in embodiments herein switch
Method includes:
Step 11, the full frame empty view of creation, and a played in full screen view is created, cover the played in full screen view
The full frame empty view.
When user needs to play network video, the broadcast mode of mobile terminal default is non-screen mode toggle, if user selects
When selecting screen mode toggle broadcasting network video, mobile terminal needs to play out the switching of mode.The disclosure as set forth herein is mobile eventually
It holds in broadcast mode switching method, after creating full frame empty view, a played in full screen view need to be created again, and will be described complete
Screen plays view and is covered in the full frame empty view.
Video content to be played is loaded onto the played in full screen view by step 12.
The rotation of mobile terminal angle that step 13, basis receive, rotation are loaded onto the video of the played in full screen view
Content, and postrotational video content is played in the played in full screen view.
The specific value of the rotation of mobile terminal angle can be set according to the viewing demand of user.Due to non-complete
Under screen mode, video content is usually vertical screen form, and under screen mode toggle, video content is usually transverse screen form, therefore, for reality
The video content of vertical screen form is now switched to transverse screen form, the rotation of mobile terminal angle is usually 90 ± 360 degree or 270
± 360 degree.Certainly, according to the viewing demand of user, the rotation of mobile terminal angle can also be other numerical value, the application
It does not limit this.
Referring to fig. 2 (a) to Fig. 2 (c) mobile terminal screen diagrams.Wherein, the broadcast mode being directed in Fig. 2 (a)
For non-screen mode toggle, in the case of this kind, video content is presented in the form of vertical screen.The broadcast mode that Fig. 2 (b) is directed to is full screen mode
Formula in the case of this kind, completes the rotation to the video content according to rotation of mobile terminal angle, and the mobile terminal revolves
Gyration is 90 ± 360 degree, so that video content be made to present in the form of transverse screen in played in full screen view.What Fig. 2 (c) was directed to broadcasts
Mode is put as screen mode toggle, in the case of this kind, the rotation to the video content is completed according to rotation of mobile terminal angle, and
The rotation of mobile terminal angle is 270 ± 360 degree, to make the video content be in the form of transverse screen in played in full screen view
It is existing.
Embodiments herein discloses a kind of mobile terminal playing mode switching method.In this method, creation is complete first
Shield empty view, and create a played in full screen view, the played in full screen view is made to cover the full frame empty view;Then
Video content to be played is loaded onto the played in full screen view;After receiving rotation of mobile terminal angle, rotation load
The extremely video content of the played in full screen view, and postrotational video content is played in the played in full screen view.
The mobile terminal playing mode switching method realizes cutting for mobile terminal playing mode by rotating video content
It changes, the non-screen mode toggle under vertical screen form is switched into the screen mode toggle under transverse screen form, and in handoff procedure, browser is no longer
It needs to carry out typesetting again to webpage.When reducing due to video screen switching, need browser kernel to the current video page
The consumption for carrying out the hardware resources such as CPU caused by typesetting again enables video smoothness to broadcast to accelerate handover process
It puts.
Further, the prior art is causing WebView (webpage view) to show current video page video screen switching
Screen shows messy code during the content in face, influences user experience.And the application is not necessarily to typesetting again, is not in messy code, into one
Step improves user experience.
Referring to Fig. 3, mobile terminal playing mode switching method disclosed in the present application further include:
Step 14, according to the rotation of mobile terminal angle, rotating video control strip.
It in description above and workflow shown in Fig. 3, is completed in video in the operation for completing step 13
After the rotation of appearance, ability rotating video control strip.In practical applications, can also before or while rotating the video content,
Video control strip is rotated, the application does not limit this.
The rotation angle of the video control strip, it is identical as the rotation angle of the video content, convenient for user full frame
When watching video content under mode, video playing progress is known.
In addition, between step 12 and step 13, judgement operation can also be performed in order to avoid there is switching fault, it should
Judge whether the video content loaded in played in full screen view is vertical screen form in operation, if it is, according to mobile terminal
Rotation angle rotates video content, the switching of vertical screen mode to transverse screen mode is realized, if it is not, then illustrating the video
Content is currently transverse screen mode, is no longer rotated, and is directly played.
In step s 12, the step of video content to be played is loaded onto played in full screen view is disclosed, the step packet
Include a variety of implementations.Referring to fig. 4, in one of implementation, it is described video content to be played is loaded onto it is described complete
Shielding the step of playing view includes:
Step 121 passes through player interface, establishes the connection relationship of player Yu the played in full screen view.
Step 122, by the connection relationship, obtain the video content to be played for including in player, and will be described
Video content to be played is loaded onto the played in full screen view.
In scheme disclosed in step 121 to step 122, by player interface, player and played in full screen view are realized
Association, then obtain the player video content that includes, be loaded into the played in full screen view.
Optionally, referring to Fig. 5, in another implementation, it is described video content to be played is loaded onto it is described complete
Shielding the step of playing view includes:
Step 123 stores the video content to be played for including in player into buffer.
Video content to be played in step 124, the duplication buffer, and the video content after duplication is loaded onto
On the played in full screen view.
By scheme disclosed in step 123 to step 124, video content to be played can be loaded onto played in full screen view
In figure.
Further, embodiments herein also discloses a kind of mobile terminal playing mode switching method, referring to Fig. 6,
This method comprises:
Step 21, the full frame empty view of creation, and a played in full screen view is created, cover the played in full screen view
The full frame empty view.
Video content to be played is loaded onto the played in full screen view by step 22.
The rotation of mobile terminal angle that step 23, basis receive, rotation are loaded onto the video of the played in full screen view
Content, and postrotational video content is played in the played in full screen view.
Step 24, according to the rotation of mobile terminal angle, rotating video control strip
Step 21 is identical to the implementation process of step 24 and the implementation process of step 11 to step 14, can be cross-referenced, this
Place repeats no more.
Step 25, after the broadcasting for terminating the video content, delete the played in full screen view.
After the broadcasting for terminating video content, the played in full screen view is deleted, is in order to avoid the prior art occur and existing
After broadcast mode is switched to screen mode toggle, if video content terminates to play, browser needs again to comprising current video
Webpage carry out WebView again typesetting the problem of.
In mobile terminal playing mode switching method disclosed in the embodiment of the present application, after the broadcasting for terminating video content,
The played in full screen view is deleted, typesetting again is not needed, reduces the consumption to hardware resources such as CPU, and accelerates to be switched into
Journey saves the screens switch time, carries out other operations to mobile terminal convenient for user.Also, at the screen of mobile terminal not
Messy code is shown again, and the user experience is improved.
In order to make it easy to understand, being broadcast below by way of two specific embodiments to mobile terminal disclosed in the embodiment of the present application
The mode switching method of putting is introduced.
In the first embodiment, referring to Fig. 7, comprising the following steps:
Step 31, the full frame empty view of creation, and a played in full screen view is created, the played in full screen view is texture
View TextureView, and the TextureView is covered into the full frame empty view.
Step 32 passes through and calls player interface, and the TextureView is established a connection with player, will be broadcast
It puts video content to be played in device and is loaded onto TextureView.
Step 33 obtains the rotation of mobile terminal angle being arranged in matrix Matrix class, according to the rotation of mobile terminal
Angle rotates the video content, and postrotational video content is played in the TextureView.
Wherein, the rotation of mobile terminal angle being arranged in the Matrix class is usually 90 ± 360 degree or 270 ± 360 degree,
It can certainly be the other angles of user setting, the application does not limit this.The Matrix class is for providing in video
Hold rotation of mobile terminal angle required when rotation, also, the Matrix class can be loaded onto TextureView in video content
After create, can also be pre-created before step 32, the application does not limit this.
In addition, mobile terminal playing mode switching method disclosed in the embodiment of the present application further include:
Step 34 rotates video control strip using setRotate function, the angle of the video control strip rotation
It is identical as the rotation of mobile terminal angle.
The work flow diagram that foregoing description and Fig. 7 are provided is the ability rotating video control after completing to the rotation of video content
Item processed.In practical applications, video control strip can also be rotated before or while rotating the video content, this
Application does not limit this.
In the second embodiment, referring to Fig. 8, comprising the following steps:
Step 41, the full frame empty view of creation, and a played in full screen view is created, the played in full screen view is
GlSurfaceView (opengl Surface View, OpenGL surface view), and will be described
GlSurfaceView covers the full frame empty view.
Step 42 stores the video content to be played for including in player into buffer, and in duplicate cache device
Video content after duplication is loaded on the GlSurfaceView by video content to be played.
Step 43 obtains the rotation of mobile terminal angle being arranged in matrix Matrix class, according to the rotation of mobile terminal
Angle rotates the video content, and postrotational video content is played in the GlSurfaceView.
Wherein, the rotation of mobile terminal angle being arranged in the Matrix class is usually 90 ± 360 degree or 270 ± 360 degree,
It can certainly be the other angles of user setting, the application does not limit this.The Matrix class is for providing in video
Hold rotation of mobile terminal angle required when rotation, also, the Matrix class can be loaded onto TextureView in video content
After create, can also be pre-created before step 32, the application does not limit this.
In addition, mobile terminal playing mode switching method disclosed in the embodiment of the present application further include:
Step 44 rotates video control strip using setRotate function, the angle of the video control strip rotation
It is identical as the rotation of mobile terminal angle.
The work flow diagram that foregoing description and Fig. 8 are provided is the ability rotating video control after completing to the rotation of video content
Item processed.In practical applications, video control strip can also be rotated before or while rotating the video content, this
Application does not limit this.
Both examples above is respectively described when played in full screen view is TextureView and GlSurfaceView
When, method that the broadcast mode of mobile terminal is switched over.When switching broadcast mode due to above-mentioned two embodiment, do not need
Browser carries out typesetting again to current page, reduces because of the consumption of the hardware such as CPU caused by typesetting again, to accelerate
Handover process, so that screens switch rate is faster when playing video in a browser.Further, screen is avoided to switch
Occur messy code in journey, improves the experience of user.
Correspondingly, disclosed herein as well is a kind of mobile terminal playing mode switching devices, it is described mobile whole referring to Fig. 9
Holding broadcast mode switching device includes: creation module 100, loading module 200 and the first rotary module 300.
Wherein, the creation module 100 for creating full frame empty view, and creates a played in full screen view, makes institute
It states played in full screen view and covers the full frame empty view;
The loading module 200, for video content to be played to be loaded onto the played in full screen view;
First rotary module 300, for according to the rotation of mobile terminal angle received, rotation to be loaded onto described complete
Screen plays the video content of view, and plays postrotational video content in the played in full screen view.
Further, referring to Figure 10, the mobile terminal playing mode switching device further include: the second rotary module 400,
Second rotary module 400 is used for according to the rotation of mobile terminal angle, rotating video control strip.
The loading module 200 can be diversified forms.In one of way of realization, the loading module 200 includes:
Connection unit and the first loading unit.
Wherein, the connection unit, for establishing the company of player Yu the played in full screen view by player interface
Connect relationship;
First loading unit, for obtaining the video to be played for including in player by the connection relationship
Content, and the video content to be played is loaded onto the played in full screen view.
In another way of realization, the loading module 200 includes: storage unit and the second loading unit.
Wherein, the storage unit, for storing the video content to be played for including in player into buffer;
Second loading unit, for replicating the video content to be played in the buffer, and will be after duplication
Video content is loaded on the played in full screen view.
In addition, the mobile terminal playing mode switching device further include: removing module, the removing module is for tying
After the broadcasting of Shu Suoshu video content, the played in full screen view is deleted.
Wherein, the rotation of mobile terminal angle is 90+360 degree or 270+360 degree.
Correspondingly, disclosed herein as well is a kind of computer-readable medium of program code that can be performed with processor,
Applied to electronic equipment, when executed, said program code makes processor execute following step:
Full frame empty view is created, and creates a played in full screen view, keeps the played in full screen view covering described complete
Shield empty view;
Video content to be played is loaded onto the played in full screen view;
According to the rotation of mobile terminal angle received, rotation is loaded onto the video content of the played in full screen view, and
Postrotational video content is played in the played in full screen view.
Optionally, the step of said program code executes processor further include:
According to the rotation of mobile terminal angle, rotating video control strip.
Optionally, described the step of video content to be played is loaded onto the played in full screen view, includes:
By player interface, the connection relationship of player Yu the played in full screen view is established;
By the connection relationship, the video content to be played for including in player is obtained, and will be described to be played
Video content is loaded onto the played in full screen view.
Optionally, described the step of video content to be played is loaded onto the played in full screen view, includes:
The video content to be played for including in player is stored into buffer;
The video content to be played in the buffer is replicated, and the video content after duplication is loaded onto described full frame
It plays on view.
Optionally, the step of said program code executes processor further include: in the broadcasting for terminating the video content
Afterwards, the played in full screen view is deleted.
Optionally, the rotation of mobile terminal angle is 90+360 degree or 270+360 degree.
It is required that those skilled in the art can be understood that the technology in the embodiment of the present invention can add by software
The mode of general hardware platform realize.Based on this understanding, the technical solution in the embodiment of the present invention substantially or
Say that the part that contributes to existing technology can be embodied in the form of software products, which can deposit
Storage is in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are used so that computer equipment (can be with
It is personal computer, server or the network equipment;) execute certain part institutes of each embodiment of the present invention or embodiment
The method stated.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality
For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method
Part explanation.
The embodiments of the present invention described above are not intended to limit the scope of the present invention.It is any in the present invention
Spirit and principle within made modifications, equivalent substitutions and improvements etc., should all be included in the protection scope of the present invention.
Claims (13)
1. a kind of mobile terminal playing mode switching method, which is characterized in that the described method includes:
Full frame empty view is created except webpage view, and creates a played in full screen view, makes the played in full screen view
Cover the full frame empty view;
Video content to be played is loaded onto the played in full screen view;
According to the rotation of mobile terminal angle received, rotation is loaded onto the video content of the played in full screen view, and in institute
It states and plays postrotational video content in played in full screen view.
2. the method according to claim 1, wherein the method also includes:
According to the rotation of mobile terminal angle, rotating video control strip.
3. the method according to claim 1, wherein it is described video content to be played is loaded onto it is described full frame
Play view the step of include:
By player interface, the connection relationship of player Yu the played in full screen view is established;
By the connection relationship, the video content to be played for including in player is obtained, and by the video to be played
Content is loaded onto the played in full screen view.
4. the method according to claim 1, wherein it is described video content to be played is loaded onto it is described full frame
Play view the step of include:
The video content to be played for including in player is stored into buffer;
The video content to be played in the buffer is replicated, and the video content after duplication is loaded onto the played in full screen
On view.
5. according to method in any one of claims 1 to 4, which is characterized in that the method also includes:
After the broadcasting for terminating the video content, the played in full screen view is deleted.
6. method according to claim 1 or 2, which is characterized in that
The rotation of mobile terminal angle is 90+360 degree or 270+360 degree.
7. a kind of mobile terminal playing mode switching device, which is characterized in that described device includes:
Creation module for creating full frame empty view except webpage view, and creates a played in full screen view, makes described
Played in full screen view covers the full frame empty view;
Loading module, for video content to be played to be loaded onto the played in full screen view;
First rotary module, for according to the rotation of mobile terminal angle received, rotation to be loaded onto the played in full screen view
Video content, and play postrotational video content in the played in full screen view.
8. device according to claim 7, which is characterized in that described device further include:
Second rotary module, for according to the rotation of mobile terminal angle, rotating video control strip.
9. device according to claim 7, which is characterized in that the loading module includes:
Connection unit, for establishing the connection relationship of player Yu the played in full screen view by player interface;
First loading unit, for obtaining the video content to be played for including in player by the connection relationship, and will
The video content to be played is loaded onto the played in full screen view.
10. device according to claim 7, which is characterized in that the loading module includes:
Storage unit, for storing the video content to be played for including in player into buffer;
Second loading unit, for replicating the video content to be played in the buffer, and by the video content after duplication
It is loaded on the played in full screen view.
11. the device according to any one of claim 7 to 10, which is characterized in that described device further include:
Removing module, for deleting the played in full screen view after the broadcasting for terminating the video content.
12. device according to claim 7 or 8, which is characterized in that
The rotation of mobile terminal angle is 90+360 degree or 270+360 degree.
13. a kind of computer-readable medium for the program code that can be performed with processor, is applied to mobile terminal, feature exists
In said program code makes processor execute following step:
Full frame empty view is created except webpage view, and creates a played in full screen view, makes the played in full screen view
Cover the full frame empty view;
Video content to be played is loaded onto the played in full screen view;
According to the rotation of mobile terminal angle received, rotation is loaded onto the video content of the played in full screen view, and in institute
It states and plays postrotational video content in played in full screen view.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410238712.7A CN105306997B (en) | 2014-05-30 | 2014-05-30 | Mobile terminal playing mode switching method and device |
PCT/CN2014/093640 WO2015180448A1 (en) | 2014-05-30 | 2014-12-11 | Method and device for switching playing mode of mobile terminal, storage medium and program |
US15/315,269 US10643580B2 (en) | 2014-05-30 | 2014-12-11 | Method and device for switching playing mode of a mobile terminal, storage medium and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410238712.7A CN105306997B (en) | 2014-05-30 | 2014-05-30 | Mobile terminal playing mode switching method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105306997A CN105306997A (en) | 2016-02-03 |
CN105306997B true CN105306997B (en) | 2018-12-14 |
Family
ID=55203669
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410238712.7A Active CN105306997B (en) | 2014-05-30 | 2014-05-30 | Mobile terminal playing mode switching method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105306997B (en) |
Families Citing this family (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105898566A (en) * | 2016-04-29 | 2016-08-24 | 乐视控股(北京)有限公司 | Video content presenting switching method and device, and mobile play terminal |
CN105933792A (en) * | 2016-06-03 | 2016-09-07 | 青岛海信移动通信技术股份有限公司 | Video playing method and mobile terminal |
CN106201168A (en) * | 2016-06-27 | 2016-12-07 | 乐视控股(北京)有限公司 | Video playback picture display process, device and mobile terminal |
CN106604086B (en) * | 2016-12-08 | 2019-06-04 | 武汉斗鱼网络科技有限公司 | The played in full screen method and system of preview video in Android application |
CN108260018B (en) * | 2017-02-13 | 2020-05-22 | 广州市动景计算机科技有限公司 | Full screen setting method and device for webpage video and webpage video setting mobile device |
CN106878810A (en) * | 2017-03-13 | 2017-06-20 | 福建中金在线信息科技有限公司 | A kind of video broadcasting method and device |
CN107145269B (en) * | 2017-04-19 | 2023-06-23 | 腾讯科技(深圳)有限公司 | Data rotation method and device |
CN107239247B (en) * | 2017-05-27 | 2019-12-20 | 广州阿里巴巴文学信息技术有限公司 | Electronic equipment and content display method, device and storage medium thereof |
CN109144354B (en) * | 2017-06-15 | 2021-04-02 | 阿里巴巴(中国)有限公司 | Method and equipment for rotating player view layer |
CN107818006B (en) * | 2017-10-31 | 2021-03-12 | 北京酷我科技有限公司 | Method for full-screen playing of video |
CN108234763B (en) * | 2017-12-29 | 2021-02-26 | 阿里巴巴(中国)有限公司 | Horizontal and vertical screen switching method and device and terminal |
CN109213462B (en) * | 2018-08-07 | 2021-07-23 | 武汉斗鱼网络科技有限公司 | Android horizontal and vertical screen data synchronization method and device, terminal and readable medium |
WO2021180224A1 (en) * | 2020-03-13 | 2021-09-16 | 海信视像科技股份有限公司 | Display device |
CN112333514B (en) * | 2020-07-24 | 2024-02-06 | 深圳Tcl新技术有限公司 | Display mode switching method and device, intelligent television and computer readable storage medium |
CN111757164B (en) * | 2020-07-29 | 2022-08-26 | 北京百度网讯科技有限公司 | Video playing switching method and device, electronic equipment and storage medium |
CN113660516B (en) * | 2021-10-19 | 2022-01-25 | 北京易真学思教育科技有限公司 | Video display method, device, equipment and medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101382867A (en) * | 2008-10-28 | 2009-03-11 | 深圳市迅雷网络技术有限公司 | Video playing interaction method and terminal |
CN102905181A (en) * | 2012-10-12 | 2013-01-30 | 北京奇艺世纪科技有限公司 | Method for realizing on-line video playing on mobile terminal, underlying library and system |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080154889A1 (en) * | 2006-12-22 | 2008-06-26 | Pfeiffer Silvia | Video searching engine and methods |
KR20100067381A (en) * | 2008-12-11 | 2010-06-21 | 삼성전자주식회사 | Method for providing a physical user interface and a portable terminal therefor |
-
2014
- 2014-05-30 CN CN201410238712.7A patent/CN105306997B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101382867A (en) * | 2008-10-28 | 2009-03-11 | 深圳市迅雷网络技术有限公司 | Video playing interaction method and terminal |
CN102905181A (en) * | 2012-10-12 | 2013-01-30 | 北京奇艺世纪科技有限公司 | Method for realizing on-line video playing on mobile terminal, underlying library and system |
Also Published As
Publication number | Publication date |
---|---|
CN105306997A (en) | 2016-02-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105306997B (en) | Mobile terminal playing mode switching method and device | |
CN107596687B (en) | Game screen display system and method, storage medium, and electronic device | |
CN105630478A (en) | Method and device for realizing page switching | |
US20220139352A1 (en) | Method and Device for Image Composition, Electronic Device and Storage Medium | |
US8020099B1 (en) | Methods and apparatus of setting up interactive session of graphical interactive application based on video | |
CN103747362A (en) | Method and device for cutting out video clip | |
CN102685417B (en) | The method of television set zapping, device and television set | |
CN105898523B (en) | A kind of video broadcasting method and device | |
US10620810B2 (en) | Method and a system for performing scrubbing in a video stream | |
US11341706B2 (en) | Virtual scene display method and apparatus, and storage medium | |
CN107613116A (en) | Notification message processing method and device | |
EP3975126A1 (en) | Method and system for cloud-native 3d-scene game | |
CN107277412B (en) | Video recording method and device, graphics processor and electronic equipment | |
US20220210513A1 (en) | Start-up performance improvement for remote computer application | |
CN102364905A (en) | Data representation method and apparatus, and mobile terminal | |
CN109756766B (en) | Virtual gift display method, storage medium, electronic device and system of live broadcast platform | |
WO2015180448A1 (en) | Method and device for switching playing mode of mobile terminal, storage medium and program | |
CN107728809A (en) | A kind of application interface display methods, device and storage medium | |
CN105122826B (en) | System and method for displaying annotated video content by a mobile computing device | |
CN107231537A (en) | A kind of picture-in-picture switching method and apparatus | |
CN112565869B (en) | Window fusion method, device and equipment for video redirection | |
JP7093798B2 (en) | View switching | |
WO2019105062A1 (en) | Content display method, apparatus, and terminal device | |
CN106339235A (en) | Interface display method and device | |
CN104740873A (en) | Image rendering method for game |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20200710 Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province Patentee after: Alibaba (China) Co.,Ltd. Address before: 510627 Guangdong city of Guangzhou province Whampoa Tianhe District Road No. 163 Xiping Yun Lu Yun Ping B radio 16 floor tower square Patentee before: Guangzhou Dongjing Computer Technology Co.,Ltd. |
|
TR01 | Transfer of patent right |