-
Notifications
You must be signed in to change notification settings - Fork 30.2k
[web] [gallery] Support video playback #46669
Copy link
Copy link
Closed
Labels
c: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterp: video_playerThe Video Player pluginThe Video Player pluginplatform-webWeb applications specificallyWeb applications specifically
Milestone
Metadata
Metadata
Assignees
Labels
c: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterp: video_playerThe Video Player pluginThe Video Player pluginplatform-webWeb applications specificallyWeb applications specifically
I just blindly assumed that adding the
video_player_webdependency in flutter/samples#170 would be enough but some more stuff is needed and it would make sense to fix it in this repo instead of in the web samples:The connectivity plugin used in video_demo.dart is not available on the web.
We can not use
dart:ioon the web.Adding
video_player_webwill not be needed once [video_player] Migrate to new pubspec plugins schema plugins#2370 is merged.@ditman I offered to fix this but you mentioned in flutter/plugins#2384 that you were also playing with this. Do you want to take this? I wouldn't mind as I am not sure what the nicest solution to the
dart:ioproblem would be.