Video preloading method and device, video player, and electronic device
A preloading and video technology, applied in the fields of electronic equipment, preloading video, and video player, can solve problems such as increasing network traffic consumption
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0037] figure 1 is a schematic flowchart of a method for preloading a video according to an embodiment of the present invention.
[0038] In step S100, the scroll event of the video list can be monitored.
[0039] Computer software or mobile phone applications that provide video playback functions can display videos that users can click to play through the video list. Users can choose the video they are interested in from the video list to play. For example, video names may be displayed in a list form in the video list, or a certain frame or poster of a video may be displayed in an icon form.
[0040] When the user intends to select a video to play, he can operate the scrolling control of the video list to browse, for example, slide the scrolling control of the video list, thereby triggering a scrolling event. Scroll events include scroll control scroll, scroll control scroll stop. The scrolling of the scrolling control may represent the scrolling state of the scrolling co...
Embodiment 2
[0051] figure 2 is a schematic flowchart of a method for preloading a video according to another embodiment of the present invention.
[0052] In step S1000, similar to the first embodiment, the scrolling event of the video list may be monitored. Since this step has been described in detail in Embodiment 1, it will not be repeated here.
[0053]In step S2000, when the scroll stop is detected, the video displayed in the video list window when the scroll stops can be added to the preloading task queue, and the preloading task queue can be managed.
[0054] In step S3000, videos in the preloading task queue may be preloaded.
[0055] The difference between the second embodiment and the first embodiment will be described in detail below.
[0056] In some cases, the scrolling event of scrolling stop may be triggered multiple times, causing too many videos to be added to the preloading task queue for preloading, which may also cause excessive network traffic consumption. For ex...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


