aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2015-02-25 15:52:10 +0100
committerHakim El Hattab <hakim.elhattab@gmail.com>2015-02-25 15:52:10 +0100
commit53b9dbc65431882b9f316b4fbfe5d6cece928ad1 (patch)
treed1e0ad91ec7c84b3c67769d354d43681a862639e
parenta245a87e381b81168e730a6b4bf3d224b8931606 (diff)
downloadfosdem-2018-presentation-53b9dbc65431882b9f316b4fbfe5d6cece928ad1.tar
fosdem-2018-presentation-53b9dbc65431882b9f316b4fbfe5d6cece928ad1.tar.gz
code format
-rw-r--r--js/reveal.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/js/reveal.js b/js/reveal.js
index 7d3973e..3520f0c 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -2766,7 +2766,8 @@
// Videos
else if ( backgroundVideo && !isSpeakerNotes() ) {
var video = document.createElement( 'video' );
- if ( backgroundVideoLoop ) {
+
+ if( backgroundVideoLoop ) {
video.setAttribute( 'loop', '' );
}
@@ -2778,7 +2779,7 @@
background.appendChild( video );
}
// Iframes
- else if ( backgroundIframe ) {
+ else if( backgroundIframe ) {
var iframe = document.createElement( 'iframe' );
iframe.setAttribute( 'src', backgroundIframe );
iframe.style.width = '100%';