zarocknz/javascript-winwheel

sound not work on IOS

ducvu91 opened this issue ยท 6 comments

hello,
http://dougtesting.net/winwheel/examples/wheel_of_fortune
i run example on IOS, sound not work. android it ok.
Pls double check !
thanks.

Is there any update regarding sound on IOS?

Hello everyone, any update in this issue? Sound not working in ios device,
Please help me,
Thanks.

Hello, why asking this here instead of checking web? This is not a bug of this great project.

It's related to how safari behaves. Check below for solutions :)

https://stackoverflow.com/questions/9811429/html5-audio-tag-on-safari-has-a-delay

Thanks for the link to stack overflow, hopefully the answers there can help.

Hello, why asking this here instead of checking web? This is not a bug of this great project.

It's related to how safari behaves. Check below for solutions :)

https://stackoverflow.com/questions/9811429/html5-audio-tag-on-safari-has-a-delay

Hello, I already check these solutions but no luck. There is no simple solution I can use right away. Did you implemented
AudioContext into any of your projects without using any other third-party libraries?

Thanks.

I ran into a similar issues with Safari and iOS - ended up using Howler.js
https://howlerjs.com

After you import the sounds using Howler - you can then add them to the playSound Function.
http://dougtesting.net/winwheel/docs/tut19_playing_sounds_and_music

Works quite well.