loadVideo

fun Program.loadVideo(    fileOrUrl: String,     mode: PlayMode = PlayMode.BOTH,     configuration: VideoPlayerConfiguration = VideoPlayerConfiguration()): VideoPlayerFFMPEG

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

Sources

Link copied to clipboard