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
Post a Comment