Copy link to clipboard
Copied
How do I disable the play button on the skin editor until the audio has finished playing? I am creating an LMS and I wanted the play button to be disabled until the audio that is automatic stops playing. I would like to avoid creating buttons and just have the skin editor play button stop working until a set time.
Copy link to clipboard
Copied
I think you mean the playback controls you see during playback? I'm not sure it's possible to achieve without lots of special coding.
The skin editor is what you use to change the appearance of the playback controls you see during playback.
Cheers... Rick
Copy link to clipboard
Copied
You are correct, I did mean the playback controls. I was afraid a ton of coding was the answer. Is there a way then to change the visibility of the playback controls until the slide has completed playing?
Copy link to clipboard
Copied
Captivate interactivity is Event-Driven. You don't currently have an event that gets fired when an audio file finishes playing.
The Play/Pause button on the playback bar can be controlled via the Pause and Continue actions. These stop or start the timeline of the content at run-time.
However, if your audio has been added to the slide, then using the pause action will also stop the audio playback. If the audio is added to an object or triggered by an event, then manipulating the pause or play of the timeline doesn't have the same effect.
So where is your audio added in this case?
Copy link to clipboard
Copied
The audio was added to the slide itself. It would be triggered as soon as the slide starts.
Copy link to clipboard
Copied
I would hide the playbar and use custom buttons. But of course, I almost never use a playbar.
Maybe this blog post could help you as well: