2017-07-12 01:55:03 +02:00
|
|
|
<div id="asset-placeholder">
|
2017-08-02 03:58:13 +02:00
|
|
|
<a href="/{{fileInfo.claimId}}/{{fileInfo.name}}">
|
2017-07-09 00:17:40 +02:00
|
|
|
{{#ifConditional fileInfo.fileType '===' 'video/mp4'}}
|
2017-08-19 01:52:58 +02:00
|
|
|
{{#ifConditional fileInfo.fileExt '===' '.gifv'}}
|
|
|
|
<video class="show-asset-light" autoplay loop muted>
|
|
|
|
<source src="/media/{{fileInfo.fileName}}">
|
|
|
|
{{!--fallback--}}
|
|
|
|
Your browser does not support the <code>video</code> element.
|
|
|
|
</video>
|
|
|
|
{{else}}
|
|
|
|
<video class="show-asset-light" autoplay controls>
|
|
|
|
<source src="/media/{{fileInfo.fileName}}">
|
|
|
|
{{!--fallback--}}
|
|
|
|
Your browser does not support the <code>video</code> element.
|
|
|
|
</video>
|
|
|
|
{{/ifConditional}}
|
2017-07-09 00:17:40 +02:00
|
|
|
{{else}}
|
2017-08-07 22:57:50 +02:00
|
|
|
<img class="show-asset-lite" src="/media/{{fileInfo.fileName}}" alt="{{fileInfo.fileName}}"/>
|
2017-07-09 00:17:40 +02:00
|
|
|
{{/ifConditional}}
|
2017-07-17 22:59:21 +02:00
|
|
|
</a>
|
2017-07-09 00:17:40 +02:00
|
|
|
</div>
|