Show video thumbnail and download link in view I want to show a view page such that a grid of video thumbnails with download button below it will be displayed. As shown below:



I tried video module to display video. But it fails to give file path. Because of which I'm not able to achieve it.

Then I tried with normal file field. But I'm not able to show the video using file field. 

I rewrote this file field as:



and then in Custom Text field I wrote below code.

{% if field_file_vid %}
&lt;div class="col-md-4"&gt;
&lt;div class="gallery-video"&gt;{{ field_file_vid }}&lt;/div&gt;
&lt;div class="download"&gt;&lt;a href="{{ field_file_vid }}" download&gt;Download&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
{% endif %}


In this case only download link is working not the video.

How to achieve this requirement?
Add field_file_vid again, check mark exclude from display and this time don't use URL to File as formatter, use a different formatter that renders the video. 

Rearrange the fields



so that this new field is above the original field.

Now in your original field's rewrite results, use this as your 3rd line:

&lt;div class="gallery-video"&gt;{{ field_file_vid_1 }}&lt;/div&gt;