From 14cb29ccb7847653f57497805f7b757acd79e14e Mon Sep 17 00:00:00 2001 From: Lukas Joisten <lukas.joisten@rwth-aachen.de> Date: Wed, 30 Oct 2024 19:00:34 +0100 Subject: [PATCH] quick fix for ITC adjustments in streaming server --- free.js | 2 +- manifest.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/free.js b/free.js index f9bcbff..9e7aaef 100644 --- a/free.js +++ b/free.js @@ -1,5 +1,5 @@ if (window.location.host === 'engage.streaming.rwth-aachen.de') { - if (!window.location.href.startsWith('https://engage.streaming.rwth-aachen.de/paella/ui/watch.html')) + if (!window.location.href.startsWith('https://engage.streaming.rwth-aachen.de/paella/ui/watch.html') || !window.location.href.startsWith('https://engage.streaming.rwth-aachen.de/paella7/ui/watch.html')) console.warn('looks like we are running outside a player context‽') const inFrame = (window.parent !== window) diff --git a/manifest.json b/manifest.json index 767a54e..512c04b 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "name": "OpenExcellenceMedia", - "version": "0.0.3", + "version": "0.0.4", "description": "Adds download links to videos on RWTH moodle which are served using an OpenCast iframe.", "homepage_url": "https://git.fsmpi.rwth-aachen.de/moodleOpenCastDownloads/ff-ext", "icons": { @@ -15,7 +15,7 @@ "content_scripts": [ { "all_frames": true, - "matches": ["https://moodle.rwth-aachen.de/*", "https://engage.streaming.rwth-aachen.de/paella/ui/*"], + "matches": ["https://moodle.rwth-aachen.de/*", "https://engage.streaming.rwth-aachen.de/*"], "js": ["free.js"], "css": ["free.css"] } -- GitLab