* request HD playback (even though it is ignored in some browsers)
This commit is contained in:
parent
bcadde3dc7
commit
507ec50cb3
|
@ -3,15 +3,14 @@
|
||||||
<head>
|
<head>
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
|
<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/galleria-1.4.2.min.js"></script>
|
||||||
|
|
||||||
<script src="galleria/themes/classic/galleria.classic.min.js"></script>
|
<script src="galleria/themes/classic/galleria.classic.min.js"></script>
|
||||||
<link rel="stylesheet" href="galleria/themes/classic/galleria.classic.css">
|
<link rel="stylesheet" href="galleria/themes/classic/galleria.classic.css">
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
body{ margin: 0; padding: 0; }
|
body{ margin: 0; padding: 0; }
|
||||||
div.galleria{ width: 100%; height: 100%; background: #000; position: absolute; top: 0; bottom: 0; }
|
div.galleria{ width: 100%; height: 100%; background: #000; position: absolute; top: 0; bottom: 0; }
|
||||||
div.galleria-thumbnails { margin: auto;}
|
div.galleria-thumbnails { margin: auto;}
|
||||||
</style>
|
</style>
|
||||||
|
<title>Getting Started</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="galleria">
|
<div class="galleria">
|
||||||
|
@ -24,7 +23,10 @@
|
||||||
</div>
|
</div>
|
||||||
<script>
|
<script>
|
||||||
Galleria.run('.galleria', {
|
Galleria.run('.galleria', {
|
||||||
maxScaleRatio: 1
|
maxScaleRatio: 1,
|
||||||
|
youtube: {
|
||||||
|
VQ: 'HD1080'
|
||||||
|
}
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
Loading…
Reference in New Issue