Forum Discussion
Liz_Tyler
7 months agoCommunity Member
Seekbar disabling after video completion
Hi,
I was wondering if there is a way to disable the seekbar in Storyline after a video completes. I want to give my users access to drag the seekbar on their first viewing of a video, but I don't ...
- 7 months ago
I think you've cracked it! It seems to be working fine. But, I'll thoroughly test it early next week. Thank you. 👍
Nedim
7 months agoCommunity Member
Your best option is to use JavaScript, as this functionality isn't built-in by default. Run the following script when the timeline ends on a slide:
const seek = document.querySelector('#seek');
const reset = document.querySelector('#reset');
seek.style.pointerEvents = 'none';
reset.addEventListener('click', function () {
seek.style.pointerEvents = 'all';
});
Liz_Tyler
7 months agoCommunity Member
Thank you for that. I tried it and while it does prevent the use of the seeekbar once the video is viewed, it also blocks it when replay is chosen and I want the seekbar to be available again at that point. Is there any way to make the seeekbar functional again on clicking a replay button? I'm very appreciative of your time, though. Thanks again,
Related Content
- 7 days ago
- 4 months ago
- 1 year ago