lib / tv.smartclip.smartclientandroid.lib.video_player / IExoVideoLoader / ExoVideoLoader / loadMedia

loadMedia

fun loadMedia(mediaUrl: String, initPosition: Long?, initWindowIndex: Int?, autoPlay: Boolean, disableSeeking: Boolean): Unit

Parameters

mediaUrl - Url of the media file.

initPosition - Position (in milliseconds) of the media file from where to start.

initWindowIndex - Window index of the media file from where to start.

autoPlay - true when the media should start playback as soon as possible.

disableSeeking - true to not allow the user to use the controller for seeking the media file.