Skip to content

[Video_player][Web]: Add option to show video player controls and make double click go fullscreen when controls are invisible #88151

@zambetpentru

Description

@zambetpentru

Hi,

I would like to propose that:

  1. video player controls are added in VideoPlayerOptions as an option in the video_player package. Without it is really unintuitive to the end user as the double click doesn't make it full screen when the controls are not visible.
  2. Double click would make the video go full screen when the controls are not visible (like it does when the controls are visible)

I am currently using a VideoElement() directly to achieve the same thing but that will hit me when I go native. Chewie at the time had issues with fullscreen web video.

final video = VideoElement()
..src = URL!
..autoplay = widget.autoplay
..controls = widget.controls

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterp: video_playerThe Video Player pluginpackageflutter/packages repository. See also p: labels.platform-webWeb applications specificallyteam-webOwned by Web platform teamtriaged-webTriaged by Web platform team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions