diff --git a/index.html b/index.html index 542ef37..7c467b1 100644 --- a/index.html +++ b/index.html @@ -710,8 +710,14 @@ function openVideo(id) { const ex = exercises.find(e => e.id === id); + const videoUrl = ex.video.replace('/embed/', '/watch?v='); document.getElementById('modal-title').textContent = ex.name; - document.getElementById('modal-video').innerHTML = ''; + document.getElementById('modal-video').innerHTML = + '
Если видео не загружается, открой на YouTube:
' + + '▶ Открыть на YouTube' + + '