Problem/Motivation & Steps to reproduce
Drupal core comes with several Media entities; audio, file, image, external video and local video.
When a content editor uses the local video entity, it only allows you to upload the video. There is no default option to include a poster image.
Proposed resolution
Extend the possibility to map fields on a media entity.
- a mapping field for the poster
Remaining tasks
Now, the idea is to offer the possibility to display a poster image using content from the field_local_image_file for the HTML5 video.
It would be nice if this feature could be managed by {{ attributes }} but I cannot figure how to implement this.
Thank you!
Gilles
User interface changes
1 extra mapping field at the local video media entity
API changes
-
Data model changes
-