HTML5 Videos: Prevent seeking (fast forward), Download, define start/end time
D
DENTwire Customer Service
Prevent seeking (fast forward) via JS as toggle switch in theme config or embed popup
Example and info:
Also see here:
I have added the js into the custom/advanced but cannot get it to work properly.
There are probably more folks like me, which would benefit from a simple toggle switch when embedding a video.
Bonus:
-adding fields for start time and end time of the video. this already works well and easy when adding myvideo.mp4#t=125,185 to the src=
Why? my video might be 30-60min long. Relevant are a few min here, there and there.
I can embed the video without post editing, cutting trimming and rendering, so I save a lot of time! This also keeps the media library small, since only one video file is stored and not the raw original plus post edited sections of the original.
Problems:
-The customer should not be able to fast forward the training section!!
-customer should only be able to access the defines section of the video, as there could be sensitive information in other parts of the video. (when adding myvideo.mp4#t=125,185 to the src= the video will start and stop as expected, but the user can then freely use the seeking slider to browse the entire length of the video)
-the customer could download the video and access sensitive information (this can be prevented by:
<video
id="video"
controls="controls"
preload="none"
controlslist="nodownload"
oncontextmenu="return false"
>
<source
src="https://
Log In