-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[video_player] Add html 5 video poster support (thumbnail) as a VideoPlayerWebOptions #8940
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
base: main
Are you sure you want to change the base?
Conversation
713c652
to
d529939
Compare
d529939
to
b43bf65
Compare
2b124fe
to
71ea426
Compare
Where is the combination PR for initial review that this was split from (per the documented process)? |
c3d02e8
to
eb0d4b7
Compare
eb0d4b7
to
0eaff0f
Compare
Is this ok like this ? here is the PR for platform_interface |
8db4982
to
691d64f
Compare
691d64f
to
6db1d9c
Compare
From triage: @tarrinneal This should be ready for initial review. |
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.
Not seeing any issues here, I didn't know the term "poster" was used for this. lgtm
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!
This PR adds support for the
poster
attribute on web by introducing aposter
field inVideoPlayerWebOptions
. It allows setting a thumbnail image for videos using the native HTML5poster
property, improving the out-of-the-box web experience.Solve this issue:
flutter/flutter#166232
Pre-Review Checklist
dart format
.)[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