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,7 +50,7 @@
|
|||||||
</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 controls crossorigin playsinline poster="https://cdn.selz.com/plyr/1.5/View_From_A_Blue_Moon_Trailer-HD.jpg" id="player">
|
||||||
<!-- Video files -->
|
<!-- Video files -->
|
||||||
<source src="https://cdn.selz.com/plyr/1.5/View_From_A_Blue_Moon_Trailer-HD.mp4" type="video/mp4">
|
<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>
|
</small>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
|
||||||
</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