2017-10-17 19:10:26 +02:00
|
|
|
{{#ifConditional fileInfo.fileType '===' 'video/mp4'}}
|
|
|
|
{{#ifConditional fileInfo.fileExt '===' '.gifv'}}
|
|
|
|
<video class="show-asset-light" autoplay loop muted>
|
2017-10-17 23:15:02 +02:00
|
|
|
<source src="/{{fileInfo.claimId}}/{{fileInfo.name}}.{{fileInfo.fileExt}}">
|
2017-10-17 19:10:26 +02:00
|
|
|
{{!--fallback--}}
|
|
|
|
Your browser does not support the <code>video</code> element.
|
|
|
|
</video>
|
|
|
|
{{else}}
|
|
|
|
<video class="show-asset-light" controls id="video-player">
|
2017-10-17 23:15:02 +02:00
|
|
|
<source src="/{{fileInfo.claimId}}/{{fileInfo.name}}.{{fileInfo.fileExt}}">
|
2017-10-17 19:10:26 +02:00
|
|
|
{{!--fallback--}}
|
|
|
|
Your browser does not support the <code>video</code> element.
|
|
|
|
</video>
|
|
|
|
{{/ifConditional}}
|
|
|
|
<br/>
|
2017-10-26 18:50:45 +02:00
|
|
|
<a class="link--primary fine-print" href="/{{fileInfo.claimId}}/{{fileInfo.name}}">hosted via spee<h</a>
|
2017-10-17 19:10:26 +02:00
|
|
|
{{else}}
|
|
|
|
<a href="/{{fileInfo.claimId}}/{{fileInfo.name}}">
|
2017-10-17 23:15:02 +02:00
|
|
|
<img class="show-asset-lite" src="/{{fileInfo.claimId}}/{{fileInfo.name}}.{{fileInfo.fileExt}}" alt="{{fileInfo.fileName}}"/>
|
2017-10-17 19:10:26 +02:00
|
|
|
</a>
|
|
|
|
{{/ifConditional}}
|