2017-09-30 00:56:13 +02:00
|
|
|
{{#ifConditional fileInfo.fileType '===' 'video/mp4'}}
|
|
|
|
{{#ifConditional fileInfo.fileExt '===' 'gifv'}}
|
2017-10-10 19:14:43 +02:00
|
|
|
<video class="gifv-show" autoplay loop muted>
|
2017-10-17 23:15:02 +02:00
|
|
|
<source src="/{{fileInfo.claimId}}/{{fileInfo.name}}.{{fileInfo.fileExt}}">
|
2017-09-30 00:56:13 +02:00
|
|
|
{{!--fallback--}}
|
|
|
|
Your browser does not support the <code>video</code> element.
|
|
|
|
</video>
|
|
|
|
{{else}}
|
2017-10-17 19:10:26 +02:00
|
|
|
<video id="video-player" class="video-show" controls poster="{{fileInfo.thumbnail}}">
|
2017-10-17 23:15:02 +02:00
|
|
|
<source src="/{{fileInfo.claimId}}/{{fileInfo.name}}.{{fileInfo.fileExt}}">
|
2017-09-30 00:56:13 +02:00
|
|
|
{{!--fallback--}}
|
|
|
|
Your browser does not support the <code>video</code> element.
|
|
|
|
</video>
|
|
|
|
{{/ifConditional}}
|
|
|
|
{{else}}
|
2017-10-17 19:10:26 +02:00
|
|
|
<a href="/{{fileInfo.claimId}}/{{fileInfo.name}}.{{fileInfo.fileExt}}">
|
2017-10-17 23:15:02 +02:00
|
|
|
<img class="image-show" src="/{{fileInfo.claimId}}/{{fileInfo.name}}.{{fileInfo.fileExt}}" />
|
2017-10-17 19:10:26 +02:00
|
|
|
</a>
|
|
|
|
{{/ifConditional}}
|