source property

Map<String, VideoSource> source
final

Receive a list of all the resources to be played.

SYNTAX EXAMPLE:

{
   "720p": VideoSource(video: VideoPlayerController.network("https://github.com/intel-iot-devkit/sample-videos/blob/master/classroom.mp4")),
   "1080p": VideoSource(video: VideoPlayerController.network("http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ForBiggerBlazes.mp4")),
}

Implementation

final Map<String, VideoSource> source;