HTML5 Local Storage of audio element source - is it possible?

后端 未结 6 1629
不思量自难忘°
不思量自难忘° 2020-11-30 22:35

I\'ve been experimenting with the audio and local storage features of html5 of late and have run into something that has me stumped.

I\'d like to be able to cache or

6条回答
  •  遥遥无期
    2020-11-30 23:07

    So it's been a while since I asked this question and I thought i'd give some info about how we solved it. Basically we encoded the data into PNG's using a similar technique to this:

    http://audioscene.org/scene-files/yury/pngencoding/sample.html

    Then cached the image on the mobile device using html5 local storage and accessed it as needed. The PNG's were pretty big but this worked for us.

提交回复
热议问题