0 Replies Latest reply on Jul 28, 2013 5:01 PM by 0ab2d607-47f3-4673-a0bc-26af01485db4

    slider problem


      i am building a media player .i have used slider i

      player.currentTimeProperty().addListener(new ChangeListener<Duration>(){

      //doing this will make the slider to move second by second upto maxwidth i.e.player.getTotalDuration().toSeconds()


                  public void changed(ObservableValue<? extends Duration> ov, Duration t, Duration t1) {




      but my slider stops but the video goes on playing i think slider width is less than the video duration