Blake’s Market
.event-details .event-details__utility-bar-status-description { max-width: 100%; } .colored-tag.colored-tag–bold { display: none; }
.event-details .event-details__utility-bar-status-description { max-width: 100%; } .colored-tag.colored-tag–bold { display: none; }
.event-details .event-details__utility-bar-status-description { max-width: 100%; } .colored-tag.colored-tag–bold { display: none; }
document.addEventListener(“DOMContentLoaded”, function() { const desktopVideoUrl = “https://detroitzoo.org/wp-content/uploads/2024/08/081524-SPOOKY_SPIRITS_DESKTOP.mp4”; const mobileVideoUrl = “https://detroitzoo.org/wp-content/uploads/2024/08/082224-SPOOKY_SPIRITS_MOBILE.mp4”; const isMobile = window.innerWidth { videoElement.muted = true; // Ensure the video is muted videoElement.play().catch(function(error) { console.warn(“Autoplay was prevented. Waiting for user interaction to play the video.”); }); }; videoElement.addEventListener(‘canplaythrough’, tryPlayVideo); // Additional attempts to play window.addEventListener(‘load’, tryPlayVideo); document.addEventListener(“click”, tryPlayVideo); document.addEventListener(“scroll”, tryPlayVideo); document.addEventListener(“keydown”, tryPlayVideo); […]
.event-details .event-details__utility-bar-status-description { max-width: 100%; } .colored-tag.colored-tag–bold { display: none; }
document.addEventListener(“DOMContentLoaded”, function() { const tagElements = document.querySelectorAll(‘.colored-tag–bold’); tagElements.forEach(tagElement => { if (tagElement.textContent.trim() === “Event Ended”) { tagElement.textContent = “Closed for the season”; } }); });