I exported one of my project in html5. Everything seems ok BUT on ios, no sounds are played on iphone.
All sounds are .wav played on mouseEvent or so.
Here is a peace of code I quickly made to reproduce the issue
function playSound (target, event)
if target:hitTestPoint(event.x, event.y) then
local mySound = Sound.new("pop.wav")
local uiSfxChannel = mySound:play()
local playBtn = Bitmap.new(Texture.new("btn.png"))
playBtn:addEventListener(Event.MOUSE_DOWN, playSound, playBtn)
The export is visible here : http://jimlev.alwaysdata.net/soundissue/index.html
It work fine on desktop computer. On android phones. But no sound on my (quite old iphone 6). If someone can test and tell me if it works on recent iphone. I also appreciated any idea for a solution
take care !
My meditation plan :
SinisterSoft: “ I don't create classes that much - classes are good for making things simpler but imho for frame rate they are also death by a thousand cuts.”
Totebo: “ Best quote ever.”