-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
flutter/plugins
#4330Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: videoVideo playbackVideo playbackc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Fluttercustomer: googleVarious Google teamsVarious Google teamsp: video_playerThe Video Player pluginThe Video Player pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyAndroid applications specifically
Description
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.
cedvdb and nt4f04uNd
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: videoVideo playbackVideo playbackc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Fluttercustomer: googleVarious Google teamsVarious Google teamsp: video_playerThe Video Player pluginThe Video Player pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyAndroid applications specifically