Info.style.right = '-25px';
            modalInfo.style.left = 'auto';
        }
        video.src = src
    }

    window.onclick = (event) => {
        if (event.target === modal || event.target == downloadModal) closeModals()
    };

    function openDownloadModal() {
        downloadModal.style.display = "flex";
        requestAnimationFrame(() => {
            downloadModal.classList.add("active");
        });
    }
</script>
{% endblock %}
{% block content %}{% endblock %}
{% block footer %}
{{ super(