Can you cache sound files in an iOS web app using a manifest or Web Storage?

后端 未结 3 1586
野性不改
野性不改 2021-02-09 08:28

When I add my beep-23.mp3 file to the cache manifest, the sound effect no longer works on or offline. Is this a bug, or am I doing something wrong?

The audio is within

3条回答
  •  既然无缘
    2021-02-09 08:56

    If you haven't already you have to make sure that URL paths are absolute or relative to the .manifest and not the actual webpage.

    There is also a limit to the size of the actual component that you are trying to cache currently at 4MB.

    The total cache limit is 5MB.

    I'm also pretty sure you can not cache audio and video files.

提交回复
热议问题