aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/plugins
diff options
context:
space:
mode:
authorSam Potts <sam@potts.es>2019-04-12 12:19:48 +1000
committerSam Potts <sam@potts.es>2019-04-12 12:19:48 +1000
commitb247093495c3402dbe7c14e3faeff8475f4e277c (patch)
tree8db601f188caf539277f9760ca93d02e9deb442b /src/js/plugins
parent9ca7b861a925ec0412006f7cc926bfa1859a0daa (diff)
downloadplyr-b247093495c3402dbe7c14e3faeff8475f4e277c.tar.lz
plyr-b247093495c3402dbe7c14e3faeff8475f4e277c.tar.xz
plyr-b247093495c3402dbe7c14e3faeff8475f4e277c.zip
Aspect ratio improvements (fixes #1042, fixes #1366)
Diffstat (limited to 'src/js/plugins')
-rw-r--r--src/js/plugins/vimeo.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/plugins/vimeo.js b/src/js/plugins/vimeo.js
index a7664e73..9d6c1665 100644
--- a/src/js/plugins/vimeo.js
+++ b/src/js/plugins/vimeo.js
@@ -282,7 +282,7 @@ const vimeo = {
Promise.all([player.embed.getVideoWidth(), player.embed.getVideoHeight()]).then(dimensions => {
const [width, height] = dimensions;
player.embed.ratio = `${width}:${height}`;
- setAspectRatio.call(this, player.embed.ratio);
+ setAspectRatio.call(this);
});
// Set autopause