Disabling video scrubbing but still allow pausing of video

Sep 14, 2023

Hi, I am creating a number of modules with very long videos (~30 mins). We would like to have the video controls to enable the user to pause/play but we don't want them to scrub the playbar until they have completed the video.

Can someone please help me figure out how this can be achieved.  Thank you

3 Replies
Andy Nock

Hi, Sandeep, thanks for your response. I actually wanted play/pause control as is a bit more intuitive for the users, also would still like them to view the video after and scrub around.

I managed to find a fix which I am still implementing, I added a box at 100% transparency over the scrub bar. Below is work in progress enabling me to still click at the end to test. I also added a layer with an error message to say scrub bar is not enabled yet until watched all way through. This can then be removed when media completes.

Hopefully this will work ok for me but anyone let me know if i'm missing something that will bite me later :)