loadVideo
fun Program.loadVideo(fileOrUrl: String, audioDevice: AudioDevice? = AudioSystem.defaultDevice, mode: PlayMode = if (audioDevice == null) PlayMode.VIDEO else PlayMode.BOTH, configuration: VideoPlayerConfiguration = VideoPlayerConfiguration()): VideoPlayerFFMPEG(source)
Load a video
Parameters
fileOrUrl
a file name or an url to open
mode
the play mode to use, determines if video and/or audio should be played