allow fullscreen for background iframes
This commit is contained in:
		| @@ -3122,6 +3122,9 @@ | |||||||
| 				// Iframes | 				// Iframes | ||||||
| 				else if( backgroundIframe ) { | 				else if( backgroundIframe ) { | ||||||
| 					var iframe = document.createElement( 'iframe' ); | 					var iframe = document.createElement( 'iframe' ); | ||||||
|  | 					iframe.setAttribute( 'allowfullscreen', '' ); | ||||||
|  | 					iframe.setAttribute( 'mozallowfullscreen', '' ); | ||||||
|  | 					iframe.setAttribute( 'webkitallowfullscreen', '' ); | ||||||
|  |  | ||||||
| 					// Only load autoplaying content when the slide is shown to | 					// Only load autoplaying content when the slide is shown to | ||||||
| 					// avoid having it play in the background | 					// avoid having it play in the background | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user