Update index.html
Browse files- index.html +2 -2
index.html
CHANGED
|
@@ -210,7 +210,7 @@ lumin("query", "username", "logic", true)
|
|
| 210 |
fetchStats();
|
| 211 |
</script>
|
| 212 |
<audio id="myAudio" controls loop>
|
| 213 |
-
<source src="
|
| 214 |
Your browser does not support the audio element.
|
| 215 |
</audio>
|
| 216 |
<script>
|
|
@@ -224,7 +224,7 @@ lumin("query", "username", "logic", true)
|
|
| 224 |
.then(blob => {
|
| 225 |
const audioUrl = URL.createObjectURL(blob);
|
| 226 |
const myAudio = document.getElementById('myAudio');
|
| 227 |
-
myAudio.
|
| 228 |
})
|
| 229 |
.catch(error => {
|
| 230 |
console.error('There was a problem fetching the MP3 file:', error);
|
|
|
|
| 210 |
fetchStats();
|
| 211 |
</script>
|
| 212 |
<audio id="myAudio" controls loop>
|
| 213 |
+
<source src="" type="audio/mpeg">
|
| 214 |
Your browser does not support the audio element.
|
| 215 |
</audio>
|
| 216 |
<script>
|
|
|
|
| 224 |
.then(blob => {
|
| 225 |
const audioUrl = URL.createObjectURL(blob);
|
| 226 |
const myAudio = document.getElementById('myAudio');
|
| 227 |
+
myAudio.src = audioUrl; // Set src property instead of srcObject
|
| 228 |
})
|
| 229 |
.catch(error => {
|
| 230 |
console.error('There was a problem fetching the MP3 file:', error);
|