Add player functionality with HLS support and API integration
- Implemented a new Player class in player.js to handle audio playback, including HLS support using hls.js. - Created a shared API module in api.js for making HTTP requests with proper error handling. - Added DOM utility functions in dom.js for creating and clearing elements. - Introduced WebSocket connection handling in ws.js for real-time updates. - Developed a comprehensive CSS stylesheet for styling the application, including a high-contrast theme.
This commit is contained in:
14
server/public/index.html
Normal file
14
server/public/index.html
Normal file
@@ -0,0 +1,14 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=1080, initial-scale=1, maximum-scale=1, user-scalable=no" />
|
||||
<title>Radio Kiosk</title>
|
||||
|
||||
<script type="module" crossorigin src="/assets/kiosk-DBnbAN5w.js"></script>
|
||||
<link rel="modulepreload" crossorigin href="/assets/dom-BZgKDOeX.js">
|
||||
<link rel="stylesheet" crossorigin href="/assets/kiosk-CL6_kPws.css">
|
||||
</head>
|
||||
<body class="kiosk">
|
||||
<div id="app"></div>
|
||||
|
||||
Reference in New Issue
Block a user