Closed mzedeler closed 11 years ago
I have just written a workaround that solves the problem. Here is a patch for playbackrate.coffee
:
audio.appendChild source
audio.playbackRate = rate
audio.volume = 0
- audio.play()
+ listener = ->
+ document.removeEventListener 'click', listener
+ audio.play()
+ document.addEventListener 'click', listener
catch e
# NOP
It turns out that the calculation of delta
isn't working as expected. The values become very large, so this has to be fixed.
Fixed by SHA: 7c75b263df671df6a333505c76c2bdaed3a67f45
The
playbackrate
plugin for Modernizr doesn't work on IOS because of the firstplay limitation on this platform.I found a possible workaround.