Event timeline / scroll bar resets when dragged

Current Development version likely to have breaking changes
Post Reply
lightguy48
Posts: 106
Joined: Sun Nov 15, 2015 7:19 pm

Event timeline / scroll bar resets when dragged

Post by lightguy48 »

I searched for this issue but maybe I'm using the wrong terms in my search:

Anyone noticed an issue when viewing an event that if you try to click or drag on the timeline/scroll bar that the event restart back to the beginning?

Sometimes if I refresh the page a time or two I can get the timeline scroll bar to drag / click again but it's very difficult to get it to work.

I'm noticing the same issue on 1.37.48 and 1.37.50. I'm running on Ubuntu 22.04.3 LTS and the events recorded are using H.264 passthrough
dougmccrary
Posts: 1256
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

Re: Event timeline / scroll bar resets when dragged

Post by dougmccrary »

Don't think I've seen that...on what device? Computer?
borozenetsww
Posts: 32
Joined: Tue Sep 12, 2023 1:55 am

Re: Event timeline / scroll bar resets when dragged

Post by borozenetsww »

Confirmed on last build too.
lightguy48
Posts: 106
Joined: Sun Nov 15, 2015 7:19 pm

Re: Event timeline / scroll bar resets when dragged

Post by lightguy48 »

dougmccrary wrote: Sat Feb 03, 2024 11:57 pm Don't think I've seen that...on what device? Computer?
It happening on every computer that I use.

However, it does seem to be Browser dependent. Chrome has the issue 95% of the time, the progress/time bar works reliably on Firefox.

I'm not sure what the difference is between the two.
dougmccrary
Posts: 1256
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

Re: Event timeline / scroll bar resets when dragged

Post by dougmccrary »

That explains it. I use FF almost exclusively.
User avatar
iconnor
Posts: 2936
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Event timeline / scroll bar resets when dragged

Post by iconnor »

Chrome is stupid. We implemented range support years ago, so that the browser could support seeking and not download the entire mp4 before viewing. This works great in ff, but in Chrome it decides to ask for 16k chunks at a time. Takes forever to even start playing the video.

So we disabled that for Chrome so that it starts playing immediately. You may notice the the progress bar is jumping around as it downloads more of the video. Once the entire video is downloaded, it will likely work fine. Until then, it is crappy.

The only way I can think of the fix it is to simply not use html5 video tags and do something smarter. I don't have time right now to get into it, but it needs to be done.
IgorA100
Posts: 88
Joined: Sat Feb 03, 2024 11:55 am

Re: Event timeline / scroll bar resets when dragged

Post by IgorA100 »

This problem only occurs when using the MP4 codec.
When using the MJPEG codec, the timeline works correctly.
but it needs to be done
Great, we'll wait!
lightguy48
Posts: 106
Joined: Sun Nov 15, 2015 7:19 pm

Re: Event timeline / scroll bar resets when dragged

Post by lightguy48 »

Thanks!
IgorA100
Posts: 88
Joined: Sat Feb 03, 2024 11:55 am

Re: Event timeline / scroll bar resets when dragged

Post by IgorA100 »

iconnor wrote: Mon Feb 05, 2024 3:22 pm Once the entire video is downloaded, it will likely work fine.
I tried to watch 10-second videos in Chrome, but it didn’t work even after downloading the video completely :(
Any click on the time bar starts playback again.
Post Reply