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

MediaPlayer OnEndOfMedia not working in Webstart application

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • 8
    • 7u40
    • javafx
    • None
    • Windows 64 bit

      I have an issue with a Swing/JavaFX application where I'm using the mediaPlayer to play a video. The application works just fine when it is run in eclipse but as soon as I package it and upload it to a webserver the video gets played without a problem but the onEndOfMedia Runnable doesn't get triggered anymore.

      mediaPlayer.setOnEndOfMedia(new Runnable() {
      public void run() {
      System.out.println("End of Media!");
      // do something
      }
      });


      No error gets thrown and therefore I can not investigate further. This issue is a blocker for our project.

            almatvee Alexander Matveev
            jroxjfx jrox (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: