Skip to content

Support poster attribute from the html video tag to get the thumbnail working on web #166232

Description

@Ortes

Use case

I want to have a thumbnail on a video using video_player on the web.
I can used flutter directly but a rather use the poster property from html 5 video tag

Proposal

Add poster as VideoPlayerWebOptions optional parameter

Activity

  1. added
    in triagePresently being triaged by the triage team
    platform-webWeb applications specifically
    packageflutter/packages repository. See also p: labels.
    c: proposalA detailed proposal for a change to Flutter
    fyi-ecosystemFor the attention of Ecosystem team
    team-webOwned by Web platform team
    and removed
    in triagePresently being triaged by the triage team
    on Mar 31, 2025
  2. added
    P3Issues that are less important to the Flutter project
    triaged-webTriaged by Web platform team
    on Apr 9, 2025
  3. yjbanov commented on Apr 9, 2025

    @yjbanov
    Contributor

    This sounds like a nice feature to have, but to set expectations, we are unlikely to be able to get to it any time soon. In the meantime, consider using the <video> tag directly and accessing all available features, or using a different video player library on pub.

  4. Ortes commented on Apr 10, 2025

    @Ortes
    ContributorAuthor

    Thank you for the update! I completely understand that this is a P3 priority, and I appreciate the heads-up. I’ve already tried to make the PR as clean as possible, and it’s just a small 5-line change to review. In the meantime, I’m using a patch for my own purposes while waiting for the review, so I’m not in a rush. Thanks again for considering it, and I’m happy to wait until the team has time to address it!

  5. github-actions commented on Jul 24, 2025

    @github-actions

    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 -v and a minimal reproduction of the issue.

  6. locked as resolved and limited conversation to collaborators on Jul 24, 2025
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: proposalA detailed proposal for a change to Flutterp: video_playerThe Video Player pluginpackageflutter/packages repository. See also p: labels.platform-webWeb applications specificallyr: fixedIssue is closed as already fixed in a newer versionteam-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