aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2017-01-18 10:43:29 +0100
committerHakim El Hattab <hakim.elhattab@gmail.com>2017-01-18 10:43:29 +0100
commit941b86b6c390bf91eeb6b47f12ff8bf830e28b0a (patch)
tree2916787d820d26a2c6082c26e80921aea89533bf /README.md
parent84090b882f99c1da5b73bbe04a9c74731e71dfc8 (diff)
downloadfosdem-2018-presentation-941b86b6c390bf91eeb6b47f12ff8bf830e28b0a.tar
fosdem-2018-presentation-941b86b6c390bf91eeb6b47f12ff8bf830e28b0a.tar.gz
works with video, defaults to (same as for images)
Diffstat (limited to 'README.md')
-rw-r--r--README.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/README.md b/README.md
index 8878842..54b065b 100644
--- a/README.md
+++ b/README.md
@@ -578,6 +578,7 @@ Automatically plays a full size video behind the slide.
| data-background-video | | A single video source, or a comma separated list of video sources. |
| data-background-video-loop | false | Flags if the video should play repeatedly. |
| data-background-video-muted | false | Flags if the audio should be muted. |
+| data-background-size | cover | Use `cover` for full screen and some cropping or `contain` for letterboxing. |
```html
<section data-background-video="https://s3.amazonaws.com/static.slid.es/site/homepage/v1/homepage-video-editor.mp4,https://s3.amazonaws.com/static.slid.es/site/homepage/v1/homepage-video-editor.webm" data-background-video-loop data-background-video-muted>