Now you can add muted to videos in Froala so they can autoplay properly on mobile
This commit is contained in:
		
							parent
							
								
									8a8942654e
								
							
						
					
					
						commit
						b77c8cec41
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -107,7 +107,8 @@ var froala = function($el, options) { | ||||||
|                 refresh: function () { |                 refresh: function () { | ||||||
|                 } |                 } | ||||||
|             }, |             }, | ||||||
|         } |         }, | ||||||
|  |       videoAllowedAttrs: ["src","width","height","frameborder","allowfullscreen","webkitallowfullscreen","mozallowfullscreen","href","target","id","controls","value","name", "autoplay", "loop", "muted"] | ||||||
|     }) |     }) | ||||||
| 
 | 
 | ||||||
|     $('.froala-popup').parents('.froala-editor').css('z-index', 99999) |     $('.froala-popup').parents('.froala-editor').css('z-index', 99999) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Eric Schultz
						Eric Schultz