[SOLVED] How to use slider to seek position of player

I just found out an easy way to seek player position using a slider. This method works both Exo Player and Player component.
blocks (2)
blocks (3)

As it turns out, the “SeekToPosition” block doesn’t change the position, but it sets the position from which the player will start. So I just stop the Player then seek to milliseconds and start it again!


You can also implement my extension so that you can detect whether the slider is changed from user or from the program itself. Then you no longer need to stop the player when seeking.