Tweaks
This commit is contained in:
parent
40b4f8e840
commit
21f444ed61
2
demo/dist/demo.js
vendored
2
demo/dist/demo.js
vendored
File diff suppressed because one or more lines are too long
@ -50,52 +50,51 @@
|
|||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
<section>
|
|
||||||
<video controls crossorigin playsinline poster="https://cdn.selz.com/plyr/1.5/View_From_A_Blue_Moon_Trailer-HD.jpg" id="player">
|
|
||||||
<!-- Video files -->
|
|
||||||
<source src="https://cdn.selz.com/plyr/1.5/View_From_A_Blue_Moon_Trailer-HD.mp4" type="video/mp4">
|
|
||||||
|
|
||||||
<!-- Text track file -->
|
<video controls crossorigin playsinline poster="https://cdn.selz.com/plyr/1.5/View_From_A_Blue_Moon_Trailer-HD.jpg" id="player">
|
||||||
<track kind="captions" label="English" srclang="en" src="webvtt/View_From_A_Blue_Moon_Trailer-HD.en.vtt" default>
|
<!-- Video files -->
|
||||||
<track kind="captions" label="Français" srclang="fr" src="webvtt/View_From_A_Blue_Moon_Trailer-HD.fr.vtt">
|
<source src="https://cdn.selz.com/plyr/1.5/View_From_A_Blue_Moon_Trailer-HD.mp4" type="video/mp4">
|
||||||
|
|
||||||
<!-- Fallback for browsers that don't support the <video> element -->
|
<!-- Text track file -->
|
||||||
<a href="https://cdn.selz.com/plyr/1.5/View_From_A_Blue_Moon_Trailer-HD.mp4" download>Download</a>
|
<track kind="captions" label="English" srclang="en" src="webvtt/View_From_A_Blue_Moon_Trailer-HD.en.vtt" default>
|
||||||
</video>
|
<track kind="captions" label="Français" srclang="fr" src="webvtt/View_From_A_Blue_Moon_Trailer-HD.fr.vtt">
|
||||||
|
|
||||||
<ul>
|
<!-- Fallback for browsers that don't support the <video> element -->
|
||||||
<li class="plyr__cite plyr__cite--video" hidden>
|
<a href="https://cdn.selz.com/plyr/1.5/View_From_A_Blue_Moon_Trailer-HD.mp4" download>Download</a>
|
||||||
<small>
|
</video>
|
||||||
<a href="http://viewfromabluemoon.com/" target="_blank">View From A Blue Moon</a> © Brainfarm
|
|
||||||
</small>
|
<ul>
|
||||||
</li>
|
<li class="plyr__cite plyr__cite--video" hidden>
|
||||||
<li class="plyr__cite plyr__cite--audio" hidden>
|
<small>
|
||||||
<small>
|
<a href="http://viewfromabluemoon.com/" target="_blank">View From A Blue Moon</a> © Brainfarm
|
||||||
<a href="http://www.kishibashi.com/" target="_blank">Kishi Bashi – “It All Began With A Burst”</a> © Kishi Bashi
|
</small>
|
||||||
</small>
|
</li>
|
||||||
</li>
|
<li class="plyr__cite plyr__cite--audio" hidden>
|
||||||
<li class="plyr__cite plyr__cite--youtube" hidden>
|
<small>
|
||||||
<small>
|
<a href="http://www.kishibashi.com/" target="_blank">Kishi Bashi – “It All Began With A Burst”</a> © Kishi Bashi
|
||||||
<a href="https://www.youtube.com/watch?v=bTqVqk7FSmY" target="_blank">View From A Blue Moon</a> on
|
</small>
|
||||||
<span class="color--youtube">
|
</li>
|
||||||
<svg class="icon">
|
<li class="plyr__cite plyr__cite--youtube" hidden>
|
||||||
<use xlink:href="#icon-youtube"/>
|
<small>
|
||||||
</svg> YouTube
|
<a href="https://www.youtube.com/watch?v=bTqVqk7FSmY" target="_blank">View From A Blue Moon</a> on
|
||||||
</span>
|
<span class="color--youtube">
|
||||||
</small>
|
<svg class="icon">
|
||||||
</li>
|
<use xlink:href="#icon-youtube"/>
|
||||||
<li class="plyr__cite plyr__cite--vimeo" hidden>
|
</svg> YouTube
|
||||||
<small>
|
</span>
|
||||||
<a href="https://vimeo.com/ondemand/viewfromabluemoon4k" target="_blank">View From A Blue Moon</a> on
|
</small>
|
||||||
<span class="color--vimeo">
|
</li>
|
||||||
<svg class="icon">
|
<li class="plyr__cite plyr__cite--vimeo" hidden>
|
||||||
<use xlink:href="#icon-vimeo"/>
|
<small>
|
||||||
</svg> Vimeo
|
<a href="https://vimeo.com/ondemand/viewfromabluemoon4k" target="_blank">View From A Blue Moon</a> on
|
||||||
</span>
|
<span class="color--vimeo">
|
||||||
</small>
|
<svg class="icon">
|
||||||
</li>
|
<use xlink:href="#icon-vimeo"/>
|
||||||
</ul>
|
</svg> Vimeo
|
||||||
</section>
|
</span>
|
||||||
|
</small>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<!-- Plyr core script -->
|
<!-- Plyr core script -->
|
||||||
|
4
dist/plyr.js
vendored
4
dist/plyr.js
vendored
File diff suppressed because one or more lines are too long
@ -3094,7 +3094,7 @@
|
|||||||
utils.off(container, utils.transitionEnd, restore)
|
utils.off(container, utils.transitionEnd, restore)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Listen for the transtion finishing and restore auto height/width
|
// Listen for the transition finishing and restore auto height/width
|
||||||
utils.on(container, utils.transitionEnd, restore);
|
utils.on(container, utils.transitionEnd, restore);
|
||||||
|
|
||||||
// Set dimensions to target
|
// Set dimensions to target
|
||||||
@ -3525,7 +3525,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Listen for control events
|
// Listen for control events
|
||||||
function controlListeners() {
|
function listeners() {
|
||||||
// IE doesn't support input event, so we fallback to change
|
// IE doesn't support input event, so we fallback to change
|
||||||
var inputEvent = (player.browser.isIE ? 'change' : 'input');
|
var inputEvent = (player.browser.isIE ? 'change' : 'input');
|
||||||
|
|
||||||
@ -4068,7 +4068,7 @@
|
|||||||
injectControls();
|
injectControls();
|
||||||
|
|
||||||
// Re-attach listeners
|
// Re-attach listeners
|
||||||
controlListeners();
|
listeners();
|
||||||
}
|
}
|
||||||
|
|
||||||
// If there's no controls, bail
|
// If there's no controls, bail
|
||||||
|
Loading…
x
Reference in New Issue
Block a user