diff --git a/static/js/app.js b/static/js/app.js index e01dee1..7e0cb3f 100644 --- a/static/js/app.js +++ b/static/js/app.js @@ -67,15 +67,6 @@ function escapeHtml(str) { function playStation(url, name, stationId) { stopPlayback(false); - // HTTP stream on HTTPS page: the custom /radio/stream-player/ is also HTTPS, - // so the browser still blocks the HTTP audio (mixed content upgrade → HTTPS fails). - // Opening the raw HTTP URL directly navigates the tab to HTTP itself — - // no mixed-content restriction, browser plays it natively. - if (location.protocol === 'https:' && url.startsWith('http://')) { - window.open(url, '_blank'); - return; - } - currentStation = { url, name, id: stationId || null }; isPlaying = true;