natemago / tabata-timer

Simple tabata timer
http://natemago.github.io/tabata-timer/
GNU General Public License v3.0
11 stars 4 forks source link

Sounds won't play on Ipad and Android #2

Closed mnmllink closed 9 years ago

mnmllink commented 9 years ago

Sounds won't play on any mobil devices! Please help me to fix that :) Thanks

natemago commented 9 years ago

Will look into it :)

mnmllink commented 9 years ago

any progress so far? :)

natemago commented 9 years ago

The problem is that the sound won't play (although no error is reported by the audio element itself) if the sound is created and loaded programatically from JavaScript without user interaction. But, it will play if the load is triggered by some sort of user event (on click for example).

Tested this on andoird 4.4 and seems to be the solution for the problem.

Will fix it shortly.

natemago commented 9 years ago

Fixed the issue and tested it on Android 4.4. The fix is also available on the Tabata Timer Site and you should be able to hear sounds.

Plese check it and verify if it works.

mnmllink commented 9 years ago

Hey,

thanks for fixing this… working fine on Ipad and Android now!!

Cheers

Am 21.05.2015 um 22:40 schrieb Pavle Jonoski notifications@github.com:

Tabata Timer Site http://natemago.github.io/tabata-timer/

natemago commented 9 years ago

Thanks for the quick feedback. I'm closing the ticket.