15 lines
No EOL
521 B
Handlebars
15 lines
No EOL
521 B
Handlebars
<div id="asset-placeholder">
|
|
{{#ifConditional fileInfo.fileType '===' 'video/mp4'}}
|
|
<video class="show-asset-lite" 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-lite" src="/api/streamFile/{{fileInfo.fileName}}" alt="{{fileInfo.fileName}}"/>
|
|
{{/ifConditional}}
|
|
<div>
|
|
<a href="/show/{{fileInfo.name}}/{{fileInfo.claimId}}">Details</a>
|
|
</div>
|
|
</div> |