fluttercommunity / fluttercommunity/chewie
Pulling video from different source (cloud)
- Dominant language
- Dart
- Stars
- 2.1k
- Forks
- 1.1k
- Avg merge
- 6d 8h
- Merged PRs (30d)
- 6
Description
Hi,
I want to load a video using videoPlayerController: VideoPlayerController.network function. I'm aware of the link given "https://flutter.github.io/assets-for-api-docs/assets/videos/butterfly.mp4" and this link works.
However, **I am trying to use my set of videos uploaded to a cloud and load them to my app**. The link looks something like this: https://drive.google.com/drive/folders/myfile (dummy link) . The error that I got looks like this:
**Video player had error com.google.android.exoplayer2.ExoPlaybackException:com.google.android.exoplayer2.source.UnrecognizedInputFormatException: None of the available extractors (MatroskaExtractor, FragmentedMp4Extractor, Mp4Extractor, Mp3Extractor, AdtsExtractor, Ac3Extractor, TsExtractor, FlvExtractor, OggExtractor, PsExtractor, WavExtractor, AmrExtractor, Ac4Extractor) could read the stream.**
Here is the part of the code:
ChewieListItem(
videoPlayerController: VideoPlayerController.network(
'https://drive.google.com/drive/folders/myfile',
),
I think I should upload the files in a way that flutter can read it but i am not sure exactly how.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.