Fix for Vimeo fullscreen (fixes #214)

This commit is contained in:
Sam Potts
2016-05-16 12:28:28 +10:00
parent e8a8b08215
commit 99960c0dc5
7 changed files with 26 additions and 9 deletions

View File

@ -1,6 +1,6 @@
// ==========================================================================
// Plyr
// plyr.js v1.6.10
// plyr.js v1.6.11
// https://github.com/selz/plyr
// License: The MIT License (MIT)
// ==========================================================================

View File

@ -699,4 +699,11 @@
left: 0;
right: 0;
}
// Vimeo requires some different styling
&.plyr--vimeo .plyr__video-wrapper {
height: 0;
top: 50%;
transform: translateY(-50%);
}
}

View File

@ -698,4 +698,11 @@
left: 0;
right: 0;
}
// Vimeo requires some different styling
&.plyr--vimeo .plyr__video-wrapper {
height: 0;
top: 50%;
transform: translateY(-50%);
}
}