🐞"Show video remaining duration" breaks YouTube's live stream return-to-live button
Concise Description
When the "Show video remaining duration" option is enabled in ImprovedTube, YouTube's native behavior for live streams is disrupted. Specifically, after rewinding a live video, the "Live" button (which normally jumps back to the current live moment) no longer functions as expected.
Browser/s
Opera
Other Browser:
No response
'Steps to reproduce' - Which of our features is required for the bug to happen?
Appearance → Player -> Enable the feature "Show video remaining duration". Go to a live stream on YouTube. Rewind the video using the seek bar. Click the "Live" button to return to the current live moment. Observe that the button no longer functions as expected.
Since when?
Since the latest YouTube update
Does the bug still happen when you log out of YouTube?
Yes
..No? Then please paste your yt.config_.EXPERIMENT_FLAGS. Twice (With the error & Without)
No response
Are any errors or related log-messages shown in the Browser-Console? (F12)
No response
Tested as the only active extension? (incognito mode or another browser users):
None
Expected preferred behavior:
No response
ImprovedTube Version
4.1350
Your Settings (From the Extension's ⋮-Hamburger menu > Settings > Backup & reset > Export settings)
No response
Your YouTube-Document
No response
OS / Device:
No response
@Riperium can i take up this issue
Couldn't I fix this issue by simply making the "show remaining duration" check whether the video is a live stream and only apply if it isn't?
https://github.com/code-charity/youtube/blob/c8bccaa9944797748e09fb2b6750c7df7f43f6e0/js%26css/web-accessible/www.youtube.com/player.js#L142