getMediaItemFromUrl method
- String url
Creatres a media item from a URL.
Implementation
Future<MediaItem> getMediaItemFromUrl(String url) async {
Video video = await getVideoFromUrl(url);
return getMediaItem(video);
}
Creatres a media item from a URL.
Future<MediaItem> getMediaItemFromUrl(String url) async {
Video video = await getVideoFromUrl(url);
return getMediaItem(video);
}