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

JavaFX MediaPlayer onEndOfMedia behaviour different from Javadoc

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      A DESCRIPTION OF THE PROBLEM :
      In the Javadoc of MediaPlayer, description part, it says

      "If the stop time of the cycle is reached and the cycle is to be played again, the event handler registered with the onRepeat property is invoked. If the stop time is reached and the cycle is not to be repeated, then the event handler registered with the onEndOfMedia property is invoked."

      However, the onEndOfMedia property is invoked after each cycle, no matter the cycle is to be repeated or not.

      Please edit the doc or the code to make sure they match with each other.


        Attachments

          Issue Links

            Activity

              People

              Assignee:
              almatvee Alexander Matveev
              Reporter:
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: