diff options
Diffstat (limited to 'src/sass')
-rw-r--r-- | src/sass/plyr.scss | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/sass/plyr.scss b/src/sass/plyr.scss index de386cd8..71adb232 100644 --- a/src/sass/plyr.scss +++ b/src/sass/plyr.scss @@ -70,7 +70,6 @@ $bp-captions-large: 768px !default; // When captions jump to the larger // Animation // --------------------------------------- - @keyframes progress { to { background-position: $progress-loading-size 0; } } @@ -178,6 +177,8 @@ $bp-captions-large: 768px !default; // When captions jump to the larger &-video-embed { padding-bottom: 56.25%; /* 16:9 */ height: 0; + overflow: hidden; + background: #000; iframe { position: absolute; @@ -187,6 +188,13 @@ $bp-captions-large: 768px !default; // When captions jump to the larger height: 100%; border: 0; } + + // Vimeo hack + > div { + position: relative; + padding-bottom: 200%; + transform: translateY(-35.95%); + } } // Captions |