Persoenliche Mediazentrale
ulrich
2024-11-22 c259d990ad63b38140985ba6e25b5046dd767833
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';