loadMedia method
Future<void>
loadMedia({
- required String contentUrl,
- String contentType = 'video/mp4',
- String streamType = 'BUFFERED',
- String? title,
- String? subtitle,
- String? imageUrl,
- List<
CastTextTrack> textTracks = const <CastTextTrack>[], - List<
int> activeTrackIds = const <int>[], - bool autoplay = true,
- Duration startAt = Duration.zero,
Implementation
Future<void> loadMedia({
required String contentUrl,
String contentType = 'video/mp4',
String streamType = 'BUFFERED',
String? title,
String? subtitle,
String? imageUrl,
List<CastTextTrack> textTracks = const <CastTextTrack>[],
List<int> activeTrackIds = const <int>[],
bool autoplay = true,
Duration startAt = Duration.zero,
}) => _unsupported();