Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291863

Add poster image to HTML5 media videos

$
0
0

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.

  1. 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

-


Viewing all articles
Browse latest Browse all 291863

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>