Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JW8-2506]Retain pause state when/after seeking (#3283)
* remove call to play when _seek is called JW8-2506 * remove call to play when scrubbing on pause * only cause pause on scrubbing when the player isnt playing * play if video is completed or the position is less than 1 second away from the duration * refactor if statement * Only resume playback on VOD * remove call to play on seek * play stream while paused if dvrLive is true * listen for seeked after live button is pressed to resume playback * resume playback if state equals playing * remove listener and call play when going to live edge * play on idle state and save previous state to check if we should play after scrubbing * Rename variable, save state before pausing when seeking * Allow seeking after complete * Revert seek on complete - bug on ads * Call play if seeked on complete * Improve after scrubbing behavior
- Loading branch information