var md = new MobileDetect(window.navigator.userAgent); // var w1 = $(window).width(); // var h1 = $(window).height(); let wistia_container_details = ""; //for parameter const urlParams = new URLSearchParams(window.location.search); const controlParam = urlParams.get("controls"); //for parameter ld_video_controls = "false"; // if (w1 > h1) { if (md.mobile()) { video_id = "95kmaan12t"; video_type = "mobile"; fullscreen_video = "1"; // parameter if (controlParam === "1") { ld_video_controls = "true"; } else { ld_video_controls = "false"; } ld_image_continue = "video-btn.png"; ld_image_unmute = "video-mute.svg"; wistia_container_details = '
\n' + '
\n' + '
 \n' + "
\n" + "
\n" + "
"; $(".vid-type").addClass("video-wrapper-mobile"); $(".w-chrome").css({ transform: "translateY(-50%)" }); if ($(window).width() < 575) { $(".video-unmute-btn-box img").css("width", "100%"); $(".video-continue-btn-box img").css("width", "100%"); } if ($(window).width() < 991) { $(".video-unmute-btn-box img").css("height", "auto"); $(".video-continue-btn-box img").css("height", "auto"); } } else { video_id = "oe87vrhatp"; video_type = "desktop"; fullscreen_video = "1"; // parameter if (controlParam === "1") { ld_video_controls = "true"; } else { ld_video_controls = "false"; } ld_image_continue = "video-btn.png"; ld_image_unmute = "video-mute.svg"; wistia_container_details = '
\n' + '
\n' + '
 \n' + "
\n" + "
\n" + "
"; $(".vid-type").addClass("video-wrapper-desktop"); if ($(window).width() < 575) { $(".video-unmute-btn-box img").css("width", "65%"); $(".video-continue-btn-box img").css("width", "65%"); } $(".hero .background-main").css("height", "750px"); } $(".vb").append(wistia_container_details);