/
var
/
www
/
barefootlaw.org
/
wp-content
/
plugins
/
youtube-embed-plus
/
scripts
/
alertify
/
Upload File
HOME
alertify.defaults.maintainFocus=false;alertify.defaults.glossary.title=" ";alertify.defaults.transition="zoom";alertify.YoutubeDialog||alertify.dialog("YoutubeDialog",function(){var a;return{main:function(b){return this.set({videoId:b})},setup:function(){return{options:{padding:!1,overflow:!1,}}},build:function(){a=document.createElement("iframe");a.frameBorder="no";a.width="100%";a.height="100%";this.elements.content.appendChild(a);this.elements.body.style.minHeight=screen.height*0.5+"px"},settings:{videoId:undefined},settingUpdated:function(c,b,d){switch(c){case"videoId":a.src="https://www.youtube.com/embed/"+d+"?enablejsapi=1";break}},hooks:{onclose:function(){a.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")},onupdate:function(c,b,d){switch(c){case"resizable":if(d){this.elements.content.removeAttribute("style");a&&a.removeAttribute("style")}else{this.elements.content.style.minHeight="inherit";a&&(a.style.minHeight="inherit")}break}}}}});