Repository navigation
Flutter needs a way to play inline video #2319
Description
Activity
- addedframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.engineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.
on Mar 2, 2016 - addedc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capability
on Mar 6, 2016 - modified the milestones: This milestone has been deleted, This milestone has been deleted
on Jan 27, 2017 This is video that is part of the layer tree right? As opposed to a control that is placed by the embedder over the Flutter view. If it is the latter, the existing platform messages API should allow custom embedders to control platform widgets manually. I can take a look at introducing a custom layers type that allows us to support video within the layer tree.
This is video that is part of the layer tree right?
Correct.
- changed the title
[-]Flutter needs a way to play a video[/-][+]Flutter needs a way to play inline video[/+]on Jun 5, 2017 Exciting. :D Are there bugs tracking the remaining planned work around inline video (e.g. publishing that package, updating it's readme, possibly including an example of video playback in one of our examples, etc.)?
+1 on publishing the plugin
(nit: would it make sense to let the plugin publish a VideoPlayer widget object with a controller rather than a Texture?)Reacted by Anatoly Pulyaevskiy@eseidelGoogle I'll add links here once there are.
@xster Yes, in fact @sigurdm and I just discussed that today.
People following along might also be interested in https://pub.dartlang.org/packages/chewie , a video player with platform aesthetic controls.
Canonical location for the video player plugin is now here: https://github.com/flutter/plugins/tree/master/packages/video_player
The plugin uses the platform's video playback mechanism. So MediaPlayer on Android and AVPlayer on iOS. This issue was related to using the textures for video feeds generated by the platform during composition of the Flutter layer tree.
I can't answer your question about support for specific features but you might find the answer in the linked documentation.
I see they moved to exoplayer for Android
- added a commit that references this issue
on Aug 13, 2020 This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.- locked as resolved and limited conversation to collaborators
on Aug 13, 2021
I thought we already had a bug on this, but I don't see one.
It is currently possible to play video fullscreen or over-the-top of other Flutter content, and there are various community-authored plugins to make that easy (e.g. https://pub.dartlang.org/packages/video_launcher)
However this bug is about making it possible to have inline video content (e.g. a video inside a scrolling ScrollView widget inside your Flutter app) properly clipped/positioned/composited with other Flutter content.