Forums
Home / Fixing WordPress / disable video forwarding
(@keshavareddy)
3 years, 2 months ago
how to disable video forwarding to prevent user from being skipping the video content
(@mango404)
You could hide Video controls so User won’t be able to click in the timeline to skip some parts.
<video nocontrols> </video>
But keep in mind to set autoplay on your video becouse no user can click play button
<video nocontrols autoplay> </video>
(Autoplay in Chrome only works muted)
(@a2hostingrj)
Depends of the library you use to embed videos.
Usually, you just remove the “controls” tag. Alternatively, you can remove the controls using javascript:
document.getElementById(‘video-player’).controls = false