Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
1

Closed captions with triggered audio

Explorer ,
Nov 14, 2017 Nov 14, 2017

In Captivate 10, I am trying to add closed captions to my audio. Is this only possible with audio that is on the timeline? I don't see the Closed Captioning tab when I open an audio file from the Library. This would be audio that I trigger using the "On Enter:" property.

Thanks.

699
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 14, 2017 Nov 14, 2017

Indeed, the Closed Captioning work flow is only available for slide audio, not for Object audio, nor audio triggered by the 'Play Audio' command. Logical reason is that synchronizing can only happen when there is an audio timeline. The other audio clips can play while the timeline is paused. Slide audio can be paused when pausing the timeline.

You could mimick the closed captions by creating text containers and time them to appear at the right moment, based on the audio clip. This will probably mean that you'll need advanced actions, and use the Delan Next actions command several times.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 14, 2017 Nov 14, 2017

You are correct that the Closed Captioning that is available via the Slide Notes is only for audio that is added to the timeline of a given slide.

The audio triggered by an action does not have the option of using this same method of showing Closed Captioning.  However, you could use Advanced Actions an alternative method of showing text on screen (in Smart Shapes for example) to coincide with the action triggered to play an audio file from the library.  It's more work to set up, and you need to make sure the two methods don't conflict in any way, but it's doable.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Nov 14, 2017 Nov 14, 2017

It is possible to do what you want with JavaScript.

If it's short audio and the CC can fit within the CC box it fairly simple. If it needs to be timed to the audio and flip paragraphs, then it is a bit more complicated.

To put CC text into the container execute this JavaScript when showing the object with the audio attached.

var myCCDiv=document.getElementById("ccText").getElementsByTagName("p")[0];

myCCDiv.innerHTML="your CC text here."

So in an advanced action:

show object

execute JavaScript

assign cpCmndCC with 1

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 14, 2017 Nov 14, 2017

Thanks for all of your comments! I am using triggered audio so I can stop the triggered audio if another action on the screen requires audio. Guess I can't have my cake and eat it too!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Nov 14, 2017 Nov 14, 2017
LATEST

Same thing. Just execute play audio in the advanced action. It woks just fine.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources