CreateJS / SoundJS

A Javascript library for working with Audio. It provides a consistent API for loading and playing audio on different browsers and devices. Currently supports WebAudio, HTML5 Audio, Cordova / PhoneGap, and a Flash fallback.
http://createjs.com/
MIT License
4.42k stars 838 forks source link

Audio play again after ended on Nexus9 in WebView #243

Open swapnil-bawkar opened 8 years ago

swapnil-bawkar commented 8 years ago

Audio is playing again after ended on Nexus 9 Android 6.0 in WebView not in browser. After some debugging I came across _handleCleanUp method in which there is statement to reset audio position as below.

try { tag.currentTime = this._startTime; } catch (e) { } // Reset Position

Which is causing audio to play from start position and its weird. On other devices like Samsung Tab with Android 6 it's not happening. Both devices has Android System WebView version 51.0.2704.81.

When I remove above code then it's works perfectly on Nexus.

Please help me.