diff --git a/applications/record/html/js/record.js b/applications/record/html/js/record.js index 39278e9..eaa0c6b 100644 --- a/applications/record/html/js/record.js +++ b/applications/record/html/js/record.js @@ -1,10 +1,10 @@ "use strict"; - // // record.js // -// Created by David Rowe on 5 Apr 2017. +// Created by David Rowe on April 5th, 2017. // Copyright 2017 High Fidelity, Inc. +// Copyright 2024, Overte e.V. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html @@ -289,5 +289,9 @@ function onBodyLoaded() { elFinishOnOpenLabel = document.getElementById("finish-on-open-label"); + var currentPath = window.location.protocol + "//" + window.location.host + window.location.pathname; + var ROOT = currentPath.replace("html/record.html", ""); //<=== Could be useful + document.getElementById("aCscriptUrl").value = ROOT + "playRecordingAC.js"; + signalBodyLoaded(); } diff --git a/applications/record/html/record.html b/applications/record/html/record.html index 810238a..ae4df7f 100644 --- a/applications/record/html/record.html +++ b/applications/record/html/record.html @@ -1,9 +1,10 @@