App can run in background and stream music from radio station.
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
+10
-1
@@ -3,13 +3,22 @@
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
|
||||
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; style-src 'self' 'unsafe-inline'; script-src 'self'" />
|
||||
<meta
|
||||
http-equiv="Content-Security-Policy"
|
||||
content="default-src 'self'; style-src 'self' 'unsafe-inline'; script-src 'self'; media-src 'self' https://kryz.out.airtime.pro"
|
||||
/>
|
||||
<title>kryz-go</title>
|
||||
<link rel="stylesheet" href="css/style.css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="app">
|
||||
<h1>kryz-go</h1>
|
||||
<p id="stream-status" aria-live="polite">Stream is stopped.</p>
|
||||
<div class="controls">
|
||||
<button id="start-stream" type="button">Start Stream</button>
|
||||
<button id="stop-stream" type="button" disabled>Stop Stream</button>
|
||||
</div>
|
||||
<audio id="stream-player" preload="none"></audio>
|
||||
</div>
|
||||
<script src="js/app.js"></script>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user