CN105306997A - Mobile terminal play mode switching method and device - Google Patents

Mobile terminal play mode switching method and device Download PDF

Info

Publication number
CN105306997A
CN105306997A CN201410238712.7A CN201410238712A CN105306997A CN 105306997 A CN105306997 A CN 105306997A CN 201410238712 A CN201410238712 A CN 201410238712A CN 105306997 A CN105306997 A CN 105306997A
Authority
CN
China
Prior art keywords
played
video content
full screen
screen view
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.)
Granted
Application number
CN201410238712.7A
Other languages
Chinese (zh)
Other versions
CN105306997B (en
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.)
Alibaba China Co Ltd
Original Assignee
Guangzhou Dongjing Computer Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Dongjing Computer Technology Co Ltd filed Critical Guangzhou Dongjing Computer Technology Co Ltd
Priority to CN201410238712.7A priority Critical patent/CN105306997B/en
Priority to US15/315,269 priority patent/US10643580B2/en
Priority to PCT/CN2014/093640 priority patent/WO2015180448A1/en
Publication of CN105306997A publication Critical patent/CN105306997A/en
Application granted granted Critical
Publication of CN105306997B publication Critical patent/CN105306997B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a mobile terminal play mode switching method and device. The method comprises the following steps: at first, creating a full-screen blank view, creating a full-screen play view, and covering the full-screen blank view with the full-screen play view; then, loading the video content to be played in the full-screen play view; and after receiving a rotation angle of a mobile terminal, loading the rotation angle to the video content of the full-screen play view, and playing the rotated video content in the full-screen play view. The mobile terminal play mode switching method is used for rotating the video content to switch the mobile terminal play mode, and switching a non-full-screen mode in a vertical screen form into a full-screen mode in a horizontal screen form, and in a switching process, the video content displayed on a network view does not need to be re-composed, thereby reducing the consumption of CPU and other hardware resources, and then the switching process is accelerated to ensure smooth play of a video.

Description

Mobile terminal playing mode changing method and device
Technical field
The present invention relates to technical field of information processing, particularly a kind of mobile terminal playing mode changing method and device.
Background technology
At present, the performance of mobile terminal improves day by day, and user can pass through mobile terminal accessing browser, and utilizes browser to play-over Internet video.
When utilizing mobile terminal playing Internet video, the broadcast mode of acquiescence is generally non-screen mode toggle.Under non-screen mode toggle, Internet video is play with perpendicular screen form usually.In order to improve visual experience, user is more prone to watch Internet video under screen mode toggle, and under screen mode toggle, Internet video is play with horizontal screen form usually.In order to watch the Internet video under screen mode toggle with horizontal screen form, mobile terminal needs the switching carried out from non-screen mode toggle to screen mode toggle, and from perpendicular screen form to the switching of horizontal screen form, the non-screen mode toggle under perpendicular screen form to be switched to the screen mode toggle under horizontal screen form.Prior art, when switching the broadcast mode of mobile terminal, is separated from WebView (webpage view) by the View at video place (view), is put on a full frame View, and allows whole WebView rotate to be horizontal screen display to show.The content of such video just can horizontal screen played in full screen, utilizes screen space.Under this implementation, WebView rotates, and can cause browser kernel typesetting again.Web displaying under returning to non-fully screen after played in full screen terminates, there is the rotation once switching to perpendicular screen from horizontal screen in WebView, browser kernel can be caused again to carry out a typesetting more again.And browser kernel typesetting relates to and will need to recalculate coordinate and size to each web page element, if cause the again typesetting of browser kernel to webpage to take the hardware resources such as a lot of CPU so switch at horizontal/vertical screen, cause switch speed slack-off further, and in the process of typesetting again, user can see a chaotic webpage, poor user experience.
Summary of the invention
In order to solve the problems of the technologies described above, the embodiment of the invention discloses following technical scheme:
First aspect, provide a kind of mobile terminal playing mode changing method, described method comprises:
Create full frame empty view, and create a played in full screen view, make described played in full screen view cover described full frame empty view;
Video content to be played is loaded on described played in full screen view;
According to the rotation of mobile terminal angle received, rotate the video content being loaded on described played in full screen view, and play postrotational video content in described played in full screen view.
In conjunction with first aspect, in the first possible implementation of first aspect, described method also comprises:
According to described rotation of mobile terminal angle, rotating video control strip.
In conjunction with first aspect, in the implementation that the second of first aspect is possible, described step video content to be played being loaded on described played in full screen view comprises:
By player interface, set up the annexation of player and described played in full screen view;
By described annexation, obtain the video content to be played comprised in player, and described video content to be played is loaded on described played in full screen view.
In conjunction with first aspect, in the third possible implementation of first aspect, described step video content to be played being loaded on described played in full screen view comprises:
The video content to be played comprised in player is stored in buffer;
Copy the video content to be played in described buffer, and the video content after copying is loaded on described played in full screen view.
In conjunction with first aspect, in conjunction with the first possible implementation of first aspect, the implementation that the second in conjunction with first aspect is possible, in conjunction with the third possible implementation of first aspect, in the 4th kind of possible implementation of first aspect, described method also comprises:
After the broadcasting terminating described video content, delete described played in full screen view.
In conjunction with first aspect, in conjunction with the first possible implementation of first aspect, in the 5th kind of possible implementation of first aspect, described 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 shifter, described device comprises:
Creation module, for creating full frame empty view, and creates a played in full screen view, makes described played in full screen view cover described full frame empty view;
Load-on module, for being loaded on described played in full screen view by video content to be played;
First rotary module, for according to the rotation of mobile terminal angle received, rotates the video content being loaded on described played in full screen view, and play postrotational video content in described played in full screen view.
In conjunction with second aspect, in the first possible implementation of second aspect, described device also comprises:
Second rotary module, for according to described rotation of mobile terminal angle, rotating video control strip.
In conjunction with second aspect, in the implementation that the second of second aspect is possible, described load-on module comprises:
Linkage unit, for by player interface, sets up the annexation of player and described played in full screen view;
First loading unit, for by described annexation, obtains the video content to be played comprised in player, and described video content to be played is loaded on described played in full screen view.
In conjunction with second aspect, in the third possible implementation of second aspect, described load-on module comprises:
Memory cell, for being stored in buffer by the video content to be played comprised in player;
Second loading unit, for copying the video content to be played in described buffer, and is loaded on the video content after copying on described played in full screen view.
In conjunction with second aspect, in conjunction with the first possible implementation of second aspect, the implementation that the second in conjunction with second aspect is possible, in conjunction with the third possible implementation of second aspect, in the 4th kind of possible implementation of second aspect, described device also comprises:
Removing module, for after the broadcasting terminating described video content, deletes described played in full screen view.
In conjunction with second aspect, in conjunction with the first possible implementation of second aspect, in the 5th kind of possible implementation of second aspect, described rotation of mobile terminal angle is 90+360 degree or 270+360 degree.
The third aspect, this application discloses a kind of computer-readable medium with the executable program code of processor, is applied to mobile terminal, and described program code makes processor perform following step:
Create full frame empty view, and create a played in full screen view, make described played in full screen view cover described full frame empty view;
Video content to be played is loaded on described played in full screen view;
According to the rotation of mobile terminal angle received, rotate the video content being loaded on described played in full screen view, and play postrotational video content in described played in full screen view.
The embodiment of the application discloses a kind of mobile terminal playing mode changing method.In the method, first create full frame empty view, and create a played in full screen view, make described played in full screen view cover described full frame empty view; Then video content to be played is loaded on described played in full screen view; After receiving rotation of mobile terminal angle, rotate the video content being loaded on described played in full screen view, and play postrotational video content in described played in full screen view.
Described mobile terminal playing mode changing method is by rotating video content, realize the switching of mobile terminal playing mode, non-screen mode toggle under perpendicular screen form is switched to the screen mode toggle under horizontal screen form, and in handoff procedure, browser no longer needs to carry out typesetting again to webpage, decrease due to video screen switch time, browser kernel is to the consumption of the hardware resources such as the CPU that the current video page again typesetting causes, and then accelerate handover process, enable video smooth playing.
Further, prior art is screen display mess code during causing WebView (webpage view) to show the content of the current video page to video screen switching, affects Consumer's Experience.And the application is without the need to typesetting again, there will not be mess code, further increase Consumer's Experience.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is an embodiment flow chart of mobile terminal playing mode changing method disclosed by the invention;
Fig. 2 (a) is the screen diagrams of mobile terminal under non-screen mode toggle;
Fig. 2 (b) is after application mobile terminal playing mode changing method disclosed by the invention, the screen diagrams of mobile terminal under screen mode toggle;
Fig. 2 (c) is after application mobile terminal playing mode changing method disclosed by the invention, the screen diagrams of mobile terminal under screen mode toggle;
Fig. 3 is another embodiment flow chart of mobile terminal playing mode changing method disclosed by the invention;
Fig. 4 is in mobile terminal playing mode changing method disclosed by the invention, loads a kind of principle exemplary plot of video content;
Fig. 5 is in mobile terminal playing mode changing method disclosed by the invention, loads another principle exemplary plot of video content;
Fig. 6 is another embodiment flow chart of mobile terminal playing mode changing method disclosed by the invention;
Fig. 7 is another embodiment flow chart of mobile terminal playing mode changing method disclosed by the invention;
Fig. 8 is another embodiment flow chart of mobile terminal playing mode changing method disclosed by the invention;
Fig. 9 is an embodiment block diagram of mobile terminal playing mode switching device shifter disclosed by the invention;
Figure 10 is another embodiment block diagram of mobile terminal playing mode switching device shifter disclosed by the invention.
Embodiment
The following embodiment of the present invention provides a kind of mobile terminal playing mode changing method and device, to solve when switching mobile terminal playing mode, to the video content typesetting at substantial again time, thus affects the problem of video smooth playing.
Technical scheme in the embodiment of the present invention is understood better in order to make those skilled in the art person, and enable the above-mentioned purpose of the embodiment of the present invention, feature and advantage become apparent more, below in conjunction with accompanying drawing, technical scheme in the embodiment of the present invention is described in further detail.
Method flow schematic diagram shown in Figure 1, disclosed in the embodiment of the application, mobile terminal playing mode changing method comprises:
Step 11, create full frame empty view, and create a played in full screen view, make described played in full screen view cover described full frame empty view.
When user needs playing network video, the broadcast mode of mobile terminal acquiescence is non-screen mode toggle, if when user selects screen mode toggle playing network video, mobile terminal needs the switching carrying out broadcast mode.In mobile terminal playing mode changing method disclosed in the present application, after the full frame empty view of establishment, a played in full screen view need be created again, and described played in full screen view is covered in described full frame empty view.
Step 12, video content to be played is loaded on described played in full screen view.
The rotation of mobile terminal angle that step 13, basis receive, rotates the video content being loaded on described played in full screen view, and play postrotational video content in described played in full screen view.
The concrete numerical value of described rotation of mobile terminal angle, can set according to the viewing demand of user.Due under non-screen mode toggle, video content is generally perpendicular screen form, under screen mode toggle, video content is generally horizontal screen form, therefore, in order to realize that the video content of perpendicular screen form is switched to horizontal screen form, described rotation of mobile terminal angle is generally 90 ± 360 degree or 270 ± 360 degree.Certainly, according to the viewing demand of user, described rotation of mobile terminal angle can also be other numerical value, and the application does not limit this.
See the screen diagrams of the mobile terminal of Fig. 2 (a) to Fig. 2 (c).Wherein, in Fig. 2 (a) for broadcast mode be non-screen mode toggle, in this kind of situation, video content presents with perpendicular screen form.Fig. 2 (b) for broadcast mode be screen mode toggle, in this kind of situation, complete the rotation to described video content according to rotation of mobile terminal angle, and described rotation of mobile terminal angle is 90 ± 360 degree, thus video content is presented with horizontal screen form in played in full screen view.Fig. 2 (c) for broadcast mode be screen mode toggle, in this kind of situation, complete the rotation to described video content according to rotation of mobile terminal angle, and described rotation of mobile terminal angle is 270 ± 360 degree, thus video content is presented with horizontal screen form in played in full screen view.
The embodiment of the application discloses a kind of mobile terminal playing mode changing method.In the method, first create full frame empty view, and create a played in full screen view, make described played in full screen view cover described full frame empty view; Then video content to be played is loaded on described played in full screen view; After receiving rotation of mobile terminal angle, rotate the video content being loaded on described played in full screen view, and play postrotational video content in described played in full screen view.
Described mobile terminal playing mode changing method is by rotating video content, realize the switching of mobile terminal playing mode, non-screen mode toggle under perpendicular screen form is switched to the screen mode toggle under horizontal screen form, and in handoff procedure, browser no longer needs to carry out typesetting again to webpage.Decrease due to video screen switch time, need browser kernel to carry out the consumption of the hardware resources such as the CPU that typesetting again causes to the current video page, thus accelerate handover process, enable video smooth playing.
Further, prior art is screen display mess code during causing WebView (webpage view) to show the content of the current video page to video screen switching, affects Consumer's Experience.And the application is without the need to typesetting again, there will not be mess code, further increase Consumer's Experience.
See Fig. 3, mobile terminal playing mode changing method disclosed in the present application also comprises:
Step 14, according to described rotation of mobile terminal angle, rotating video control strip.
In the workflow shown in description above and Fig. 3, be the operation at completing steps 13, after namely completing the rotation to video content, just rotating video control strip.In actual applications, can also before the described video content of rotation or simultaneously, rotate video control strip, the application limit this.
The anglec of rotation of described video control strip, identical with the anglec of rotation of described video content, be convenient to user when watching video content under screen mode toggle, know video playback progress.
In addition, in order to avoid occurring switching error, between step 12 and step 13, judgement operation can also be performed, judge in this operation whether the video content be carried in played in full screen view is perpendicular screen form, if so, then according to rotation of mobile terminal angle, video content is rotated, realize the switching of perpendicular screen pattern to horizontal screen pattern, if not, then illustrate that described video content is current for horizontal screen pattern, no longer rotate, play-over.
In step s 12, disclose step video content to be played being loaded on played in full screen view, this step comprises multiple implementation.See Fig. 4, wherein in a kind of implementation, described step video content to be played being loaded on described played in full screen view comprises:
Step 121, by player interface, set up the annexation of player and described played in full screen view.
Step 122, by described annexation, obtain in player the video content to be played comprised, and described video content to be played is loaded on described played in full screen view.
In scheme disclosed in step 121 to step 122, by player interface, realize associating of player and played in full screen view, then obtain the video content that player comprises, be loaded on described played in full screen view.
Optionally, see Fig. 5, in another kind of implementation, described step video content to be played being loaded on described played in full screen view comprises:
Step 123, the video content to be played comprised in player to be stored in buffer.
Step 124, the video content to be played copied in described buffer, and the video content after copying is loaded on described played in full screen view.
By scheme disclosed in step 123 to step 124, video content to be played can be loaded in played in full screen view.
Further, the embodiment of the application also discloses a kind of mobile terminal playing mode changing method, and see Fig. 6, the method comprises:
Step 21, create full frame empty view, and create a played in full screen view, make described played in full screen view cover described full frame empty view.
Step 22, video content to be played is loaded on described played in full screen view.
The rotation of mobile terminal angle that step 23, basis receive, rotates the video content being loaded on described played in full screen view, and play postrotational video content in described played in full screen view.
Step 24, according to described rotation of mobile terminal angle, rotating video control strip
Step 21 is identical to the implementation process of step 14 with step 11 to the implementation process of step 24, can be cross-referenced, repeats no more herein.
Step 25, terminate described video content broadcasting after, delete described played in full screen view.
After the broadcasting terminating video content, delete described played in full screen view, be in order to avoid occurring that prior art is after switching to screen mode toggle by broadcast mode, if video content terminates to play, browser needs the problem of again webpage comprising current video being carried out to WebView typesetting again.
In mobile terminal playing mode changing method disclosed in the embodiment of the present application, after the broadcasting terminating video content, delete described played in full screen view, do not need typesetting again, decrease the consumption to hardware resources such as CPU, and accelerate handover process, save the screens switch time, be convenient to user and other operations are carried out to mobile terminal.Further, the screen place of mobile terminal no longer shows mess code, improves Consumer's Experience.
For the ease of understanding, below by way of two concrete execution modes, mobile terminal playing mode changing method disclosed in the embodiment of the present application is introduced.
In a first embodiment, see Fig. 7, comprise the following steps:
Step 31, create full frame empty view, and create a played in full screen view, described played in full screen view is texture view TextureView, and described TextureView is covered described full frame empty view.
Step 32, by calling player interface, described TextureView and player to be established a connection, video content to be played in player is loaded on TextureView.
The rotation of mobile terminal angle arranged in step 33, acquisition matrix M atrix class, rotates described video content according to described rotation of mobile terminal angle, and play postrotational video content in described TextureView.
Wherein, the rotation of mobile terminal angle arranged in described Matrix class is generally 90 ± 360 degree or 270 ± 360 degree, and other angles that can certainly arrange for user, the application does not limit this.Rotation of mobile terminal angle required when described Matrix class is for providing video content to rotate, and described Matrix class can create after video content is loaded on TextureView, and also can be pre-created before step 32, the application does not limit this.
In addition, disclosed in the embodiment of the present application, mobile terminal playing mode changing method also comprises:
Step 34, use setRotate function rotate video control strip, and the angle that described video control strip rotates is identical with described rotation of mobile terminal angle.
The workflow diagram that foregoing description and Fig. 7 provide is after completing the rotation to video content, just rotating video control strip.In actual applications, can also before the described video content of rotation or simultaneously, rotate video control strip, the application limit this.
In the second execution mode, see Fig. 8, comprise the following steps:
Step 41, create full frame empty view, and create a played in full screen view, described played in full screen view is GlSurfaceView (openglSurfaceView, OpenGL surface view), and described GlSurfaceView is covered described full frame empty view.
Step 42, the video content to be played comprised in player to be stored in buffer, and video content to be played in duplicate cache device, the video content after copying is loaded on described GlSurfaceView.
The rotation of mobile terminal angle arranged in step 43, acquisition matrix M atrix class, rotates described video content according to described rotation of mobile terminal angle, and play postrotational video content in described GlSurfaceView.
Wherein, the rotation of mobile terminal angle arranged in described Matrix class is generally 90 ± 360 degree or 270 ± 360 degree, and other angles that can certainly arrange for user, the application does not limit this.Rotation of mobile terminal angle required when described Matrix class is for providing video content to rotate, and described Matrix class can create after video content is loaded on TextureView, and also can be pre-created before step 32, the application does not limit this.
In addition, disclosed in the embodiment of the present application, mobile terminal playing mode changing method also comprises:
Step 44, use setRotate function rotate video control strip, and the angle that described video control strip rotates is identical with described rotation of mobile terminal angle.
The workflow diagram that foregoing description and Fig. 8 provide is after completing the rotation to video content, just rotating video control strip.In actual applications, can also before the described video content of rotation or simultaneously, rotate video control strip, the application limit this.
Above two embodiments, respectively describe when played in full screen view is TextureView and GlSurfaceView, to the method that the broadcast mode of mobile terminal switches.During due to above-mentioned two embodiments switching broadcast mode, browser is not needed to carry out typesetting again to current page, decrease because the consumption of the hardware such as the CPU that causes of typesetting again, thus accelerate handover process, make in a browser displaying video time screens switch speed faster.Further, avoid screen to occur mess code in handoff procedure, improve the experience of user.
Accordingly, disclosed herein as well is a kind of mobile terminal playing mode switching device shifter, see Fig. 9, described mobile terminal playing mode switching device shifter comprises: creation module 100, load-on module 200 and the first rotary module 300.
Wherein, described creation module 100, for creating full frame empty view, and creates a played in full screen view, makes described played in full screen view cover described full frame empty view;
Described load-on module 200, for being loaded on described played in full screen view by video content to be played;
Described first rotary module 300, for according to the rotation of mobile terminal angle received, rotates the video content being loaded on described played in full screen view, and play postrotational video content in described played in full screen view.
Further, see Figure 10, described mobile terminal playing mode switching device shifter also comprises: the second rotary module 400, described second rotary module 400 for according to described rotation of mobile terminal angle, rotating video control strip.
Described load-on module 200 can be various ways.Wherein in a kind of way of realization, described load-on module 200 comprises: linkage unit and the first loading unit.
Wherein, described linkage unit, for by player interface, sets up the annexation of player and described played in full screen view;
Described first loading unit, for by described annexation, obtains the video content to be played comprised in player, and described video content to be played is loaded on described played in full screen view.
In another kind of way of realization, described load-on module 200 comprises: memory cell and the second loading unit.
Wherein, described memory cell, for being stored in buffer by the video content to be played comprised in player;
Described second loading unit, for copying the video content to be played in described buffer, and is loaded on the video content after copying on described played in full screen view.
In addition, described mobile terminal playing mode switching device shifter also comprises: removing module, and described removing module is used for, after the broadcasting terminating described video content, deleting described played in full screen view.
Wherein, described rotation of mobile terminal angle is 90+360 degree or 270+360 degree.
Accordingly, disclosed herein as well is a kind of computer-readable medium with the executable program code of processor, be applied to electronic equipment, when being performed, described program code makes processor perform following step:
Create full frame empty view, and create a played in full screen view, make described played in full screen view cover described full frame empty view;
Video content to be played is loaded on described played in full screen view;
According to the rotation of mobile terminal angle received, rotate the video content being loaded on described played in full screen view, and play postrotational video content in described played in full screen view.
Optionally, the step that described program code makes processor perform also comprises:
According to described rotation of mobile terminal angle, rotating video control strip.
Optionally, described step video content to be played being loaded on described played in full screen view comprises:
By player interface, set up the annexation of player and described played in full screen view;
By described annexation, obtain the video content to be played comprised in player, and described video content to be played is loaded on described played in full screen view.
Optionally, described step video content to be played being loaded on described played in full screen view comprises:
The video content to be played comprised in player is stored in buffer;
Copy the video content to be played in described buffer, and the video content after copying is loaded on described played in full screen view.
Optionally, the step that described program code makes processor perform also comprises: after the broadcasting terminating described video content, delete described played in full screen view.
Optionally, described rotation of mobile terminal angle is 90+360 degree or 270+360 degree.
Those skilled in the art can be well understood to the mode that technology in the embodiment of the present invention can add required general hardware platform by software and realize.Based on such understanding, technical scheme in the embodiment of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment; ) perform the method described in some part of each embodiment of the present invention or embodiment.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, between each embodiment identical similar part mutually see, what each embodiment stressed is the difference with other embodiments.Especially, for system embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Above-described embodiment of the present invention, does not form limiting the scope of the present invention.Any amendment done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (13)

1. a mobile terminal playing mode changing method, is characterized in that, described method comprises:
Create full frame empty view, and create a played in full screen view, make described played in full screen view cover described full frame empty view;
Video content to be played is loaded on described played in full screen view;
According to the rotation of mobile terminal angle received, rotate the video content being loaded on described played in full screen view, and play postrotational video content in described played in full screen view.
2. method according to claim 1, is characterized in that, described method also comprises:
According to described rotation of mobile terminal angle, rotating video control strip.
3. method according to claim 1, is characterized in that, described step video content to be played being loaded on described played in full screen view comprises:
By player interface, set up the annexation of player and described played in full screen view;
By described annexation, obtain the video content to be played comprised in player, and described video content to be played is loaded on described played in full screen view.
4. method according to claim 1, is characterized in that, described step video content to be played being loaded on described played in full screen view comprises:
The video content to be played comprised in player is stored in buffer;
Copy the video content to be played in described buffer, and the video content after copying is loaded on described played in full screen view.
5. the method according to Claims 1-4, is characterized in that, described method also comprises:
After the broadcasting terminating described video content, delete described played in full screen view.
6., according to the method described in claim 1 to 2, it is characterized in that,
Described rotation of mobile terminal angle is 90 ± 360 degree or 270 ± 360 degree.
7. a mobile terminal playing mode switching device shifter, is characterized in that, described device comprises:
Creation module, for creating full frame empty view, and creates a played in full screen view, makes described played in full screen view cover described full frame empty view;
Load-on module, for being loaded on described played in full screen view by video content to be played;
First rotary module, for according to the rotation of mobile terminal angle received, rotates the video content being loaded on described played in full screen view, and play postrotational video content in described played in full screen view.
8. device according to claim 7, is characterized in that, described device also comprises:
Second rotary module, for according to described rotation of mobile terminal angle, rotating video control strip.
9. device according to claim 7, is characterized in that, described load-on module comprises:
Linkage unit, for by player interface, sets up the annexation of player and described played in full screen view;
First loading unit, for by described annexation, obtains the video content to be played comprised in player, and described video content to be played is loaded on described played in full screen view.
10. device according to claim 7, is characterized in that, described load-on module comprises:
Memory cell, for being stored in buffer by the video content to be played comprised in player;
Second loading unit, for copying the video content to be played in described buffer, and is loaded on the video content after copying on described played in full screen view.
11., according to the device described in claim 7 to 10, is characterized in that, described device also comprises:
Removing module, for after the broadcasting terminating described video content, deletes described played in full screen view.
12., according to the device described in claim 7 to 8, is characterized in that,
Described rotation of mobile terminal angle is 90 ± 360 degree or 270 ± 360 degree.
13. 1 kinds of computer-readable mediums with the executable program code of processor, be applied to mobile terminal, it is characterized in that, described program code makes processor perform following step:
Create full frame empty view, and create a played in full screen view, make described played in full screen view cover described full frame empty view;
Video content to be played is loaded on described played in full screen view;
According to the rotation of mobile terminal angle received, rotate the video content being loaded on described played in full screen view, and play postrotational video content in described played in full screen view.
CN201410238712.7A 2014-05-30 2014-05-30 Mobile terminal playing mode switching method and device Active CN105306997B (en)

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

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 true CN105306997A (en) 2016-02-03
CN105306997B 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)

Cited By (16)

* Cited by examiner, † Cited by third party
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
CN106604086A (en) * 2016-12-08 2017-04-26 武汉斗鱼网络科技有限公司 Full-screen playback method and system for previewing video in Android application
CN106878810A (en) * 2017-03-13 2017-06-20 福建中金在线信息科技有限公司 A kind of video broadcasting method and device
CN107145269A (en) * 2017-04-19 2017-09-08 腾讯科技(深圳)有限公司 A kind of data rotation method and device
CN107239247A (en) * 2017-05-27 2017-10-10 广州阿里巴巴文学信息技术有限公司 Electronic equipment and its content display method, device and storage medium
CN107818006A (en) * 2017-10-31 2018-03-20 北京酷我科技有限公司 A kind of method of video played in full screen
CN108234763A (en) * 2017-12-29 2018-06-29 广州优视网络科技有限公司 Horizontal/vertical screen switching method, device and terminal
CN108260018A (en) * 2017-02-13 2018-07-06 广州市动景计算机科技有限公司 Full frame setting method, equipment and the mobile equipment of video web page
CN109144354A (en) * 2017-06-15 2019-01-04 优酷信息技术(北京)有限公司 Rotate the method and apparatus of Player View layer
CN109213462A (en) * 2018-08-07 2019-01-15 武汉斗鱼网络科技有限公司 Android horizontal/vertical screen method of data synchronization, device, terminal and readable medium
CN111757164A (en) * 2020-07-29 2020-10-09 北京百度网讯科技有限公司 Video playing switching method and device, electronic equipment and storage medium
CN112333514A (en) * 2020-07-24 2021-02-05 深圳Tcl新技术有限公司 Display mode switching method and device, smart television and computer readable storage medium
WO2021180224A1 (en) * 2020-03-13 2021-09-16 海信视像科技股份有限公司 Display device
CN113660516A (en) * 2021-10-19 2021-11-16 北京易真学思教育科技有限公司 Video display method, device, equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080154889A1 (en) * 2006-12-22 2008-06-26 Pfeiffer Silvia Video searching engine and methods
CN101382867A (en) * 2008-10-28 2009-03-11 深圳市迅雷网络技术有限公司 Video playing interaction method and terminal
US20100151913A1 (en) * 2008-12-11 2010-06-17 Samsung Electronics Co., Ltd. Method of providing user interface and mobile terminal using the same
CN102905181A (en) * 2012-10-12 2013-01-30 北京奇艺世纪科技有限公司 Method for realizing on-line video playing on mobile terminal, underlying library and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080154889A1 (en) * 2006-12-22 2008-06-26 Pfeiffer Silvia Video searching engine and methods
CN101382867A (en) * 2008-10-28 2009-03-11 深圳市迅雷网络技术有限公司 Video playing interaction method and terminal
US20100151913A1 (en) * 2008-12-11 2010-06-17 Samsung Electronics Co., Ltd. Method of providing user interface and mobile terminal using the same
CN102905181A (en) * 2012-10-12 2013-01-30 北京奇艺世纪科技有限公司 Method for realizing on-line video playing on mobile terminal, underlying library and system

Cited By (25)

* Cited by examiner, † Cited by third party
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
CN106604086A (en) * 2016-12-08 2017-04-26 武汉斗鱼网络科技有限公司 Full-screen playback method and system for previewing video in Android application
CN106604086B (en) * 2016-12-08 2019-06-04 武汉斗鱼网络科技有限公司 The played in full screen method and system of preview video in Android application
CN108260018A (en) * 2017-02-13 2018-07-06 广州市动景计算机科技有限公司 Full frame setting method, equipment and the mobile equipment of video web page
WO2018145545A1 (en) * 2017-02-13 2018-08-16 广州市动景计算机科技有限公司 Full-screen setting method and device for webpage video, mobile device and computer readable storage medium
CN106878810A (en) * 2017-03-13 2017-06-20 福建中金在线信息科技有限公司 A kind of video broadcasting method and device
CN107145269A (en) * 2017-04-19 2017-09-08 腾讯科技(深圳)有限公司 A kind of data rotation method and device
CN107239247A (en) * 2017-05-27 2017-10-10 广州阿里巴巴文学信息技术有限公司 Electronic equipment and its content display method, device and storage medium
CN107239247B (en) * 2017-05-27 2019-12-20 广州阿里巴巴文学信息技术有限公司 Electronic equipment and content display method, device and storage medium thereof
WO2018219140A1 (en) * 2017-05-27 2018-12-06 广州阿里巴巴文学信息技术有限公司 Electronic device, content display method and content display apparatus therefor, and storage medium
CN109144354A (en) * 2017-06-15 2019-01-04 优酷信息技术(北京)有限公司 Rotate the method and apparatus of Player View layer
CN109144354B (en) * 2017-06-15 2021-04-02 阿里巴巴(中国)有限公司 Method and equipment for rotating player view layer
CN107818006A (en) * 2017-10-31 2018-03-20 北京酷我科技有限公司 A kind of method of video played in full screen
CN107818006B (en) * 2017-10-31 2021-03-12 北京酷我科技有限公司 Method for full-screen playing of video
CN108234763A (en) * 2017-12-29 2018-06-29 广州优视网络科技有限公司 Horizontal/vertical screen switching method, device and terminal
WO2019127868A1 (en) * 2017-12-29 2019-07-04 广州优视网络科技有限公司 Screen orientation switching method, device, and terminal
CN109213462A (en) * 2018-08-07 2019-01-15 武汉斗鱼网络科技有限公司 Android horizontal/vertical screen method of data synchronization, device, terminal and readable medium
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
CN112333514A (en) * 2020-07-24 2021-02-05 深圳Tcl新技术有限公司 Display mode switching method and device, smart television and computer readable storage medium
CN112333514B (en) * 2020-07-24 2024-02-06 深圳Tcl新技术有限公司 Display mode switching method and device, intelligent television and computer readable storage medium
CN111757164A (en) * 2020-07-29 2020-10-09 北京百度网讯科技有限公司 Video playing switching method and device, electronic equipment and storage medium
CN113660516A (en) * 2021-10-19 2021-11-16 北京易真学思教育科技有限公司 Video display method, device, equipment and medium

Also Published As

Publication number Publication date
CN105306997B (en) 2018-12-14

Similar Documents

Publication Publication Date Title
CN105306997A (en) Mobile terminal play mode switching method and device
CN101882432B (en) Focus element display method, device and digital television receiving terminal
JP5893046B2 (en) Customizing the immersive environment
WO2017101493A1 (en) Page label management method and device for browser
US20160191627A1 (en) Method and apparatus for execution of applications in a cloud system
CN105630478A (en) Method and device for realizing page switching
US11341706B2 (en) Virtual scene display method and apparatus, and storage medium
CN104571877A (en) Display processing method and device for pages
US20190230311A1 (en) Video interface display method and apparatus
CN102520842A (en) Horizontal-vertical screen switching rotation control method for hand-held devices
CN104243668A (en) Video full-screen playing method and device based on Android operating system
CN106598514B (en) Method and system for switching virtual reality mode in terminal equipment
CN104243463A (en) Method and device for displaying virtual items
TW201820883A (en) Method and system for managing buffers
CN106791911A (en) A kind of loading method of picture and video
CN102982159A (en) Three-dimensional webpage multi-scenario fast switching method
CN112836086B (en) Video processing method and device and electronic equipment
CN112860163A (en) Image editing method and device
WO2015180448A1 (en) Method and device for switching playing mode of mobile terminal, storage medium and program
CN102833405A (en) Method and device for displaying static wallpaper and mobile terminal
CN104714716A (en) Display method and device for downloading information
CN107277412A (en) Video recording method and device, graphics processor and electronic equipment
CN110928397B (en) User interface refreshing method and device, storage medium and electronic device
CN105122826B (en) System and method for displaying annotated video content by a mobile computing device
CN114610428A (en) Information stream display method, device, apparatus, storage medium, and program

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
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.