code format
This commit is contained in:
parent
a245a87e38
commit
53b9dbc654
|
@ -2766,7 +2766,8 @@
|
||||||
// Videos
|
// Videos
|
||||||
else if ( backgroundVideo && !isSpeakerNotes() ) {
|
else if ( backgroundVideo && !isSpeakerNotes() ) {
|
||||||
var video = document.createElement( 'video' );
|
var video = document.createElement( 'video' );
|
||||||
if ( backgroundVideoLoop ) {
|
|
||||||
|
if( backgroundVideoLoop ) {
|
||||||
video.setAttribute( 'loop', '' );
|
video.setAttribute( 'loop', '' );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2778,7 +2779,7 @@
|
||||||
background.appendChild( video );
|
background.appendChild( video );
|
||||||
}
|
}
|
||||||
// Iframes
|
// Iframes
|
||||||
else if ( backgroundIframe ) {
|
else if( backgroundIframe ) {
|
||||||
var iframe = document.createElement( 'iframe' );
|
var iframe = document.createElement( 'iframe' );
|
||||||
iframe.setAttribute( 'src', backgroundIframe );
|
iframe.setAttribute( 'src', backgroundIframe );
|
||||||
iframe.style.width = '100%';
|
iframe.style.width = '100%';
|
||||||
|
|
Loading…
Reference in New Issue