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 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!
- SandeepNandipat2 years agoCommunity Member
Hi Darryl, Can you guide how to use these codes. Newbie here and wanted a similar solution
- SandeepNandipat2 years agoCommunity Member
The video completely skips and goes to the next section when I'm going through the course.
- StevenBenassi2 years agoStaff
Hi Sandeep!
Since this discussion is a bit older, Darryl may no longer be subscribed. If you want to reach out to him directly about the Javascript solution he shared, you can do so by clicking on his name and using the 'contact me' button.