How to reset music?
How can I reset a song to play from the beginning rather than resuming?
How can I reset a song to play from the beginning rather than resuming?
my_music = audio.playMusic("musicname")
my_music.setPosition( time )
my_music.play()
setPosition
is not described in the documentation .
Audio object methods
object
play = [native function]
stop = [native function]
setVolume = [native function]
getPosition = [native function]
getDuration = [native function]
setPosition = [native function]
end
https://microstudio.io/i/Loginus/audiotester9000/
https://microstudio.io/i/Loginus/audioengine/