2017-07-12 01:55:03 +02:00
|
|
|
<div id="asset-placeholder">
|
2017-07-25 09:22:50 +02:00
|
|
|
<a href="/{{fileInfo.name}}/{{fileInfo.claimId}}">
|
2017-07-09 00:17:40 +02:00
|
|
|
{{#ifConditional fileInfo.fileType '===' 'video/mp4'}}
|
2017-07-26 00:00:32 +02:00
|
|
|
<video class="show-asset-lite" autoplay loop controls>
|
2017-07-09 00:17:40 +02:00
|
|
|
<source src="/api/streamFile/{{fileInfo.fileName}}">
|
|
|
|
{{!--fallback--}}
|
|
|
|
Your browser does not support the <code>video</code> element.
|
|
|
|
</video>
|
2017-07-17 22:20:57 +02:00
|
|
|
|
2017-07-09 00:17:40 +02:00
|
|
|
{{else}}
|
2017-07-10 18:29:26 +02:00
|
|
|
<img class="show-asset-lite" src="/api/streamFile/{{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>
|