Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
inventionpro authored Nov 8, 2023
1 parent afda04b commit db47274
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ <h3>Player <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" style="
withCredentials: true,
});
evtSource.onmessage = (event) => {
document.getElementById('NP').innerHTML = event.data.streamTitle
document.getElementById('NP').innerHTML = JSON.parse(event.data).streamTitle
};
</script>
<br><br>
Expand Down

0 comments on commit db47274

Please sign in to comment.