added 'loop' as default to videos in show and showLite #111

Merged
bones7242 merged 1 commit from loop-videos into master 2017-07-26 00:09:40 +02:00
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -1,7 +1,7 @@
<div id="asset-placeholder">
<a href="/{{fileInfo.name}}/{{fileInfo.claimId}}">
{{#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}}">
{{!--fallback--}}
Your browser does not support the <code>video</code> element.