diff --git a/RELEASE.rst b/RELEASE.rst index 08431e95c0..5c4736a2c9 100644 --- a/RELEASE.rst +++ b/RELEASE.rst @@ -1,6 +1,11 @@ Release Notes ============= +Version 0.55.8 +-------------- + +- hardcode allowing to embed videos from ovs (#2987) + Version 0.55.7 (Released February 26, 2026) -------------- diff --git a/frontends/main/src/page-components/TiptapEditor/extensions/node/MediaEmbed/lib.ts b/frontends/main/src/page-components/TiptapEditor/extensions/node/MediaEmbed/lib.ts index 5a7e8dbe2d..3a4d2f6f54 100644 --- a/frontends/main/src/page-components/TiptapEditor/extensions/node/MediaEmbed/lib.ts +++ b/frontends/main/src/page-components/TiptapEditor/extensions/node/MediaEmbed/lib.ts @@ -44,6 +44,11 @@ export function convertToEmbedUrl(url: string): string | null { return id ? `https://player.vimeo.com/video/${id}` : null } + // --- ODL VIDEO EMBED --- + if (hostname === "video.odl.mit.edu") { + return url + } + // Not a supported video platform return null } diff --git a/main/settings.py b/main/settings.py index 076a798d67..6c14163428 100644 --- a/main/settings.py +++ b/main/settings.py @@ -34,7 +34,7 @@ from main.settings_pluggy import * # noqa: F403 from openapi.settings_spectacular import open_spectacular_settings -VERSION = "0.55.7" +VERSION = "0.55.8" log = logging.getLogger()