Add displaying the radio station name parameter
This commit is contained in:
@@ -6,8 +6,9 @@
|
||||
const statusEl = document.getElementById('status');
|
||||
const metaEl = document.getElementById('meta');
|
||||
const streamUrlEl = document.getElementById('streamUrl');
|
||||
const nomStation = document.getElementById('nomStation');
|
||||
|
||||
//streamUrlEl.textContent = ICECAST_URL;
|
||||
nomStation.innerHTML = nomStationRadio;
|
||||
audio.src = ICECAST_URL;
|
||||
audio.crossOrigin = "anonymous"; // utile si vous souhaitez analyser l'audio plus tard
|
||||
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
ICECAST_URL = ""; // Url complète comprenant port et point de montage
|
||||
nomStationRadio = ""; Nom de votre station affiché au-dessus du player
|
||||
@@ -15,7 +15,7 @@
|
||||
</head>
|
||||
<body>
|
||||
<table width="100%">
|
||||
<tr><td width="25%">
|
||||
<tr><td width="25%"><span id="nomStation" style="text-align: center; font-weight: bold;">MA RADIO SUR LE WEB</span>
|
||||
<div class="player" id="player">
|
||||
<div class="header">
|
||||
<div class="controls">
|
||||
|
||||
Reference in New Issue
Block a user