diff options
author | Sam Potts <sam@potts.es> | 2018-03-22 01:08:08 +1100 |
---|---|---|
committer | Sam Potts <sam@potts.es> | 2018-03-22 01:08:08 +1100 |
commit | 5eafe9baffe481d5653e05c2bfd32e94b16bd64c (patch) | |
tree | 0b63ca20d97babceb1fd3c2eb150401062edfe0f /dist/plyr.polyfilled.js | |
parent | c251c94131adec3a3c30ecedfb0c8661a287dd11 (diff) | |
download | plyr-5eafe9baffe481d5653e05c2bfd32e94b16bd64c.tar.lz plyr-5eafe9baffe481d5653e05c2bfd32e94b16bd64c.tar.xz plyr-5eafe9baffe481d5653e05c2bfd32e94b16bd64c.zip |
Vimeo offset tweak (fixes #826)
Diffstat (limited to 'dist/plyr.polyfilled.js')
-rw-r--r-- | dist/plyr.polyfilled.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/plyr.polyfilled.js b/dist/plyr.polyfilled.js index e795d4ef..2977c5f6 100644 --- a/dist/plyr.polyfilled.js +++ b/dist/plyr.polyfilled.js @@ -11671,7 +11671,7 @@ var vimeo = { setAspectRatio: function setAspectRatio(input) { var ratio = utils.is.string(input) ? input.split(':') : this.config.ratio.split(':'); var padding = 100 / ratio[0] * ratio[1]; - var height = 200; + var height = 240; var offset = (height - padding) / (height / 50); this.elements.wrapper.style.paddingBottom = padding + '%'; this.media.style.transform = 'translateY(-' + offset + '%)'; |