javascript - Play is Resetting currentTime to the End of the Audio after "ended" Event Triggered -


i'm trying build html5 canvas app javascript samsung smart tv 5.0.

one of issues i'm having audio looping song. best looking way seems to call
mysound.addeventlistener("ended", function(){ this.currenttime = 0; this.play(); }, false);
sets currenttime 0 , paused false, when checking moments after currenttime equal sound duration again paused remains false , no sound plays.

does know why it's skipping currenttime end or while it's still remaining paused, or workaround sound clip loop in samsung smart tvs?


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -