Had same problem with music in web version, for me worked connecting signal "finished" from AudioStreamPlayer to a function that just calls method play()