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 advance!
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!