Minor tweaks

This commit is contained in:
Sam Potts
2015-07-25 20:29:19 +10:00
parent e9cdbfb8da
commit a0d2d5cd24
6 changed files with 9 additions and 6 deletions

2
dist/plyr.js vendored

File diff suppressed because one or more lines are too long

2
docs/dist/docs.css vendored

File diff suppressed because one or more lines are too long

View File

@ -25,6 +25,7 @@ nav {
position: relative; position: relative;
margin: 0 auto @padding-base; margin: 0 auto @padding-base;
max-width: @example-width-video; max-width: @example-width-video;
white-space: nowrap;
&::before { &::before {
content: ""; content: "";

View File

@ -559,9 +559,8 @@
fullscreen.isFullScreen = function(element) { fullscreen.isFullScreen = function(element) {
if(typeof element == "undefined") { if(typeof element == "undefined") {
element = document; element = document.body;
} }
switch (this.prefix) { switch (this.prefix) {
case "": case "":
return document.fullscreenElement == element; return document.fullscreenElement == element;
@ -572,6 +571,9 @@
} }
}; };
fullscreen.requestFullScreen = function(element) { fullscreen.requestFullScreen = function(element) {
if(typeof element == "undefined") {
element = document.body;
}
return (this.prefix === "") ? element.requestFullScreen() : element[this.prefix + (this.prefix == "ms" ? "RequestFullscreen" : "RequestFullScreen")](); return (this.prefix === "") ? element.requestFullScreen() : element[this.prefix + (this.prefix == "ms" ? "RequestFullscreen" : "RequestFullScreen")]();
}; };
fullscreen.cancelFullScreen = function() { fullscreen.cancelFullScreen = function() {

View File

@ -497,7 +497,7 @@
// Volume control // Volume control
// <input[type='range']> element // <input[type='range']> element
// Specificity is for bootstrap compatibility // Specificity is for bootstrap compatibility
&-volume[type=range] { &-volume[type="range"] {
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
-webkit-appearance: none; -webkit-appearance: none;

View File

@ -495,7 +495,7 @@ $bp-captions-large: 768px !default; // When captions jump to the larger fo
// Volume control // Volume control
// <input[type='range']> element // <input[type='range']> element
// Specificity is for bootstrap compatibility // Specificity is for bootstrap compatibility
&-volume[type=range] { &-volume[type="range"] {
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
-webkit-appearance: none; -webkit-appearance: none;