Merge pull request #111 from lbryio/loop-videos

added 'loop' as default to videos in show and showLite
This commit is contained in:
Bill Bittner 2017-07-25 15:09:39 -07:00 committed by GitHub
commit aa645a580b
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
<div class="panel"> <div class="panel">
<div id="asset-placeholder"> <div id="asset-placeholder">
{{#ifConditional fileInfo.fileType '===' 'video/mp4'}} {{#ifConditional fileInfo.fileType '===' 'video/mp4'}}
<video class="show-asset" autoplay controls> <video class="show-asset" autoplay loop controls>
<source src="/api/streamFile/{{fileInfo.fileName}}"> <source src="/api/streamFile/{{fileInfo.fileName}}">
{{!--fallback--}} {{!--fallback--}}
Your browser does not support the <code>video</code> element. Your browser does not support the <code>video</code> element.

View file

@ -1,7 +1,7 @@
<div id="asset-placeholder"> <div id="asset-placeholder">
<a href="/{{fileInfo.name}}/{{fileInfo.claimId}}"> <a href="/{{fileInfo.name}}/{{fileInfo.claimId}}">
{{#ifConditional fileInfo.fileType '===' 'video/mp4'}} {{#ifConditional fileInfo.fileType '===' 'video/mp4'}}
<video class="show-asset-lite" autoplay controls> <video class="show-asset-lite" autoplay loop controls>
<source src="/api/streamFile/{{fileInfo.fileName}}"> <source src="/api/streamFile/{{fileInfo.fileName}}">
{{!--fallback--}} {{!--fallback--}}
Your browser does not support the <code>video</code> element. Your browser does not support the <code>video</code> element.