loadMedia method

Future<void> loadMedia({
  1. required String contentUrl,
  2. String contentType = 'video/mp4',
  3. String streamType = 'BUFFERED',
  4. String? title,
  5. String? subtitle,
  6. String? imageUrl,
  7. List<CastTextTrack> textTracks = const <CastTextTrack>[],
  8. List<int> activeTrackIds = const <int>[],
  9. bool autoplay = true,
  10. 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();