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

changing MediaPlayer.currentTime does not work properly on windows.

    XMLWordPrintable

    Details

      Description

      Note: this is not a bug against mediaplayer, but rather the runtime which it depends on.

      Using the mediaplayer application (applet or command line)

      http://70.42.188.37/appsdata/dave/franca/movie.html

      on windows, try to drag the thumb on the to change the current time of the movie. The thumb will almost always snap back to the previous playing position.
      Note, this does not seem to be a problem on mac.

      When mouse down is detected, mediaplayer.pause() is called.
      As the mouse is dragged, mediaplayer.currentTime is updated.
      When the mouse is released, mediaplayer.play() is called.

      The problem can also be reproduced but pausing the video, then moving the thumb, and then hitting the play button.

      Note the problem was seen before the call to pause() was added.

      A separate jira bug will be filed for the problem that the change in current time does not update the movie frame.

      This problem is a very very user visible issue for mediaplayer/mediacomponent and as such should be considered a critical issue.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            ddhill David Hill (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: