Media Player Instance Management via Visibility-Based Loading
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Web browsers face challenges in efficiently managing the loading and unloading of media players, particularly on resource-constrained devices, as they consume significant resources like memory and CPU cycles, leading to performance issues and user experience degradation.
Innovation Solution
A method that prioritizes the loading of media players based on visibility, dimensions, and domain association, deferring the loading of non-visible players and pausing those that are no longer visible, while ensuring a subset of players are loaded efficiently, using a multimedia management module to optimize resource allocation.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If all media players are loaded immediately upon request, then the application can present all content without interruption, but resource consumption (memory and CPU cycles) increases significantly
Solution Approach 1:
The system performs preliminary actions by sending confirmation messages to the application indicating that media players are loaded while actually deferring their loading. This allows the application to proceed without interruption while the actual loading happens later when resources are available, resolving the contradiction between continuous presentation and resource consumption.
Solution Approach 2:
The system dynamically determines an order for loading media players based on visibility and dimensions of presentation areas, and dynamically loads players in subsets according to available resources. This dynamic approach allows the system to adapt resource allocation to current system state, maintaining reliability while controlling resource consumption.
2Use of energy by moving object
If media players are loaded based on visibility and dimensions, then resource utilization improves, but the complexity of player management increases
Solution Approach 1:
The system changes parameters by evaluating visibility and dimensions of presentation areas to determine loading priority. By using these objective parameters, the system creates a systematic player management approach that improves resource utilization while keeping the complexity manageable through clear, measurable criteria.
3Productivity
If a subset of media players is loaded based on available resources, then system responsiveness improves, but the risk of interrupting user interaction increases
Solution Approach 1:
The system sends confirmation messages indicating that media players are loaded before actually loading them, allowing the application to remain responsive immediately while deferring the actual loading operation. This preliminary action ensures user interaction continuity while maintaining system responsiveness.
Data Source
AI summary
Methods, systems, and apparatus, including computer programs encoded on a computer storage medium, for media player instance management. In one aspect, a method includes receiving one or more requests from an application to load a plurality of media players referenced in a document to be presented by the application, in which each media player is configured to present respective content in a respective presentation area of the document presentation and determining an order for loading the media players based on a visibility and dimensions of each respective presentation area.


