mirror of https://github.com/thumbsup/thumbsup
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
1.8 KiB
Handlebars
64 lines
1.8 KiB
Handlebars
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, user-scalable=no" />
|
|
<title>{{gallery.title}} - {{album.title}}</title>
|
|
<link rel="stylesheet" href="public/reset.css" />
|
|
<link rel="stylesheet" href="public/style.css" />
|
|
<link rel="stylesheet" href="public/viewer.css" />
|
|
<link rel="stylesheet" href="public/font-awesome/css/font-awesome.min.css">
|
|
<link rel="stylesheet" href="public/light-gallery/css/lightgallery.css" />
|
|
<link rel="stylesheet" href="public/video-js.css" />
|
|
</head>
|
|
|
|
<body>
|
|
|
|
{{> theme}}
|
|
|
|
<!-- 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" preload="none" controls>
|
|
<source src="{{urls.video}}" type="video/mp4" />
|
|
Your browser does not support HTML5 video
|
|
</video>
|
|
</div>
|
|
{{/if}}
|
|
{{/each}}
|
|
</div>
|
|
|
|
<!-- jQuery -->
|
|
<script src="public/jquery.min.js"></script>
|
|
<!-- VideoJS -->
|
|
<script src="public/video.js"></script>
|
|
<!-- LightGallery -->
|
|
<script src="public/light-gallery/js/lightgallery.js"></script>
|
|
<script src="public/light-gallery/js/lg-autoplay.js"></script>
|
|
<script src="public/light-gallery/js/lg-pager.js"></script>
|
|
<script src="public/light-gallery/js/lg-thumbnail.js"></script>
|
|
<script src="public/light-gallery/js/lg-video.js"></script>
|
|
|
|
<script>
|
|
$(document).ready(function() {
|
|
$("#media").lightGallery({
|
|
thumbWidth: 80,
|
|
controls: true,
|
|
loop : false,
|
|
download: true,
|
|
counter: true,
|
|
videojs: true
|
|
});
|
|
});
|
|
|
|
</script>
|
|
|
|
{{> analytics}}
|
|
|
|
</body>
|
|
|
|
</html>
|