invidious icon indicating copy to clipboard operation
invidious copied to clipboard

[Bug] Video restarts on timeskip

Open Kommynct opened this issue 1 year ago • 9 comments

Describe the bug When I use the left or right arrow keys, or click on a time location in the video, occasionally the video will completely restart, it then works perfectly after the restart

Steps to Reproduce

  1. Load video
  2. attempt to skip forward or backwards
  3. Notice sometimes the video completely restarts

Unfortunately this only happens rarely, I can't make it occur consistently

  • Browser (if applicable): Firefox 119, although it has happened with all the previous versions i've used
  • OS (if applicable): Archlinux

This is especially annoying with sponsorblock, as when it gets to a sponsor segment, it restarts the video instead of skipping it.

Sorry if this has been documented elsewhere, I searched and didn't find anything, this happens on every instance i've tried.

I've been trying to work around it by hitting the right arrow key as soon as video loads, and then the left to go back to the start, but that's kinda silly.

Kommynct avatar Dec 03 '23 01:12 Kommynct

@Kommynct can you share more data regarding issue creation. Having hard time recreating one. If the issue is recreated I will be happy to contribut. Thank you.

gauravruhela07 avatar Dec 04 '23 10:12 gauravruhela07

Sorry the arrows ate my browser and OS firefox 119 and archlinux, and with these options (exported from json to ensure precision)

"preferences":{"annotations":false,"annotations_subscribed":true,"autoplay":false,"automatic_instance_redirect":true,"captions":["English","",""],"comments":["reddit","youtube"],"continue":false,"continue_autoplay":false,"dark_mode":"dark","latest_only":true,"listen":false,"local":false,"watch_history":false,"vr_mode":true,"show_nick":false,"locale":"en-US","region":"US","max_results":40,"notifications_only":true,"player_style":"youtube","quality":"hd720","quality_dash":"auto","default_home":"Subscriptions","feed_menu":["Popular","Trending","Subscriptions","Playlists"],"related_videos":true,"sort":"published","speed":1.0,"thin_mode":false,"unseen_only":true,"video_loop":false,"extend_desc":false,"volume":10,"save_player_pos":true},"playlists":[]}

I'm going to double check it isn't any of my extensions by disabling them all tomorrow just to make sure it isn't any of them, but I don't believe any are relevant. Plus it doesn't happen on any other websites anyway.

Kommynct avatar Dec 04 '23 12:12 Kommynct

What instance are you using?

SamantazFox avatar Jan 07 '24 18:01 SamantazFox

I think there's a good chance this is instance specific, however, the instance I was using when I made this post is no longer publically available, i'll reopen with a link to the instance if it happens again.

Kommynct avatar Jan 08 '24 05:01 Kommynct

https://anontube.lvkaszus.pl it happens on this instance, it has happened twice now.

Kommynct avatar Jan 19 '24 03:01 Kommynct

I only get this behavior when the Firefox SponsorBlock addon activates, not when seeking normally

glottisfaun0000 avatar Feb 07 '24 19:02 glottisfaun0000

The arrow keys cause it for me but not mouse seeking

edit: now that I think about it, I never mouse seek anyway, and if it did happen, it would be immediately undone in the next frame because it only happens once per video, so, perhaps it does happen with mouse seeking.

Kommynct avatar Feb 07 '24 19:02 Kommynct

It's been happening to me too for at least the last few days, on multiple instances. I've noticed it only with the left arrow key trying to skip back. One of the instances where it happened might have been https://iv.nboeck.de, but I'm not sure (EDIT: can confirm, happened there just now).

I don't use SponsorBlock, but I do use uBlock Origin. However, it only started happening in the last week or so, and I haven't touched plugins in that time.

aaaxx avatar Feb 09 '24 06:02 aaaxx

Hello, if you have time could you please check if you still have this issue when applying this PR on your instance: https://github.com/iv-org/invidious/pull/4439?

unixfox avatar Feb 19 '24 23:02 unixfox