intialSubtitle property

String intialSubtitle
final

If intialSubtitle doesn't exist in subtitle, then it won't select any subtitles and won't display anything until the user selects a subtitle.

//EXAMPLE
VideoSource(
 intialSubtitle: "Spanish"
 video: VideoPlayerController.network(...),
 subtitle: {
   "English": VideoViewerSubtitle.network(
     "https://pastebin.com/raw/h9cP6N5N",
     type: SubtitleType.webvtt,
   ),
   "Spanish": VideoViewerSubtitle.network(
     "https://pastebin.com/raw/wrz69aay",
     type: SubtitleType.webvtt,
   ),
 },
)

Implementation

final String intialSubtitle;