Using local file for Web Audio API in Javascript

后端 未结 4 1430
花落未央
花落未央 2020-11-28 06:04

I\'m trying to get sound working on my iPhone game using the Web Audio API. The problem is that this app is entirely client side. I want to store my mp3s in a local folder (

4条回答
  •  再見小時候
    2020-11-28 06:38

    Because ios apps are sandboxed, the web view (basically safari wrapped in phonegap) allows you to store your mp3 file locally. I.e, there is no "cross domain" security issue.

    This is as of ios6 as previous ios versions didn't support web audio api

提交回复
热议问题