Demo tweaks

This commit is contained in:
Sam Potts 2019-06-03 20:11:31 +10:00
parent ac6e3dba5a
commit ab89e055de
5 changed files with 16 additions and 9 deletions

2
demo/dist/demo.css vendored

File diff suppressed because one or more lines are too long

17
demo/dist/demo.js vendored
View File

@ -16724,11 +16724,13 @@ typeof navigator === "object" && (function () {
if (!is$2.empty(this.config.ratio)) {
setAspectRatio.call(player);
} else {
player.once('loadedmetadata', function () {
setAspectRatio.call(player);
}
/* else {
player.once('loadedmetadata', () => {
setAspectRatio.call(player);
});
} // Quality
} */
// Quality
Object.defineProperty(player.media, 'quality', {
@ -20418,10 +20420,15 @@ typeof navigator === "object" && (function () {
on.call(player, elements.container, 'enterfullscreen exitfullscreen', function (event) {
var _player$fullscreen = player.fullscreen,
target = _player$fullscreen.target,
usingNative = _player$fullscreen.usingNative; // Ignore for iOS native and non embeds
usingNative = _player$fullscreen.usingNative; // Ignore events not from target
if (target !== elements.container) {
return;
} // If it's not an embed and no ratio specified
if (!player.isEmbed && is$2.empty(player.config.ratio)) {
return;
}
var isEnter = event.type === 'enterfullscreen'; // Set the player size when entering fullscreen to viewport size

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -24,7 +24,7 @@ header {
text-align: left;
p:first-of-type {
@include font-size($font-size-large);
@include font-size($font-size-base + 1);
}
}
}