2
0
mirror of https://github.com/thumbsup/thumbsup synced 2024-11-15 18:12:46 +00:00
thumbsup/themes/base/partials/video-loader.hbs
Romain 03a9c9a319 refactor: themes are now standalone folders, to prepare for external loading
Every theme is made of { Handlebars + Less + Partials + Helpers + Public }
2018-06-01 23:49:53 +02:00

14 lines
471 B
Handlebars

<!-- Video loader -->
<div id="videos">
{{#each album.files}}
{{#if isVideo}}
<div id="media{{id}}" style="display:none;">
<video class="lg-video-object lg-html5 video-js vjs-default-skin vjs-big-play-centered" poster="{{relative urls.large}}" preload="none" controls>
<source src="{{relative urls.video}}" type="video/mp4" />
Your browser does not support HTML5 video
</video>
</div>
{{/if}}
{{/each}}
</div>