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

Audio wont load/trigger/fire in HTML5

Participant ,
Feb 01, 2018 Feb 01, 2018

Hello,

I am at am impasse so I am sending this to the CP gods and goddess.

I have an "I need a hint" button appear on the slide, for remediation, when students choose the wrong (false) option on a concept checking slide.

Here is the advanced action for the 'I need a hint' button:

script1.png

However, no matter what I do, I cant get the 'play audio' file to play when the button is clicked, and it jumps to the correct slide, slide 7.

Any advice or direction would be helpful.

Thank you.

TOPICS
Advanced
777
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
Participant ,
Feb 01, 2018 Feb 01, 2018

P.S.

Everything else works fine.

Thank you.

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 ,
Feb 01, 2018 Feb 01, 2018

I do believe this post marks a significant event.

Lilybiri, the Advanced Actions Queen, has just been promoted to the status of Goddess!

Until this moment I never realised it was possible to achieve ascension and deification simply by answering questions on this forum. I mustn't be getting all my memos.

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 ,
Feb 02, 2018 Feb 02, 2018

Maybe people want to get rid of me that way? I feel very human....getting wet in Belgian rain, shivering in the cold of railway station...

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 ,
Feb 02, 2018 Feb 02, 2018

Why do you stop triggered audio? If you use the command 'Play Audio', any other audio that was started with a similar command and another clip is stopped automatically. Unnecessary command.

Yo end with a Pause command, why? You are showing a button, doesn't it have a pausing point? The effect of the command 'Pause' is not totally the same as a 'milder' pausing point. Have a look at this movie:

http://www.lilybiri.com/published/PauseTypes/index.html

It is not clear to me which items are on which slide? The buttons you hide/show are on which slide? Why does the 'hint' have to be heard on another slide than the hint button?

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
Participant ,
Feb 02, 2018 Feb 02, 2018

Hi, Thanks for your reply.

The 'stop triggered audio' and 'pause' commands are in there because if they aren't, the audio narration plays, and if students do not wait until it finishes before they click another button that also has narration, the sound clips overlap and nothing can be understood.

If both of those commands aren't there, the audio narration overlaps, no matter what I do.  Adding them is this only way I could get it to not overlap, or play at the same time when clicked.

Now I am having the reverse challenge, I cant get it to PLAY in the above script no matter what I do.

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 ,
Feb 02, 2018 Feb 02, 2018

Stop Triggered audio has NO effect whatsoever on slide audio, only the PAUSE command can stop slide audio. That is what I explained in that movie (did you watch?) and in my sequence of articles about the timeline.

Do you need slide audio? That is the crucial question: it is only really needed when you want to use the CC feature of Captivate.

This is not really the place to explain the TImeline, I created tons of articles about them, expeically the differences between all the audio types and the way they react to a Pause command and to a Pausing point (which is NOT the same). You don't believe lme when I say that Stop Triggered audio is unnecessary.  I am very sure about that, but when there is no trust, it has no sense to continue to explain.

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
Participant ,
Feb 02, 2018 Feb 02, 2018

I totally believe you, you're the expert, I am not... But if they aren't there, it simply doesn't work. No idea why.

Yes, we need narration. Some of our students have reading disabilities. CC would be great accept it cant be fired/triggered/activated in an advanced action, so CC is a really nice feature, but wont work for us because of this.

Thanks you. 

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 ,
Feb 02, 2018 Feb 02, 2018

Now I am totally confused. It would be better if you explained what you want to do instead of posting an Advanced action which probably has a lot of logical bugs in it. Or at least answer my questions like this one:

"It is not clear to me which items are on which slide? The buttons you hide/show are on which slide? Why does the 'hint' have to be heard on another slide than the hint button?"

Now you say first that you need CC, but then that you cannot use it?

You probably will need the Delay Next actions command, but unless you explain exactly what you want, wothout leaving out details like that you have slide audio that should be paused, it is impossible to offer you a solution.

Anyway, also for the case of other users, I repeat: The command 'Stop Triggered Audio' can only stop audio clips that are triggered with the command 'Play Audio'. You don't need to use it in an action where you use another Play Audio command because Captivate's design is so that the first audio clip will automatically be stopped when a new audio clip is launched by that command. Sequence of commands in an action is very important as well.

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
Engaged ,
Jun 14, 2018 Jun 14, 2018

How about using transparent objects that have object audio attached? Then you can show/hide these objects when you want to play/stop audio. This eliminates overlapping audio issues.

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 ,
Jun 14, 2018 Jun 14, 2018

Hmmm, object audio is precisely the only audio that allows real overlapping. Have a look at:

Audio Objects: Control them! - Captivate blog

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
Engaged ,
Jun 15, 2018 Jun 15, 2018

True, but it also allows precise control of when the objects are visible, which means it is easy to control when their audio plays. If all the audio is object audio then careful use of show/hide of the audio objects also determines which audio plays when. It is easy to get confused when using different types of audio - slide, object, triggered, background - all within the same slide.

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 ,
Jun 15, 2018 Jun 15, 2018

I have been writing more than one post about object audio...

One of the big problems is the fact that it is impossible to pause object audio, once it started playing a Pause nor a Pausing point can pause it.

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
Engaged ,
Jun 15, 2018 Jun 15, 2018

Lieve, I do not wish to make this sound like an argument - we are both on the same side. Which type of audio to use depends on the situation and goal of the writer.

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 ,
Jun 15, 2018 Jun 15, 2018
LATEST

Oh, I didn't want to argument, just wanted to add that information because there is a lot of misunderstanding about which type of audio can be paused,  Just extra info for readers of this thread.

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