This commit is contained in:
Sam Potts 2017-06-12 09:26:01 +07:00
parent 40b4f8e840
commit 21f444ed61
4 changed files with 48 additions and 49 deletions

2
demo/dist/demo.js vendored

File diff suppressed because one or more lines are too long

View File

@ -50,7 +50,7 @@
</li>
</ul>
</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">
@ -95,7 +95,6 @@
</small>
</li>
</ul>
</section>
</main>
<!-- Plyr core script -->

4
dist/plyr.js vendored

File diff suppressed because one or more lines are too long

View File

@ -3094,7 +3094,7 @@
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);
// Set dimensions to target
@ -3525,7 +3525,7 @@
}
// Listen for control events
function controlListeners() {
function listeners() {
// IE doesn't support input event, so we fallback to change
var inputEvent = (player.browser.isIE ? 'change' : 'input');
@ -4068,7 +4068,7 @@
injectControls();
// Re-attach listeners
controlListeners();
listeners();
}
// If there's no controls, bail