Video full-screen playing method and device based on Android operating system

A technology of an Android operating system and a playback method, which is applied to program control devices, special data processing applications, telephone communications, etc., can solve problems such as re-buffering video data, and achieve the effect of consuming extra traffic

Active Publication Date: 2014-12-24
ALIBABA (CHINA) CO LTD
View PDF3 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] One of the purposes of the present invention is to provide a full-screen video playback method based on the Android operating system, to solve the problem that the current browser on the Android operating system needs to re-buffer video data when switching between full-screen ...

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Video full-screen playing method and device based on Android operating system
  • Video full-screen playing method and device based on Android operating system
  • Video full-screen playing method and device based on Android operating system

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0037] figure 1 Shows a flow chart of a video playback method for a full-screen video playback device based on an Android operating system according to a first embodiment of the present invention, wherein the method is executed by a browser installed in a mobile terminal of a full-screen video playback device based on an Android operating system The client program executes.

[0038] like figure 1 As shown, a full-screen video playback device based on an Android operating system is used to control a webpage view control and a video view control, the video view control is a child node of the webpage view control, and the method includes:

[0039] In step S110, after receiving the instruction to enter the full screen, the offset of the screen of the mobile terminal relative to the reference point in the web page view control is obtained from the mobile terminal.

[0040] Specifically, after receiving the user's instruction to enter the full screen, the browser client acquires t...

no. 2 example

[0052] figure 2 A flow chart of a method for full-screen video playback based on an Android operating system according to a second embodiment of the present invention is shown. Wherein, the method is executed by a browser client program installed on the Android operating system. The steps in this embodiment are the same as the steps in the first embodiment, the difference is that after step S120, it also includes:

[0053] Step S130, after receiving the exit full-screen instruction, obtain from the browser kernel the original offset and original width and height values ​​of the reference point of the video view control relative to the reference point of the webpage video control; and according to The reference point of the video view control is relative to the original offset of the reference point of the webpage video control and the original width and height values, and the position of the video view control in the webpage view control is moved back to before stretching a...

no. 3 example

[0058] Figure 3A A flow chart showing a method for full-screen video playback based on an Android operating system to enter full screen according to a third embodiment of the present invention is shown. The method includes:

[0059] In step 301, when the browser client is playing the HTML5 video, the user clicks a full-screen button of the video.

[0060] In step 302, the browser client listens to the click event of the full screen button and triggers an operation.

[0061] In step 303, the scroll position of the current web view control is calculated to obtain the difference (x, y) between the origin of the web view control and the origin of the mobile phone screen, that is, the origin of the mobile phone screen (the upper left corner of the mobile phone screen) Vector (x, y) from the origin of the WebView control (top-left vertex of the WebView control).

[0062] In step 304, the video view control is moved to the (x, y) position of the web view control, that is, the pos...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a video full-screen playing method based on an Android operating system. The method includes the steps that after a full-screen entering instruction is received, the offset of a mobile terminal screen relative to a datum point in a webpage view control is obtained from a mobile terminal; according to the obtained offset and the width and the height of the mobile terminal screen, the playing interface of a video view control is stretched to coincide with the mobile terminal screen; the webpage view control is used for displaying webpage content, the video view control is used for displaying video content, and the video view control is located in the webpage view control. With the method, no time delay is caused when a user performs full-screen switching on a video, and the video can be seamlessly switched to be in a full-screen mode without waiting.

Description

technical field [0001] The invention relates to the field of mobile video playback, in particular to a full-screen video playback method and device based on an Android operating system. Background technique [0002] At present, with the improvement of the performance of mobile communication devices such as mobile phones and the development of HTML5 technology, the demand for realizing the video playback function in mobile terminal browsers has become more and more obvious. Therefore, many browser manufacturers have gradually supported HTML5 video playback, allowing browsers to have the function of video players. [0003] The browser kernel is responsible for loading, displaying, and executing JS on web pages, and is the core of the browser. The web page kernel includes a typesetting engine for web page element typesetting. When a browser plays an HTML5 video, the video is actually a node of the web page, and its size and position are controlled by the browser's typesetting...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04M1/725G06F9/44G06F17/30
Inventor 梁捷何小鹏俞永福朱顺炎马妙魁
Owner ALIBABA (CHINA) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products