SubtitleTrack.uri constructor
SubtitleTrack loaded with URI.
This factory constructor may be used to load external subtitles e.g. SRT, WebVTT etc. as URI.
NOTE: External audio track is automatically unloaded upon playback completion.
Implementation
factory SubtitleTrack.uri(
String uri, {
String? title,
String? language,
}) =>
SubtitleTrack(uri, title, language, true, false);