+ 1
iOS prohibits sound playing
Thanks to a report by marjel101 that this code doesn't work for iOS. https://code.sololearn.com/WaYqkYRj6jTD/?ref=app Description : The user cannot close the Terms and Condition page. My guess : I suspect that the problem is with these pairs: var correct = new Audio('https://www.dropbox.com/s/ehdu5ilfh5f96h8/Sololearn%20Correct.mp3?dl=1&raw=1'); at current line 1398, and correct.play(); at current line 1357. which is also known as "user gesture protection". But I am not sure. And even if it is, I don't know how to solve it đ¤ˇââď¸
3 Answers
+ 2
I wish i could find a solution, but i got no iPhone here..đ
+ 1
Hmm⌠đ¤
Waiting for someone's solution
Too bad I can't test this on my phone
0
marjel101 had offered to use touchstart event listener, which facilitate closing of the modal box.
but either way, she couldn't hear the ding sound.
đ¤