2017-07-12 01:55:03 +02:00
|
|
|
<div class="full">
|
|
|
|
<h2>Trending</h2>
|
|
|
|
{{#each trendingAssets}}
|
|
|
|
{{#if this.nsfw}}
|
|
|
|
{{else }}
|
2017-07-17 22:59:21 +02:00
|
|
|
<a href="/show/{{this.name}}/{{this.claimId}}">
|
2017-07-12 01:55:03 +02:00
|
|
|
{{#ifConditional this.fileType '===' 'video/mp4'}}
|
|
|
|
<video class="asset-small" controls>
|
|
|
|
<source src="/api/streamFile/{{this.fileName}}">
|
|
|
|
{{!--fallback--}}
|
|
|
|
Your browser does not support the <code>video</code> element.
|
|
|
|
</video>
|
|
|
|
{{else}}
|
|
|
|
<img class="asset-small" src="/api/streamFile/{{this.fileName}}" />
|
|
|
|
{{/ifConditional}}
|
2017-07-17 22:59:21 +02:00
|
|
|
</a>
|
2017-07-12 01:55:03 +02:00
|
|
|
{{/if}}
|
|
|
|
{{/each}}
|
2017-07-12 16:48:04 +02:00
|
|
|
</div>
|