channels use standard thumbnail for videos
This commit is contained in:
parent
d1f4f2ddaf
commit
722bf055a0
1 changed files with 10 additions and 13 deletions
|
@ -5,22 +5,19 @@
|
||||||
<p>Below are all the free claims in this channel.</p>
|
<p>Below are all the free claims in this channel.</p>
|
||||||
{{#each channelContents}}
|
{{#each channelContents}}
|
||||||
<div class="all-claims-item">
|
<div class="all-claims-item">
|
||||||
|
<a href="/{{this.channelName}}:{{this.shortChannelId}}/{{this.name}}.{{this.fileExtension}}">
|
||||||
{{#ifConditional this.contentType '===' 'video/mp4'}}
|
{{#ifConditional this.contentType '===' 'video/mp4'}}
|
||||||
<video class="all-claims-asset" controls>
|
<img class="all-claims-asset" src="/assets/img/content-freedom-large.png"/>
|
||||||
<source src="/{{this.claimId}}/{{this.name}}.{{this.fileExtension}}">
|
|
||||||
{{!--fallback--}}
|
|
||||||
Your browser does not support the <code>video</code> element.
|
|
||||||
</video>
|
|
||||||
{{else}}
|
{{else}}
|
||||||
<img class="all-claims-asset" src="/{{this.claimId}}/{{this.name}}.{{this.fileExtension}}" />
|
<img class="all-claims-asset" src="/{{this.claimId}}/{{this.name}}.{{this.fileExtension}}" />
|
||||||
{{/ifConditional}}
|
{{/ifConditional}}
|
||||||
|
</a>
|
||||||
<div class="all-claims-details">
|
<div class="all-claims-details">
|
||||||
<ul style="list-style-type:none">
|
<ul style="list-style-type:none">
|
||||||
<li>Title: {{this.title}}</li>
|
<li><strong>{{this.title}}</strong></li>
|
||||||
<li>Description: {{this.description}}</li>
|
<li><i> {{this.description}}</i></li>
|
||||||
|
<li><a href="/{{this.channelName}}:{{this.shortChannelId}}/{{this.name}}.{{this.fileExtension}}">spee.ch/{{this.channelName}}:{{this.shortChannelId}}/{{this.name}}.{{this.fileExtension}}</a></li>
|
||||||
<li>License: {{this.license}}</li>
|
<li>License: {{this.license}}</li>
|
||||||
<li>Link: <a href="/{{this.channelName}}:{{this.shortChannelId}}/{{this.name}}.{{this.fileExtension}}">spee.ch/{{this.channelName}}:{{this.shortChannelId}}/{{this.name}}.{{this.fileExtension}}</a></li>
|
|
||||||
<li>Claim: {{this.name}}</li>
|
<li>Claim: {{this.name}}</li>
|
||||||
<li>Claim Id: {{this.claimId}}</li>
|
<li>Claim Id: {{this.claimId}}</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Reference in a new issue