我试图让音频声音在触摸上播放,但不能一直工作,它的工作在股票和海豚在Android上,但它不工作在iPad上。我曾尝试过在触动开始时使用mousedown,onclick,touchstart。他们都不是工作Mousdown相当于手机
<canvas id="scratcher1" class="scratchMe" width="99px" height="89px" onmousedown="alert(down)" onclick="alert(click)" touchstart="alert(touch)" ontouchstart="alert(ontouch)"></canvas>
<canvas id="scratcher2" class="scratchMe" width="99px" height="89px" onmousedown="scratch.play()"></canvas>
这是在什么现在它,切换到警报,所以我可以尝试找出哪些工作,就像我说的也不是。