Forum Discussion
Disable dragging a video seekbar in Storyline 360
- 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!
Hi Darryl,
You're right; the video controls are still accessible using the keyboard. Combined with Judy's suggestion, will removing the video object from the focus order be an acceptable workaround for you? That way, clicking the Tab key won't go through the video and its controls.
- DarrylPalaub4922 years agoCommunity Member
Hi Eric, thanks for this. Unfortunately, the video object is needed in the focus order.