PATH:
home
/
thebhoeo
/
public_html
/
wp-content
/
themes
/
woodmart
/
js
/
scripts
/
elements
!function(e){woodmartThemeModule.$document.on("wdLoadDropdownsSuccess",function(){woodmartThemeModule.videoElementPopup()}),woodmartThemeModule.wdElementorAddAction("frontend/element_ready/wd_video.default",function(){woodmartThemeModule.videoElementPopup()}),woodmartThemeModule.videoElementPopup=function(){void 0!==e.fn.magnificPopup&&(e(".wd-el-video-btn:not(.wd-el-video-hosted), .wd-el-video-btn-overlay.wd-el-video-lightbox:not(.wd-el-video-hosted), .wd-el-video.wd-action-button:not(.wd-video-hosted) a:not(.wp-block-wd-button), .wd-el-video.wd-action-action_button:not(.wd-video-hosted) a:not(.wp-block-wd-button)").off("click").on("click",function(o){o.preventDefault();var t=e(this);setTimeout(()=>{e.magnificPopup?.instance?.isOpen&&(e.magnificPopup.instance.st.removalDelay=0,e.magnificPopup.close()),e.magnificPopup.open({items:{src:t.attr("href"),type:"iframe"},closeMarkup:woodmart_settings.close_markup,tLoading:woodmart_settings.loading,removalDelay:600,preloader:!1,fixedContentPos:!0,iframe:{markup:woodmart_settings.close_markup+'<div class="wd-popup wd-video-popup wd-with-video wd-scroll-content"><iframe class="mfp-iframe" src="//about:blank" allowfullscreen frameborder="0"></iframe></div>',patterns:{youtube:{index:"youtube.com/",id:"v=",src:"//www.youtube.com/embed/%id%?rel=0&autoplay=1&mute=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?transparent=0&autoplay=1&muted=1"}}},callbacks:{beforeOpen:function(){this.wrap.addClass("wd-video-popup-wrap")}}})})}),e(".wd-el-video-btn-overlay.wd-el-video-lightbox.wd-el-video-hosted,.wd-el-video-btn.wd-el-video-hosted, .wd-el-video.wd-action-button.wd-video-hosted a:not(.wp-block-wd-button), .wd-el-video.wd-action-action_button.wd-video-hosted a:not(.wp-block-wd-button)").off("click").on("click",function(o){o.preventDefault();var t=e(this).closest(".wd-el-video").find(".wd-popup.wd-video-popup");setTimeout(()=>{e.magnificPopup?.instance?.isOpen&&(e.magnificPopup.instance.st.removalDelay=0,e.magnificPopup.close()),e.magnificPopup.open({items:{src:t,type:"inline"},closeMarkup:woodmart_settings.close_markup,tLoading:woodmart_settings.loading,removalDelay:600,preloader:!1,fixedContentPos:!0,callbacks:{beforeOpen:function(){this.wrap.addClass("wd-video-popup-wrap")},elementParse:function(o){var t=e(o.src).find("video");t.attr("src")||t.attr("src",t.data("lazy-load")),t[0].play()},open:function(){woodmartThemeModule.$document.trigger("wood-images-loaded"),woodmartThemeModule.$window.resize()},close:function(o){var t=e(this.content[0]).find("video");t.length&&t[0].pause()}}})})}),e(".wd-el-video.wd-action-button .wp-block-wd-button").off("click").on("click",function(o){o.preventDefault();var t,d=e(this).parent();t=d.hasClass("wd-video-hosted")?d.find(".wd-popup.wd-video-popup"):e('<div class="wd-popup wd-video-popup wd-with-video wd-scroll-content"><iframe class="mfp-iframe" src="'+d.data("src")+'" allowfullscreen allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" width="100%" height="100%"></iframe></div>'),setTimeout(()=>{e.magnificPopup?.instance?.isOpen&&(e.magnificPopup.instance.st.removalDelay=0,e.magnificPopup.close()),e.magnificPopup.open({items:{src:t,type:"inline"},closeMarkup:woodmart_settings.close_markup,tLoading:woodmart_settings.loading,removalDelay:500,preloader:!1,callbacks:{beforeOpen:function(){this.st.mainClass="mfp-move-horizontal"},elementParse:function(o){var t=e(o.src).find("video");t.length&&(t.attr("src")||t.attr("src",t.data("lazy-load")),t[0].play())},open:function(){woodmartThemeModule.$document.trigger("wood-images-loaded"),woodmartThemeModule.$window.resize()},close:function(o){var t=e(this.content[0]).parents(".wd-el-video").find("video");t.length&&t[0].pause()}}})})}))},e(document).ready(function(){woodmartThemeModule.videoElementPopup()})}(jQuery);
[-] view3d.min.js
[edit]
[-] banner.js
[edit]
[-] button.min.js
[edit]
[-] button.js
[edit]
[-] slider.min.js
[edit]
[-] googleMap.js
[edit]
[-] imageGallery.min.js
[edit]
[-] countDownTimer.min.js
[edit]
[-] infoBox.js
[edit]
[-] videoElement.min.js
[edit]
[-] toggle.min.js
[edit]
[-] compareImages.js
[edit]
[-] imageGallery.js
[edit]
[-] countDownTimer.js
[edit]
[-] accordion.js
[edit]
[-] counter.min.js
[edit]
[-] menuAnchor.js
[edit]
[-] hotSpot.js
[edit]
[-] stickyColumns.min.js
[edit]
[-] offCanvasColumnBtn.js
[edit]
[-] counter.js
[edit]
[-] googleMap.min.js
[edit]
[-] contentPopup.min.js
[edit]
[-] menuAnchor.min.js
[edit]
[-] accordion.min.js
[edit]
[-] compareImages.min.js
[edit]
[-] toggle.js
[edit]
[-] tabs.js
[edit]
[-] buttonShowMore.js
[edit]
[+]
..
[-] offCanvasColumnBtn.min.js
[edit]
[-] tabs.min.js
[edit]
[-] videoElementPopup.min.js
[edit]
[-] videoElementPopup.js
[edit]
[-] stickyColumns.js
[edit]
[-] openStreetMap.min.js
[edit]
[-] stockStatus.min.js
[edit]
[-] hotSpot.min.js
[edit]
[-] stockStatus.js
[edit]
[-] view3d.js
[edit]
[-] slider.js
[edit]
[-] banner.min.js
[edit]
[-] buttonShowMore.min.js
[edit]
[-] videoElement.js
[edit]
[-] infoBox.min.js
[edit]
[-] openStreetMap.js
[edit]
[-] contentPopup.js
[edit]