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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM

Abstract
Description
Claims
Application Information

- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com