Minor tweaks
This commit is contained in:
2
dist/plyr.js
vendored
2
dist/plyr.js
vendored
File diff suppressed because one or more lines are too long
2
docs/dist/docs.css
vendored
2
docs/dist/docs.css
vendored
File diff suppressed because one or more lines are too long
@ -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: "";
|
||||||
|
@ -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() {
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
Reference in New Issue
Block a user