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!
EricSantos
2 years agoStaff
Hi Darryl,
I'm glad to hear that the issue is sorted out on your end; thanks for letting us know! I appreciate you sharing the JavaScript solution that worked for you. I'm sure other community members will find that helpful!
- DarrylPalaub4922 years agoCommunity Member
Hi Eric, thanks as well. I'm happy to share this!