bitmovin-player-ui
bitmovin-player-ui copied to clipboard
Don't pause playback during seeks
For reasons that are unfortunately undocumented, playback is paused during seeking (20e9220118991d4f3bf3248baefdf1c217f471a4). This influences analytics reporting where pauses are reported although the user is not pausing but just seeking.
Investigate why this has been implemented (e.g. if it was a required workaround for an older player version), if it can be removed, and if it can, remove it (eventually with a fallback for old player versions).
It turned out this was partly a fix for a player bug in a very old version, but also deliberate to avoid playback during scrubbing when the scrubber stays still and no seeks are issued. This means we have to keep the behavior as is.
@protyposis this is also causing issues with our analytics. We cannot differentiate real pauses from seek pauses.
Also, if the pause was to avoid playback during scrubbing then shouldn't it also be implemented during programmatic seeking, when calling player.seek()?
Can the pause only be sent after checking the player version? To exclude newer versions that might not need this behaviour?