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 just simply created an Execute JavaScript trigger when the timeline starts, copy and paste the code below to your 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;}")
It's 2:37am on a Saturday night/Sunday morning. I have been working 12-18 hours a day for a couple weeks now, 7 days/week. I have spent hours upon hours today trying to figure out this problem. Your code did EXACTLY what I needed. THANK YOU. I just wanted to say, I love you. That is all. Have a great day!!!