May 14, 2018
The play audio does not work well in chrome/safari
Comments
(6)
May 14, 2018
The play audio does not work well in chrome/safari
Newbie 1 posts
Followers: 0 people
(6)

Hi

do you have any solution and suggestion ?

problem back ground:   captivate 2017,   a button with action options-play audio calling a sound file (mp3).   very simple case.

work well in IE (version 11). but fail in chrome [版本 66.0.3359.139 (正式版本) (64 位元)]& safari . both in preview and published.

6 Comments
2018-05-16 06:19:26
2018-05-16 06:19:26

Sorry. I understand your answer now. Thank you!

Like
2018-05-15 06:45:48
2018-05-15 06:45:48

I found the information from Chrome developer tool.

CPM.js:468 The AudioContext was not allowed to start. It must be resume (or created) after a user gesture on the page. https://goo.gl/7K7WLu
a.AudioManager @ CPM.js:468

I wonder why the audio can not play after user click the button in my demo link in Chrome.

I tried to solve it by display the successful caption (default Success_Shape_1) for the button. then attached the audio to the caption. It worked.

don’t sure whether it is the best solution.

Thank you for help.

Like
2018-05-14 14:32:56
2018-05-14 14:32:56

Chrome disabled AutoPlay. If you installed the patch for CP2017, you will have seen that AutoPlay is automatically disabled for HTML output. If you want to get rid of the start screen which is a black button on a white background, have a look at this blog post:
https://elearning.adobe.com/2018/03/get-rid-white-start-screen-black-button-html-output/

Like
(1)
>
Lieve Weymeis
's comment
2018-05-15 02:38:24
2018-05-15 02:38:24
>
Lieve Weymeis
's comment

Thx, Lieve. Would you like to take a look to the link below. The link (demo) may help you to understand my situation.

http://www.york.edu.hk/test/testcaptivate/newstudent/game02/testsound/sound3/index.html

I test the link in browsers and result as below

Window PC, browser->IE 11, OK (can hear the sound)
Window PC, browser->Firefox, OK (can hear the sound)
Window PC, browser->Chrome, Fail (can not hear the sound)

Iphone 7, browser-> Chrome, Fail (can not hear the sound)
Iphone 7, browser-> Safari, Fail (can not hear the sound)

Thank you for your help.

Like
2018-05-14 08:58:33
2018-05-14 08:58:33

To mention clearly. it should be chrome [version 66.0.3359.139 (64 bits)]

Like
Add Comment