aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/plugins/vimeo.js
diff options
context:
space:
mode:
authorSam Potts <sam@potts.es>2019-04-12 18:39:14 +1000
committerGitHub <noreply@github.com>2019-04-12 18:39:14 +1000
commit5fefabe3bddf705f3c3956152882b5ceab44c8dc (patch)
tree43c1b11c4361e02189ae643f525efb155d8a99d0 /src/js/plugins/vimeo.js
parent0f3098040d8650a762067d1f1aa5ab520cb9b90c (diff)
parente281078441ad50c4b0b997b615b48fc0c254f173 (diff)
downloadplyr-5fefabe3bddf705f3c3956152882b5ceab44c8dc.tar.lz
plyr-5fefabe3bddf705f3c3956152882b5ceab44c8dc.tar.xz
plyr-5fefabe3bddf705f3c3956152882b5ceab44c8dc.zip
Merge pull request #1410 from sampotts/develop
v3.5.3
Diffstat (limited to 'src/js/plugins/vimeo.js')
-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