allow fullscreen for background iframes
This commit is contained in:
		
							parent
							
								
									a0a3b4f80d
								
							
						
					
					
						commit
						3ea7e2ff59
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -3122,6 +3122,9 @@
 | 
			
		|||
				// Iframes
 | 
			
		||||
				else if( backgroundIframe ) {
 | 
			
		||||
					var iframe = document.createElement( 'iframe' );
 | 
			
		||||
					iframe.setAttribute( 'allowfullscreen', '' );
 | 
			
		||||
					iframe.setAttribute( 'mozallowfullscreen', '' );
 | 
			
		||||
					iframe.setAttribute( 'webkitallowfullscreen', '' );
 | 
			
		||||
 | 
			
		||||
					// Only load autoplaying content when the slide is shown to
 | 
			
		||||
					// avoid having it play in the background
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue