Prevent scrubbing/seeking in an embedded video?
157 0 1Is there a built-in way to prevent or disable a user skipping ahead in a video? It would be great if they could skip back to previously viewed content, but not skip beyond the furthest point viewed. This is to meet time requirements regulatory training.
Answers ( 1 )
You have a couple options:
- Turn off the scrub bar, which would prevent it, but then they couldn't use it to go back.
- Add an action that when the video is at say 1 second start a timer and then a second action that when that timer was completed it would enable the next button. The timer would be set to be the length of the video. Probably no need to "show" that timer.
- After watching the video, (with the scrub bar off) hide the video and then show the video (same video but reused) with the scrub bar on (so they could - after watching it scrub as desired).
Here is a link with options 2 and 3 (on page 1 and 2).
Here is an import code if you want to import it (only will be available for 7 days): 2A4F7B2835E2A50CE8B932B0F1BF4C15D64F40487A3D261B4889CEF33B58315FC284153D9A3E99F7E98425B1EF4F2E8D79089FB26362A7537A845905C5F051A4464A48A665C325FF7B8D6A07DF2055A6
(If not sure how to import, here are the steps: https://dki.io/63ef62a8)
Comments
( 2 )
Thanks, Paul. I'll give that a shot. I tried running the import code, but ran into an error saying the project import failed.
An updated code has been posted. I generated the original from a beta release, which wouldn't import into the current release. This code should work fine.
Comments
( 0 )