Skip to main content

If you want's awant repetitive music, use  : music.setLooping(true);

music.setLooping(true);

after music.play();

music.play();

If you want's a repetitive music use  : music.setLooping(true); after music.play();

If you want repetitive music, use:

music.setLooping(true);

after

music.play();
Source Link

If you want's a repetitive music use : music.setLooping(true); after music.play();