Skip to content
Snippets Groups Projects
Commit 14cb29cc authored by Lukas Joisten's avatar Lukas Joisten
Browse files

quick fix for ITC adjustments in streaming server

parent 7a097581
Branches
No related tags found
No related merge requests found
if (window.location.host === 'engage.streaming.rwth-aachen.de') { 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‽') console.warn('looks like we are running outside a player context‽')
const inFrame = (window.parent !== window) const inFrame = (window.parent !== window)
......
{ {
"manifest_version": 2, "manifest_version": 2,
"name": "OpenExcellenceMedia", "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.", "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", "homepage_url": "https://git.fsmpi.rwth-aachen.de/moodleOpenCastDownloads/ff-ext",
"icons": { "icons": {
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
"content_scripts": [ "content_scripts": [
{ {
"all_frames": true, "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"], "js": ["free.js"],
"css": ["free.css"] "css": ["free.css"]
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment