SKVideo

class SKVideo(url: String, useCache: Boolean, playingInitial: Boolean, soundInitial: Boolean)

A Video Component Based on ExoPlayer for Android no iOs Version at this time

Parameters

url

url of video you want play

playingInitial

indicate if the video should play automatically when ready

soundInitial

indicate if the soud should be on or of

Constructors

SKVideo
Link copied to clipboard
fun SKVideo(url: String, useCache: Boolean = false, playingInitial: Boolean = true, soundInitial: Boolean = false)

Functions

onPause
Link copied to clipboard
fun onPause()
onResume
Link copied to clipboard
fun onResume()

Properties

playing
Link copied to clipboard
var playing: Boolean

indicate if the video should play, play if true, pause if false

sound
Link copied to clipboard
var sound: Boolean
view
Link copied to clipboard
open val view: <ERROR CLASS>