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

Full-screen playback method and system for previewing video in Android application

A video playback and video technology, applied in the direction of image communication, selective content distribution, electrical components, etc., can solve the problems of code redundancy, increase memory usage, maintenance difficulties, etc., achieve good fluency, reduce memory usage, High customer experience effect

Active Publication Date: 2017-04-26
WUHAN DOUYU NETWORK TECH CO LTD
View PDF4 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] When the user clicks on the play view, the play view covers the list interface or recommendation column when it covers the screen, that is, the list interface or recommendation column still exists, and the video is played in the playback interface while the list interface (or recommendation column) exists, not only It will greatly increase the memory usage rate, and the video playback generation in the list interface is generally copied to the code in the playback interface, resulting in code redundancy and difficult maintenance (for example, when the code in the playback interface needs to be modified, it will be modified at the same time code in list interface)

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
  • Full-screen playback method and system for previewing video in Android application

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0013] The present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments.

[0014] Firstly, a list interface, a playback interface and a playback view frequently appearing in the embodiments of the present invention are described.

[0015] List interface: The video preview interface in Android applications is generally an activity, that is, an application component that provides a screen.

[0016] Playback interface: The video playback interface in an Android application is generally an activity.

[0017] Play view: The view for previewing video or live data in Android applications. The data decoded by the player is displayed on the list interface through the play view. The play view is provided in singleton mode to ensure that there is only one play view in an application.

[0018] On this basis, see figure 1 As shown, the full-screen playback method of the preview video in the Android application in the embodiment...

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 discloses a full-screen playback method and a system for a previewing video in an Android application, which relate to the field of video playback in the Android application. The method comprises steps: a playback view is loaded in a list interface, the size is changed, and the video is played in the playback view; when the video needs to be switched to be played in a full screen mode in a playback interface, after the last one video picture played in the playback view is saved, the playback view is deleted; the memory occupied by the list interface is closed and released; a playback interface is built and displayed, the video picture is loaded in the playback interface, the size is changed, and the video is played in the video picture; when the video needs to be switched to be played in a previewing mode in the list interface, the video picture in the playback interface is deleted; the player and the playback interface are closed, and the memory occupied by the player and the playback interface is closed and released; and the list interface is built and displayed. In the case of video seamless switching, the memory occupancy rate can be reduced obviously, the fluency is good, the client experience is high, and code redundancy is not caused.

Description

technical field [0001] The invention relates to the field of video playback in Android applications, in particular to a method and system for full-screen playback of preview videos in Android applications. Background technique [0002] Android apps (Android TV apps, Android box apps, Android phone apps, etc.) will use small windows in the list interface or recommendation column when performing video playback and live broadcasting (that is, there is one player in the list interface or recommendation column. view) to preview the video, when the user clicks on the play view, the width and width of the play view are automatically modified so that the play view covers the entire screen, thereby realizing full-screen playback of the preview video. [0003] However, there are following defects in the above-mentioned method for realizing full-screen playback of the preview video: [0004] When the user clicks on the play view, the play view covers the list interface or recommendati...

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): H04N21/414H04N21/443H04N21/482H04N21/485
CPCH04N21/41407H04N21/4438H04N21/4825H04N21/4858
Inventor 龚宁
Owner WUHAN DOUYU NETWORK TECH 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