RblSb / SyncTube

Synchronized video viewing with chat and other features (one-channel web service)
MIT License
246 stars 52 forks source link

How to block the scrollbar for others except Leader, Admin? #51

Open 89891383 opened 3 months ago

89891383 commented 3 months ago

As in the title. I would like the bar to be locked for everyone so that no one can scroll through the videos except the admin, the host. I would appreciate your help.

89891383 commented 3 months ago

Although the videos can be rewound, they go back to their time, but I wish it was possible to block this at all

RblSb commented 3 months ago

You mean seeking video timeline?

89891383 commented 3 months ago

rmbRX86VQaCUu4qE552eIA

89891383 commented 3 months ago

@RblSb

89891383 commented 3 months ago

ye

aNNiMON commented 3 months ago

@89891383 afaik, there's no option to hide/disable the seekbar in the HTML5/YouTube video element. It's possible to hide the entire video UI, but that hides the volume control and the video timer as well. And, in my opinion, that might be much more annoying to viewers than an unlocked seekbar.
Also there's an option to disable a video synchronization, so the user can rewind video and watch at 2x without distracting other participants.

RblSb commented 3 months ago

Later I will try to make an instant rewind to the server time when trying to change the time if you are not the leader (and not after a few seconds when synchronizing, as is done now).

But this is not a high priority task, and will not block seekbar completely due to browser limitations. So I will leave this issue open, but for now I have other things to do and it is not so critical.