Use case
Hey Flutter team,
We would like to preview videos in our app before importing them into app storage. On Android, we get a contentUri via the system picker (video may be on device, or remote). The video_player plugin currently only supports creating a VideoPlayerController from [asset, network, file] - so this would require converting the contentUri -> network / file.
Proposal
The underlying ExoPlayer on the Android side already supports contentUris.
Our current workaround is to rely on VideoPlayerController.file and override dataSource with the contentUri, but it would be nice to have contentUris be formally supported as a video source.
Use case
Hey Flutter team,
We would like to preview videos in our app before importing them into app storage. On Android, we get a contentUri via the system picker (video may be on device, or remote). The video_player plugin currently only supports creating a VideoPlayerController from [asset, network, file] - so this would require converting the contentUri -> network / file.
Proposal
The underlying ExoPlayer on the Android side already supports contentUris.
Our current workaround is to rely on VideoPlayerController.file and override dataSource with the contentUri, but it would be nice to have contentUris be formally supported as a video source.