At the moment to play media you must first create a media instance, set it on the media player, then use the media player controls to begin playback.
Since Media is top-level concept now, that step must remain.
However, it will be convenient to add helpers to set and play in the same method, to set and start (wait for play) in the same method - this would be somewhat similar to vlcj-3.
该提问来源于开源项目:caprica/vlcj