diff options
author | Hakim El Hattab | 2017-01-18 10:43:29 +0100 |
---|---|---|
committer | Hakim El Hattab | 2017-01-18 10:43:29 +0100 |
commit | 941b86b6c390bf91eeb6b47f12ff8bf830e28b0a (patch) | |
tree | 2916787d820d26a2c6082c26e80921aea89533bf /css/reveal.scss | |
parent | 84090b882f99c1da5b73bbe04a9c74731e71dfc8 (diff) |
works with video, defaults to (same as for images)
Diffstat (limited to 'css/reveal.scss')
-rw-r--r-- | css/reveal.scss | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/css/reveal.scss b/css/reveal.scss index 22fb3fe..68ff56f 100644 --- a/css/reveal.scss +++ b/css/reveal.scss @@ -898,7 +898,11 @@ body { max-height: none; top: 0; left: 0; + object-fit: cover; } + .reveal .slide-background[data-background-size="contain"] video { + object-fit: contain; + } /* Immediate transition style */ .reveal[data-background-transition=none]>.backgrounds .slide-background, |