'Hier spielen' berichtigt
1 files added
2 files modified
New file |
| | |
| | | { |
| | | "short_name": "Tango" |
| | | "name": "Tango" |
| | | "display": "minimal-ui" |
| | | } |
| | |
| | | <link rel="stylesheet" type="text/css" href="app-menu.css"> |
| | | <link rel="stylesheet" type="text/css" href="hamburger.css"> |
| | | <link rel="stylesheet" type="text/css" href="app.css"> |
| | | <link rel="manifest" href="/app.webmanifest" /> |
| | | </head> |
| | | <body> |
| | | <!-- Kopfzeile --> |
| | |
| | | Hier erscheint der Media-Inhalt. |
| | | </p> |
| | | </div> |
| | | <!-- <audio id="audio-player" controls="true"></audio> --> |
| | | </div> |
| | | <!-- Einblendbereich unten --> |
| | | <div class="dialog-unten"></div> |
| | |
| | | //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'; |
| | | } |