javascript-winwheel icon indicating copy to clipboard operation
javascript-winwheel copied to clipboard

sound not work on IOS

Open ducvu91 opened this issue 6 years ago • 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.

ducvu91 avatar May 04 '19 10:05 ducvu91

Is there any update regarding sound on IOS?

soumyajit-int avatar Dec 09 '19 08:12 soumyajit-int

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

chauanthuan avatar Mar 23 '20 15:03 chauanthuan

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

SailorTurkey avatar Mar 24 '20 00:03 SailorTurkey

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

zarocknz avatar May 06 '20 09:05 zarocknz

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.

bakdakonusuruz avatar Oct 01 '20 16:10 bakdakonusuruz

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.

blockmonkey avatar Jun 22 '21 18:06 blockmonkey