Currently, the fvp native player's APIs lack events or methods for directly listening to changes in position, duration, and buffering state. This makes it difficult to create features like progress bars, time displays, or custom buffering indicators. Exposing these APIs would significantly improve the developer experience and enable the creation of more advanced playback functionalities. The current native player APIs do not provide any built-in mechanisms for developers to track or react to changes in position, duration, or buffering.
Proposal
We propose the following adding some API improvements, like:
Currently, the fvp native player's APIs lack events or methods for directly listening to changes in position, duration, and buffering state. This makes it difficult to create features like progress bars, time displays, or custom buffering indicators. Exposing these APIs would significantly improve the developer experience and enable the creation of more advanced playback functionalities. The current native player APIs do not provide any built-in mechanisms for developers to track or react to changes in position, duration, or buffering.
Proposal
We propose the following adding some API improvements, like:
player.onPositionChange((duration) {})
and similar methods for other options.