Problem/Motivation

New feature of video posters (out on Drupal 11.4.0), only allow users to create a poster field of type "file".
If an editor wants to use same poster image in a some videos or want to change any poster, it is needed to upload a new file every time, this could lead to a painfull workflow and generate duplicated files.
With this solution, editors are allowed to re-use images from media library, also on a website that only uses media library will keep the same user experience across all website.

Proposed resolution

Allow users to create and use field type media (image) as a poster field.

Remaining tasks

Review and test patch

User interface changes

Users are able to add a new field of type media (image) to use as a poster, everything else works as designed.

Issue fork drupal-3604036

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

drase15 created an issue. See original summary.

drase15’s picture

Issue summary: View changes
drase15’s picture

Issue summary: View changes
cilefen’s picture

Version: 11.4.x-dev » main
Status: Active » Needs work
Issue tags: +Needs merge request
Related issues: +#2954834: Add poster image to HTML5 media videos

drase15’s picture

Created a merge request, needs review

cilefen’s picture

Status: Needs work » Needs review

You can set the issue status.

smustgrave’s picture

Status: Needs review » Needs work

Left comment on the MR.

drase15’s picture

Status: Needs work » Needs review
needs-review-queue-bot’s picture

Status: Needs review » Needs work
StatusFileSize
new1.52 KB

The Needs Review Queue Bot tested this issue. It fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".

This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.

Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.

drase15’s picture

Status: Needs work » Needs review
marcoscano’s picture

Status: Needs review » Needs work
Issue tags: -Needs merge request