Forum Discussion
DarrylPalaub492
2 years agoCommunity Member
Disable dragging a video seekbar in Storyline 360
Hi everyone! Just wondering if there's a way to disable the seekbar dragging functionality of an inserted video in the storyline. Please see attached screenshot file for reference. Thanks in a...
- 2 years ago
Hi Everyone! I did some JavaScript to make this work by simply adding an Execute JavaScript when the timeline starts Trigger.
These are the JS codes:
// One liner function:
const addCSS = css => document.head.appendChild(document.createElement("style")).innerHTML=css;
// Usage:
addCSS(".video-seekbar {display: none;} .modern-video-controls .video-controlbar {height: 50px !important;}")
Thank you so much, everyone!
JudyNollet
2 years agoSuper Hero
If you cover the video controls with a 99%-transparent shape, the user won't be able to use the controls. (That's transparent enough that it won't be visible, but it will prevent clicking the controls.)
FYI: You can hide that shape when the video is done so the user can access the controls for replaying.
Related Content
- 11 months ago