Skip to content

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

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

Activity

  1. changed the title [-]Add option to show video player controls on Web[/-] [+]Add option to show video player controls on Web and make double click go fullscreen[/+] on Aug 13, 2021
  2. changed the title [-]Add option to show video player controls on Web and make double click go fullscreen[/-] [+]Add option to show video player controls on Web and make double click go fullscreen when controls are invisible[/+] on Aug 13, 2021
  3. darshankawar commented on Aug 13, 2021

    @darshankawar
    Member

    @zambetpentru
    Check this open issue and see if it's similar to your request.

  4. added
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Aug 13, 2021
  5. zambetpentru commented on Aug 13, 2021

    @zambetpentru
    Author

    Greetings, it looks like that other issue is to get fullscreen video working on web? Which it now does as of a few weeks ago so probably that other ticket can be closed? :-)

  6. removed
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Aug 13, 2021
  7. darshankawar commented on Aug 16, 2021

    @darshankawar
    Member

    Thanks for confirming.

  8. added
    platform-webWeb applications specifically
    c: proposalA detailed proposal for a change to Flutter
    c: new featureNothing broken; request for a new capability
    and removed
    in triagePresently being triaged by the triage team
    on Aug 16, 2021
  9. changed the title [-]Add option to show video player controls on Web and make double click go fullscreen when controls are invisible[/-] [+][Video_player][Web]: Add option to show video player controls and make double click go fullscreen when controls are invisible[/+] on Aug 16, 2021
  10. added
    P3Issues that are less important to the Flutter project
    on Aug 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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