2017-07-05 21:23:55 +02:00
|
|
|
<div class="panel">
|
2017-07-09 00:17:40 +02:00
|
|
|
<div id="asset-placeholder" data-filename="{{{fileInfo.fileName}}}">
|
|
|
|
{{#ifConditional fileInfo.fileType '===' 'video/mp4'}}
|
|
|
|
<video class="show-asset" autoplay controls>
|
|
|
|
<source src="/api/streamFile/{{fileInfo.fileName}}">
|
|
|
|
{{!--fallback--}}
|
|
|
|
Your browser does not support the <code>video</code> element.
|
|
|
|
</video>
|
|
|
|
{{else}}
|
|
|
|
<img class="show-asset src="/api/streamFile/{{fileInfo.fileName}}" />
|
|
|
|
{{/ifConditional}}
|
2017-07-05 22:51:25 +02:00
|
|
|
</div>
|
2017-07-09 00:17:40 +02:00
|
|
|
</div>
|