disable video forwarding
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘disable video forwarding’ is closed to new replies.
Home / Fixing WordPress / disable video forwarding
how to disable video forwarding to prevent user from being skipping the video content
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)
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