Fixes #1223.
When jumping backward or forwards in the video player the "Skip pause" button is not updated, meaning that pressing it after jumping forwards could take you back again. Or when jumping into a silent segment it is not possible to immediately jump to the end of it without first unpausing.
Description
The function that checks whether this button should be displayed is called whenever the user seeks (jumps backwards or forwards)
Steps for Testing
Prerequisites:
1 Stream
Log in
Navigate to a Stream with silences
Pause the Stream in a silent segment
Jump past it, notice the "Skip pause" button vanishes
Jump back into a silent segment, notice the button reappears
Motivation and Context
Fixes #1223. When jumping backward or forwards in the video player the "Skip pause" button is not updated, meaning that pressing it after jumping forwards could take you back again. Or when jumping into a silent segment it is not possible to immediately jump to the end of it without first unpausing.
Description
The function that checks whether this button should be displayed is called whenever the user seeks (jumps backwards or forwards)
Steps for Testing
Prerequisites:
Screenshots
https://github.com/TUM-Dev/gocast/assets/61728152/9f4b5c14-fbf2-448f-b3c9-234f7bb0f966