I have a video embedded in a screen. I have a separate audio file which introduces the screen. If the user clicks the video controls to launch the video, the sound file continues playing competing with the narration on the video. I can't seem to find a way to insert a stop media trigger to the launch of the video using the video controls. Any ideas?
You mentioned the video is embedded. Is it embedded from a link from the web? Not sure you can control that without some hacking. Is there a way to insert the video directly onto the slide? If so, then you have complete control of how to start/pause/stop the video.
The video is inserted into the slide. The issue is not with the video - the controls work perfectly.
The problem is that the slide has an introductory audio - positioning the video and giving the user instruction about how to watch the video. If the user clicks the play button on the video before the end of the initial narration, the audio carries on playing at the same time as the video - which also has audio narration. As you can imagine that's a little confusing.
Usually where there is the possibility that a user will click something before an audio has ended, I simply insert a trigger to stop the sound file from playing once the user clicks something else - especially if the new layer or new object also includes audio. However, the automatic video controls don't appear as an object on screen which a trigger can be applied to. I was wondering if there is a way of either inserting a 'stop media' trigger when the user clicks the video control, or disabling the video control until the audio had ended. Any ideas?
There may be easier ways to do this, but one option would be to put a custom play/pause button over the built-in one. In the screenshot below I offset the custom button slightly, so that you can see both. You can then add triggers to the custom button that stops the audio, starts the video and changes the state of the custom button. Here is an example.
Another approach (easier is subjective) is to add a trigger to "Stop Media [video name] when timeline starts." Or select the video and then in the Media Tools format tab ensure the video is set to begin from a trigger.
The *trick* is to create shape the same dimensions as the video including the play bar. Fill color can be anything but select 'no outline.' Then set the transparency to 100%. This acts as a screen where the video nor the play bar can be clicked.
Finally, set a trigger to hide that screen when the audio narration ends - Change the state of [screen] to Hidden when media [audio] completes.
Couple things happening here. The video does not start when the timeline starts. User cannot click on any portion of the video until given access (screen). Control when the screen is hidden based on the timeline...in this case when the audio narration completes.
Thanks Michael and thanks again Kevin. These are great suggestions. I'm going to play around with these and I'll let you know which solution I end up going with.
In the end I went with a variation on Kevin's suggestion involving an invisible mask for the video controls which changes to hidden once the initial audio ends. Alongside this I changed (and shortened) the intro audio.
Thanks for checking back in on this request! We don't currently have a built-in feature for adding triggers to the video controls. I see there are workarounds listed in this discussion but if it's not the fix you're looking for, would you mind adding additional details to what you're hoping to build?
Ha! These posts were from so long ago I thought surely they wouldn't help me. But they did! Thank you Kevin Horn - I used your suggestions to get my video to play after the audio was completed. I was using a shape overlay with no fill and no outline which wasn't doing the trick for me. So thank you!
Transparent buttons are great for this. I usually use them to show the message 'video will be playable once the audio has finished' to stop anyone starting the video before the VO has finished.
13 Replies
Hey Robin,
You mentioned the video is embedded. Is it embedded from a link from the web? Not sure you can control that without some hacking. Is there a way to insert the video directly onto the slide? If so, then you have complete control of how to start/pause/stop the video.
Hi Robin! Looks like Kevin is assisting you here Thanks Kevin!
Hi Kevin
Thanks for replying.
The video is inserted into the slide. The issue is not with the video - the controls work perfectly.
The problem is that the slide has an introductory audio - positioning the video and giving the user instruction about how to watch the video. If the user clicks the play button on the video before the end of the initial narration, the audio carries on playing at the same time as the video - which also has audio narration. As you can imagine that's a little confusing.
Usually where there is the possibility that a user will click something before an audio has ended, I simply insert a trigger to stop the sound file from playing once the user clicks something else - especially if the new layer or new object also includes audio. However, the automatic video controls don't appear as an object on screen which a trigger can be applied to. I was wondering if there is a way of either inserting a 'stop media' trigger when the user clicks the video control, or disabling the video control until the audio had ended. Any ideas?
Thanks
There may be easier ways to do this, but one option would be to put a custom play/pause button over the built-in one. In the screenshot below I offset the custom button slightly, so that you can see both. You can then add triggers to the custom button that stops the audio, starts the video and changes the state of the custom button. Here is an example.
Michael has a great solution.
Another approach (easier is subjective) is to add a trigger to "Stop Media [video name] when timeline starts." Or select the video and then in the Media Tools format tab ensure the video is set to begin from a trigger.
The *trick* is to create shape the same dimensions as the video including the play bar. Fill color can be anything but select 'no outline.' Then set the transparency to 100%. This acts as a screen where the video nor the play bar can be clicked.
Finally, set a trigger to hide that screen when the audio narration ends - Change the state of [screen] to Hidden when media [audio] completes.
Couple things happening here. The video does not start when the timeline starts. User cannot click on any portion of the video until given access (screen). Control when the screen is hidden based on the timeline...in this case when the audio narration completes.
Thanks Michael and thanks again Kevin. These are great suggestions. I'm going to play around with these and I'll let you know which solution I end up going with.
Hi everyone
In the end I went with a variation on Kevin's suggestion involving an invisible mask for the video controls which changes to hidden once the initial audio ends. Alongside this I changed (and shortened) the intro audio.
Thanks
Thanks for the update Robin! Glad you were able to get the assistance that you needed.
Has there been any update to resolve this? The video controls are still not available to add a audio pause media trigger to... Thanks!
Hi Krista!
Thanks for checking back in on this request! We don't currently have a built-in feature for adding triggers to the video controls. I see there are workarounds listed in this discussion but if it's not the fix you're looking for, would you mind adding additional details to what you're hoping to build?
Ha! These posts were from so long ago I thought surely they wouldn't help me. But they did! Thank you Kevin Horn - I used your suggestions to get my video to play after the audio was completed. I was using a shape overlay with no fill and no outline which wasn't doing the trick for me. So thank you!
So glad that you were able to find what you needed, Shonna. I appreciate you chiming in to share.
Welcome to E-Learning Heroes as well :)
Transparent buttons are great for this. I usually use them to show the message 'video will be playable once the audio has finished' to stop anyone starting the video before the VO has finished.
This discussion is closed. You can start a new discussion or contact Articulate Support.