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.
| Comment | File | Size | Author |
|---|---|---|---|
| file_video_media_poster_field.patch | 13.95 KB | drase15 |
Issue fork drupal-3604036
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
Comment #2
drase15 commentedComment #3
drase15 commentedComment #4
cilefen commentedComment #6
drase15 commentedCreated a merge request, needs review
Comment #7
cilefen commentedYou can set the issue status.
Comment #8
smustgrave commentedLeft comment on the MR.
Comment #9
drase15 commentedComment #10
needs-review-queue-bot commentedThe 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.
Comment #11
drase15 commentedComment #12
marcoscano