update slide bg example presentation to include iframes and videos #1029

This commit is contained in:
Hakim El Hattab
2014-10-17 08:52:38 +02:00
parent fa88707382
commit 16f9e95d87
2 changed files with 13 additions and 5 deletions

View File

@ -2614,7 +2614,7 @@
// Iframes
else if ( backgroundIframe ) {
var iframe = document.createElement( 'iframe' );
iframe.setAttribute('src', backgroundIframe);
iframe.setAttribute( 'src', backgroundIframe );
iframe.style.width = '100%';
iframe.style.height = '100%';
iframe.style.maxHeight = '100%';