From 4bb9020bba8a95bed0c667040fcc99e5630ba75e Mon Sep 17 00:00:00 2001 From: Oliver Tacke Date: Wed, 18 Dec 2024 18:16:53 +0100 Subject: [PATCH] HFP-4174 Allow Panopto videos from self-hosted Panopto instances --- scripts/h5peditor-av.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/h5peditor-av.js b/scripts/h5peditor-av.js index faf8bd80..e0b9f275 100644 --- a/scripts/h5peditor-av.js +++ b/scripts/h5peditor-av.js @@ -1134,7 +1134,7 @@ H5PEditor.widgets.video = H5PEditor.widgets.audio = H5PEditor.AV = (function ($) }, { name: 'Panopto', - regexp: /^[^\/]+:\/\/([^\/]*panopto\.[^\/]+)\/Panopto\/.+\?id=(.+)$/i, + regexp: /^[^\/]+:\/\/([^\/]+)\/Panopto\/.+\?id=(.+)$/i, aspectRatio: '16:9', }, {