Media Player Current Time property listener issue

XMLWordPrintable

    • Type: Bug
    • Resolution: Incomplete
    • Priority: P4
    • None
    • Affects Version/s: 7u45
    • Component/s: javafx
    • Environment:

      MacOS

      Hi,
      I am developing playback functionality using javafx media player and javafx slider component. While playing video using JavaFX media player, I am updating slider values by setting Change Listener/Invalidation listener to current Time property of the media player like below
      ---
      mediaPlayer.currentTimeProperty().addListener(new ChangeListener<Duration>() {
                  @Override
                  public void Changed(ObservableValue<? extends Duration> observable, Duration oldValue, Duration newValue) {
                       updateSliderValue();
                  }
             });
      ----
      Above code snippet is working fine in Windows for MP4 videos but not working in MacOS 10.9.1 version.
      Note: I tried with flv video, its working fine on both windows and MacOS 10.9.1 version.

      Can you please assist me on this.

      With Regards,
      Krishna Bhaskar.

            Assignee:
            Kirill Kirichenko (Inactive)
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: