You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If the user selects a new section and quickly scrubs someplace fairly late in the video before beginning playback, the playhead will jump back to the beginning of the video.
If the user sits for a few seconds before scrubbing after selecting the section, the scrubbing works. Likely due to the video not being fully loaded.
We are intentionally calling player.load() upon page load for Safari because the player doesn't fully load automatically like in other browsers. This helps us to use scrubbing/seeking on the player progress-bar or use structured navigation and playlist markers to scrub/seek before playback starts.
This is causing the player to reset on Safari, if the user scrubs/seeks within the window where, the player is revealed and player.load() is called.
The fix put in place for this issue could create a race condition for player dispatches for current time updates in the state. I did the following in the demo instance to see whether this happens, and I did not run into any inconsistencies.
But we should probably do these extra tests once this is brought into Avalon, since that environment could create different results.
Load a new section and seek immediately to a non-zero time and observe the section starts from the seeked time when it is played
Describe the bug
If the user selects a new section and quickly scrubs someplace fairly late in the video before beginning playback, the playhead will jump back to the beginning of the video.
If the user sits for a few seconds before scrubbing after selecting the section, the scrubbing works. Likely due to the video not being fully loaded.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Scrubbing should work even before video is fully loaded into the player.
Screenshots
Private Zenhub Video
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: