E.day E.day - 2 months ago 15
Java Question

change JavaFX MediaPlayer playback speed

I'm trying to slow down the playback speed using JavaFX MediaPlayer

javafx.scene.media.MediaPlayer


is there any way to modify playback speed?

Answer

MediaPlayer has a rate property:

mediaPlayer.setRate(...);