Commit
This commit is contained in:
parent
e1e9c9e99b
commit
3debe1cf37
@ -25,6 +25,11 @@ http {
|
|||||||
|
|
||||||
error_page 404 /index.php;
|
error_page 404 /index.php;
|
||||||
|
|
||||||
|
location /radio/hbr1/trance.ogg {
|
||||||
|
proxy_pass http://radio.hbr1.com/stream/trance.ogg;
|
||||||
|
proxy_buffering off;
|
||||||
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
try_files $uri $uri/ /index.php?$query_string;
|
try_files $uri $uri/ /index.php?$query_string;
|
||||||
}
|
}
|
||||||
|
@ -15,7 +15,7 @@ function special_events(): string {
|
|||||||
<title><?=htmlspecialchars($title)?> - the Willy Club</title>
|
<title><?=htmlspecialchars($title)?> - the Willy Club</title>
|
||||||
<link rel="stylesheet" href="<?=url('/static/style/fonts.css')?>">
|
<link rel="stylesheet" href="<?=url('/static/style/fonts.css')?>">
|
||||||
<link rel="stylesheet" href="<?=url('/static/style/main.css')?>">
|
<link rel="stylesheet" href="<?=url('/static/style/main.css')?>">
|
||||||
<link rel="shortcut icon" href="<?=url('/static/img/3d-spinning-toilet-smiley-emoticon-small.gif')?>" type="image/x-icon">
|
<link rel="shortcut icon" href="<?=url('/static/img/wc.gif')?>" type="image/x-icon">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
@ -30,7 +30,7 @@ function special_events(): string {
|
|||||||
// some browsers (cough cough safari) dont like the live broadcast and so just keeps loading forever
|
// some browsers (cough cough safari) dont like the live broadcast and so just keeps loading forever
|
||||||
window.addEventListener('load', function () {
|
window.addEventListener('load', function () {
|
||||||
radio.innerHTML = `
|
radio.innerHTML = `
|
||||||
<audio controls autoplay preload="none"><source src="http://radio.hbr1.com/stream/trance.ogg" type="audio/ogg"></audio>
|
<audio controls autoplay preload="none"><source src="<?=url('/radio/hbr1/trance.ogg')?>?` + Date.now() + `" type="audio/ogg"></audio>
|
||||||
`;
|
`;
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user