r("DOMContentLoaded", () => {
            if ("IntersectionObserver" in window) {
                const observer = new IntersectionObserver((entries, obs) => {
                    entries.forEach(entry => {
                        if (entry.isIntersecting) {
                            // Get video from the specific container being observed
                            const video = entry.target.querySelector("video");

                            // Load video only if it hasn't been loaded yet
             