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

Can you pause "triggered" audio?

Community Beginner ,
Jul 15, 2016 Jul 15, 2016

I'm pretty sure I know the answer, but I am going to ask anyway:  Is there a way to pause triggered audio - eg. audio that plays when user clicks a button -- and play it again from where it left off?

A workaround would be putting the audio on the slide and taking the user to a copy of the slide when the user clicks the button, but I was wondering if there was a more straightforward way to do it..

Thanks for any tips!

- Ryan

384
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 ,
Jul 15, 2016 Jul 15, 2016

If it's html5 you can with JavaScript. I'll post some code when I'm on my laptop.

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 ,
Jul 15, 2016 Jul 15, 2016

Awesome. Sounds great.

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 ,
Jul 15, 2016 Jul 15, 2016

I missed the trigger audio part. My script pauses and plays audio that is attached to objects.

You should try Lieves option, as it would be much easier.

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 ,
Jul 15, 2016 Jul 15, 2016

Is it a problem if the whole slide is paused? Or do you want the playbar to continue but only the audio to pause?

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 ,
Jul 15, 2016 Jul 15, 2016

Hi Lilybiri,

It is not a problem if the whole slide is paused.

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 ,
Jul 15, 2016 Jul 15, 2016

Just use a Pause/Play toggle button, but maybe JS approach is better. This is the simplest version, you can also add a command to change the state to show that audio is paused or not. If you don't want the audio to play from the start, use the Pause command On Enter.

PlayPause.png

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 Beginner ,
Jul 20, 2016 Jul 20, 2016
LATEST

Hi guys,

Ok. Thank you. I will try Lieve's option.

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