packages icon indicating copy to clipboard operation
packages copied to clipboard

[video_player] Add poster attribute for html video tag in video_player_platform_interface

Open Ortes opened this issue 8 months ago • 5 comments

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: https://github.com/flutter/flutter/issues/166232

Pre-Review Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

[^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.

Ortes avatar Apr 01 '25 20:04 Ortes

Marking as a draft since, per the documented process, the creation of this PR should happen only after the combined PR has been approved.

stuartmorgan-g avatar Apr 02 '25 14:04 stuartmorgan-g

Greetings from stale PR triage 👋, what is the status of this PR? Looking through it and the linked PRs we weren't sure.

Piinks avatar Jun 04 '25 22:06 Piinks

@Ortes Is this updated to match the current state of https://github.com/flutter/packages/pull/8979 ?

stuartmorgan-g avatar Jun 24 '25 18:06 stuartmorgan-g

@Ortes Is this updated to match the current state of #8979 ?

Yes all fine,

Sorry for the mess I made while trying to rebase

Ortes avatar Jun 25 '25 07:06 Ortes

Thanks for the review @stuartmorgan-g hopefully it is all fixed

Ortes avatar Jun 25 '25 22:06 Ortes