From 4d16fb3576e60a2a5da6f7bfe396a555010dfa79 Mon Sep 17 00:00:00 2001 From: ulrich Date: Fri, 22 Nov 2024 18:32:35 +0000 Subject: [PATCH] Buildscript und readme angepasst. --- www/js/app.js | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/www/js/app.js b/www/js/app.js index bb65b97..fafbd3d 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -620,15 +620,12 @@ //const titelElem = new Audio(titel); self.audioElem = new Audio(titelUrl); self.audioElem.addEventListener("ended", self.nextTrack); - self.audioCtx = new (window.AudioContext || window.webkitAudioContext)(); - const track = self.audioCtx.createMediaElementSource(self.audioElem); - track.connect(self.audioCtx.destination); self.audioElem.play(); - self.playState = 'play'; + self.playState = 'play'; } }); }; - + this.getTitelFromJSONObj = function(titelObj) { //const audioElements = document.querySelectorAll('.entity-eintrag'); const host = 'http://' + window.location.host + '/tango'; -- Gitblit v1.9.3