13 lines
No EOL
473 B
Handlebars
13 lines
No EOL
473 B
Handlebars
<div class="panel">
|
|
<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}}
|
|
</div>
|
|
</div> |