-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[video_player] Add poster attribute for html video tag in video_player_platform_interface #8979
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[video_player] Add poster attribute for html video tag in video_player_platform_interface #8979
Conversation
Marking as a draft since, per the documented process, the creation of this PR should happen only after the combined PR has been approved. |
d826058
to
57ce8ae
Compare
Greetings from stale PR triage 👋, what is the status of this PR? Looking through it and the linked PRs we weren't sure. |
2fcc43b
to
2c94026
Compare
2c94026
to
0eb6f78
Compare
packages/video_player/video_player_platform_interface/CHANGELOG.md
Outdated
Show resolved
Hide resolved
packages/video_player/video_player_platform_interface/CHANGELOG.md
Outdated
Show resolved
Hide resolved
packages/video_player/video_player_platform_interface/CHANGELOG.md
Outdated
Show resolved
Hide resolved
packages/video_player/video_player_platform_interface/lib/video_player_platform_interface.dart
Outdated
Show resolved
Hide resolved
…PlayerWebOptions. Change poster type from String to Uri.
Thanks for the review @stuartmorgan-g hopefully it is all fixed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…ideo_player_platform_interface (flutter/packages#8979)
…ideo_player_platform_interface (flutter/packages#8979)
flutter/packages@4841ada...471bfd3 2025-06-30 [email protected] [google_maps_flutter] Remove legacy renderer tests (flutter/packages#9517) 2025-06-30 49699333+dependabot[bot]@users.noreply.github.com Bump lewagon/wait-on-check-action from 1.3.4 to 1.4.0 in the all-github-actions group (flutter/packages#9524) 2025-06-29 [email protected] [camera_android_camerax] Fix incorrectly rotated captured photos (flutter/packages#9498) 2025-06-29 [email protected] [in_app_purchase] Annotate deprecation in test (flutter/packages#9473) 2025-06-29 [email protected] [video_player] Add poster attribute for html video tag in video_player_platform_interface (flutter/packages#8979) 2025-06-29 [email protected] Roll Flutter (stable) from 6fba244 to fcf2c11 (6 revisions) (flutter/packages#9502) 2025-06-29 [email protected] Skip test to unblock packages (flutter/packages#9516) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages-flutter-autoroll Please CC [email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
This PR adds support for the poster attribute on web by introducing a poster field in VideoPlayerWebOptions. It allows setting a thumbnail image for videos using the native HTML5 poster property, improving the out-of-the-box web experience.
This PR is is the changes to platform_interface for this one
Solve this issue:
flutter/flutter#166232
Pre-Review Checklist
[shared_preferences]
pubspec.yaml
with an appropriate new version according to the pub versioning philosophy, or I have commented below to indicate which version change exemption this PR falls under1.CHANGELOG.md
to add a description of the change, following repository CHANGELOG style, or I have commented below to indicate which CHANGELOG exemption this PR falls under1.///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.
Footnotes
Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling. ↩ ↩2 ↩3