loadVideo

fun Program.loadVideo(fileOrUrl: String, mode: PlayMode = 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