> I don't see anything in the docs stating how status should change in > MediaPlayer, e.g. will reaching end of media trigger a transition from > PLAYING to STOPPED? Will a subsequent call to play() start at the beginning > of the media file or do I need to seek? I was expecting some kind of status > change on end of media but am not seeing any when playing back an audio > sample until the end and when I checked the api doc, I didn't find anything > (e.g. like a state diagram) to check if it's a bug or documented behavior.
The formal documentation is here (read the package Description, link at the top): http://docs.oracle.com/javase/8/javafx/api/javafx/scene/media/package-summary.html There’s actually a flow chart in the docs for MediaPlayer.Status: http://docs.oracle.com/javase/8/javafx/api/javafx/scene/media/MediaPlayer.Status.html Hope that helps. -DrD-