* request HD playback (even though it is ignored in some browsers)

This commit is contained in:
Reinhard Pointner 2015-05-09 10:17:26 +00:00
parent bcadde3dc7
commit 507ec50cb3
1 changed files with 5 additions and 3 deletions

View File

@ -3,15 +3,14 @@
<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">
@ -24,7 +23,10 @@
</div>
<script>
Galleria.run('.galleria', {
maxScaleRatio: 1
maxScaleRatio: 1,
youtube: {
VQ: 'HD1080'
}
});
</script>
</body>