ionic-audio icon indicating copy to clipboard operation
ionic-audio copied to clipboard

Question: Is there a way to reset all the state of the $scope.playback.tracks values specially (onSuccess,onStatusChange,onProgress,status,duration,progress) for the audio to play again i am using Ionic V1

Open vintots opened this issue 10 years ago • 4 comments

vintots avatar Sep 09 '16 15:09 vintots

I tried to override the values of some of its properties $scope.playback.tracks[index].progress = 0; $scope.playback.tracks[index].status = 0; $scope.playback.tracks[index].duration = -1;

but the ion audio detect that the track is already finished despite i already override the some of its values,

vintots avatar Sep 09 '16 15:09 vintots

Those variables should reset once playback is finished. What are you trying to achieve?

arielfaur avatar Nov 09 '16 23:11 arielfaur

Inactive issue? Can we close this?

tbergeron avatar May 30 '17 16:05 tbergeron

yes , :), thanks a lot

vintots avatar May 31 '17 06:05 vintots