2017-07-05 21:23:55 +02:00
|
|
|
<div class="panel">
|
2017-07-12 01:55:03 +02:00
|
|
|
<div id="asset-placeholder">
|
2017-08-05 18:55:53 +02:00
|
|
|
<a href="/{{fileInfo.claimId}}/{{fileInfo.name}}{{fileInfo.fileExt}}">
|
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" autoplay loop controls>
|
2017-07-27 23:18:55 +02:00
|
|
|
<source src="/media/{{fileInfo.fileName}}">
|
2017-07-09 00:17:40 +02:00
|
|
|
{{!--fallback--}}
|
|
|
|
Your browser does not support the <code>video</code> element.
|
|
|
|
</video>
|
|
|
|
{{else}}
|
2017-07-27 23:18:55 +02:00
|
|
|
<img class="show-asset" src="/media/{{fileInfo.fileName}}" />
|
2017-07-09 00:17:40 +02:00
|
|
|
{{/ifConditional}}
|
2017-07-28 06:56:35 +02:00
|
|
|
</a>
|
2017-07-05 22:51:25 +02:00
|
|
|
</div>
|
2017-07-09 00:17:40 +02:00
|
|
|
</div>
|