javascript - Soundmanager 2 and iOS using from and to commands -
this code working on macos , not on ios.
soundmanager.setup({url:'soundmanager2/',onready:function(){var mysound=soundmanager.createsound({id:'asound',url:'soundmanager2/notes.mp3'});mysound.play({from:50000,to:52000});},ontimeout:function(){}});} when not use 'from' , 'to' commands works fine on ios... need audio sprite.
any idea fix or way make audio sprite working ios ?
you should using howler.js audio sprites work on mobile devices.
soundmanager uses html5 audio , flash fallback. need using web audio api sound sprites on mobile (which howler.js supports).
Comments
Post a Comment