iOS Background Audio in a Web App

前端 未结 4 1923
太阳男子
太阳男子 2021-02-08 03:02

I am writing a web app that uses HTML5 audio. I want to make sure that the user can move to a different application while still listening to the audio in the background. This wo

4条回答
  •  庸人自扰
    2021-02-08 03:28

    This is not possible, at least not currently. You are playing the audio from the browser and when the browser closes the system kills the app, or freezes it, unless it has multi-tasking support(but that isn't allowed for web apps)

提交回复
热议问题