abstract fun loadMedia(mediaUrl: String, initPosition: Long? = null, initWindowIndex: Int? = null, autoPlay: Boolean = true, disableSeeking: Boolean = true, closedCaptions: List<SxClosedCaption> = emptyList(), onError: (lastError: SxMediaError?) -> Unit = {}): Unit
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.
closedCaptions - List of SxClosedCaption that will be loaded and displayed with the
provided media.