Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8095006

Media Player Current Time property listener issue

    XMLWordPrintable

    Details

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

      MacOS

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported: