Forum Discussion
Text To Speech w/Video controls
I've added several videos to an E-Learning and aligned them with Text To Speech. However, I just had a request to add video controls to allow pausing. When the video pauses, the text to speech continues. Does anyone have any idea how I can align the text to speech so it pauses when the video is paused?
15 Replies
- AndyMantschCommunity Member
I imported a video from a Canva design, and then just added Text-To-Speech directly through Storyline. Then I added the Video Controls option at the bottom of the screen with a layer over the video to remove the "click to pause" functionality. When they pause the video using the Video Controls, the Text To Speech keeps going.
- EricSchaffer-d1Community Member
If you have a trigger to pause the video, I would think you could use the same trigger to pause the audio.
- MariHijerCommunity Member
I have the same issue. Did you solve it?
Hello MariHijer,
Happy to help!
A restriction with video controls prevents the bar from controlling other objects in the slide, such as text-to-speech audio files. There's currently no way to assign triggers to the video control buttons, so pausing other media files in the slide when a video is paused via the video controls bar is impossible. One workaround is to do away with the video controls and use triggers exclusively with the actual video to control when a text-to-speech file will play.
I'll let other community members chime in in case someone has an out-of-the-box solution that they'd be willing to share!- MariHijerCommunity Member
Hi, I tried adding buttons with triggers and it works fine, but it doesn't look as nice as the video controls. Progress information and information about how long the video is not visible. Is it possible to insert information about the length of the video with a variable?
Hello MariHijer,
Thanks for following up with us in this thread! I want to confirm that accessing the built-in video controls and assigning them to triggers is not possible.
I'll open this discussion up to our fabulous community for any possible custom workarounds or suggestions they'd be willing to share!
- MariHijerCommunity Member
Hello LucianaPiazza! Can you please tell me how to add a button to fast forward in the video? I have created buttons to play, stop and restart using triggers, but cannot find a triggers for fast forward or rewind.
- PerryCoxCommunity Member
It might be too late for you for this project, but for our projects we never use video controls, so I think you could implement what we do with your video.
I would turn the video controls on so they are visible. I would set the video to autoplay, then set the timeline to pause when the slide starts. Then I would place a rectangle with no outline or fill over the video, with a trigger to change its state to normal when the user clicks on the rectangle. This way they can't actually reach the controls of the video. Their clicks trigger the rectangle to change into itself.
Then I would add a hotspot over the buttons with triggers to play/pause the timeline. That way the audio files and the video files will play and pause together.- MariHijerCommunity Member
Thank you for your answer! Right now both the stop and pause buttons are working fine. Both audio and video are stopped at the same time. But fast forward does not work for the sound, only the video. Have you got fast-forward and rewind to work in your solution?
- PerryCoxCommunity Member
I had a thought. Here is the test file I created. It has text generated speech and the storm soundwave video. If nothing else, you can use it to test and see if it is just your project that is working incorrectly, or if its any project that you attempt it with. That should give you one more data point to include on a ticket if you chose.
- MariHijerCommunity Member
Using your test file I found what was wrong. I had set triggers to start video and audio, and because of that the audio was converted so that it was no longer controlled by the timeline. I removed the triggers that started the media, they are not needed since the media starts automatically. And then it finally worked. Thanks for the help!
Related Content
- 7 months ago