38 lines
1.8 KiB
HTML
38 lines
1.8 KiB
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
|
|
<script src="galleria/galleria-1.4.2.min.js"></script>
|
|
<script src="galleria/themes/classic/galleria.classic.min.js"></script>
|
|
<link rel="stylesheet" href="galleria/themes/classic/galleria.classic.css">
|
|
<style>
|
|
body{ margin: 0; padding: 0; }
|
|
div.galleria{ width: 100%; height: 100%; background: #000; position: absolute; top: 0; bottom: 0; }
|
|
div.galleria-thumbnails { margin: auto;}
|
|
</style>
|
|
<title>Getting Started</title>
|
|
</head>
|
|
<body>
|
|
<div class="galleria">
|
|
|
|
</div>
|
|
<script>
|
|
var data = [
|
|
{ video: 'http://www.youtube.com/watch?v=btNSv7AnMMw', image: 'images/rename.png', thumb: 'images/rename.thumb.png' },
|
|
{ video: 'http://www.youtube.com/watch?v=GCZrz8siv4Q', image: 'images/episodes.png', thumb: 'images/episodes.thumb.png' },
|
|
{ video: 'http://www.youtube.com/watch?v=oZ_hovsTY', image: 'images/subtitle-hash-lookup.png', thumb: 'images/subtitle-hash-lookup.thumb.png' },
|
|
{ video: 'http://www.youtube.com/watch?v=R80tKtHf4zw', image: 'images/subtitle-search.png', thumb: 'images/subtitle-search.thumb.png' },
|
|
{ video: 'http://www.youtube.com/watch?v=4KWkSPr3fQY', image: 'images/sfv.png', thumb: 'images/sfv.thumb.png' },
|
|
{ image: 'images/permissions.png', thumb: 'images/permissions.thumb.png' }
|
|
];
|
|
Galleria.run('.galleria', {
|
|
dataSource: data,
|
|
maxScaleRatio: 1,
|
|
youtube: {
|
|
VQ: 'HD1080'
|
|
}
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|