Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method and device for full-screen video playback 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: 2016-12-28
ALIBABA (CHINA) CO LTD
View PDF3 Cites 0 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 videos
[0011] Another object of the present invention is to provide a full-screen video playback device 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 videos

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
  • A method and device for full-screen video playback based on Android operating system
  • A method and device for full-screen video playback based on Android operating system
  • A method and device for full-screen video playback 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] Such as 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 acquire...

no. 2 example

[0051] 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:

[0052] 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

[0057] 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:

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

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

[0060] 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).

[0061] 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 present invention provides a full-screen video playback method based on the Android operating system, comprising: after receiving an instruction to enter the full screen, acquiring from the mobile terminal the offset of the mobile terminal screen relative to the reference point in the web page view control; according to the acquired The offset and the width and height of the mobile terminal screen, stretch the playback interface of the video view control to coincide with the screen of the mobile terminal; wherein, the web page view control is used for web page content display, and the video view control The view control is used for video content display, and the video view control is in the web page view control. By using this method, the user can seamlessly switch to the full-screen mode without any time delay when switching the video in 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
Patent Type & Authority Patents(China)
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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products