prepare

abstract fun prepare(media: FlowplayerMedia, autoStart: Boolean = true)

Prepares the player with a FlowplayerMedia.

Parameters

media

Contains information about the media to be played.

autoStart

If true, the playback starts automatically as soon as the player is prepared. The default value is true.


abstract fun prepare(media: ExternalMedia, autoStart: Boolean = true)

Prepares the player with an ExternalMedia.

Parameters

media

Contains information about the media to be played.

autoStart

If true, the playback starts automatically as soon as the player is prepared. The default value is true.