fromFile

fun fromFile(fileName: String, mode: PlayMode = PlayMode.BOTH, configuration: VideoPlayerConfiguration = VideoPlayerConfiguration(), clock: () -> Double = { System.currentTimeMillis() / 1000.0 }): VideoPlayerFFMPEG(source)

Opens a video from file or url

Return

a ready-to-play video player on success