cara melingkarkan pemutar media javafx

mediaPlayer.setCycleCount(MediaPlayer.INDEFINITE);
mediaPlayer.play();
Pixel Freak