The changes work except for one thing in my case. I had to slightly change th...

Contribution Date
Technology
Contribution Project
Contribution Details

The changes work except for one thing in my case. I had to slightly change the TWIG template to make a video thumbnail clickable (local video). This could be because of my theme and so I am not committing the changes to the branch but I wonder if anyone else saw that. This is the change I made to the corresponding template.

Line 29:

<img src="{{ item.thumb }}" />

Changes to:

{% if item.field_label is not empty %} <div class="field-label"> <label>{{ item.field_label }}</label> </div> {% endif %} <div class="field-content"> <a href="https://www.drupal.org/"> <img class="img-responsive" src="{{ item.thumb }}" /> </a> </div>

This is as per the HTML structure used for image thumbnails. The main relevant change is the addition of <div class="field-content">

Issue Status
Needs Review
Contribution Author
Files count
0
Patches count
0