Now you can add muted to videos in Froala so they can autoplay properly on mobile

This commit is contained in:
Eric Schultz 2018-11-27 12:15:26 -06:00
parent 8a8942654e
commit b77c8cec41

View file

@ -107,7 +107,8 @@ var froala = function($el, options) {
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)