From 9778fc214002aac8653c4396c3cb44cb0ef64aa5 Mon Sep 17 00:00:00 2001 From: NSavenije Date: Wed, 1 Dec 2021 15:10:02 +0100 Subject: [PATCH] adds warning on screen if there is no video. Only in english but better than nothing for now. --- .../Nottingham/models_html5/interactiveVideo.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/xerte/parent_templates/Nottingham/models_html5/interactiveVideo.html b/modules/xerte/parent_templates/Nottingham/models_html5/interactiveVideo.html index dc8eedaa07..f2ecf9815c 100644 --- a/modules/xerte/parent_templates/Nottingham/models_html5/interactiveVideo.html +++ b/modules/xerte/parent_templates/Nottingham/models_html5/interactiveVideo.html @@ -222,6 +222,9 @@ }); } } + else if (toResize) { // no media loaded + $("#panelHolder").html("No media was loaded."); + } $panelHolder.find(".panel .fullH").each(function() { interactiveVideo.resizeContent($(this));