As an integrator, I want to enhance the playlist plugin to include smart navigation capabilities, aligning the API with the behaviour found in Apple and Android libraries.
Acceptance Criteria
When the user clicks the previous button, the behaviour should depend on the current media's playback position:
If the media is within a threshold of n seconds from the start, it will navigate to the previous item in the playlist.
If the media is beyond this threshold, it will restart the current media.
Live media always navigate to the previous item, regardless of the threshold.
The threshold should be configurable, with a default value of 3 seconds.
Description
As an integrator, I want to enhance the playlist plugin to include smart navigation capabilities, aligning the API with the behaviour found in Apple and Android libraries.
Acceptance Criteria