E.day E.day - 1 month ago 8
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(...);