mirror of
https://github.com/KubaPro010/fm-dx-webserver.git
synced 2026-07-30 00:39:16 +02:00
89 lines
2.3 KiB
Plaintext
89 lines
2.3 KiB
Plaintext
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>FM-DX Webserver (Audio)</title>
|
|
<link rel="icon" type="image/svg+xml" href="favicon.svg" id="favicon" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<link href="css/libs/jquery-ui.min.css" type="text/css" rel="stylesheet">
|
|
<script src="js/libs/jquery.min.js"></script>
|
|
<script src="js/libs/jquery-ui.min.js"></script>
|
|
<script src="js/3las/util/3las.helpers.js"></script>
|
|
<script src="js/3las/util/3las.logging.js"></script>
|
|
<script src="js/3las/fallback/3las.liveaudioplayer.js"></script>
|
|
<script src="js/3las/fallback/3las.formatreader.js"></script>
|
|
<script src="js/3las/fallback/formats/3las.formatreader.mpeg.js"></script>
|
|
<script src="js/3las/fallback/formats/3las.formatreader.wav.js"></script>
|
|
<script src="js/3las/util/3las.websocketclient.js"></script>
|
|
<script src="js/3las/fallback/3las.fallback.js"></script>
|
|
<script src="js/3las/3las.js"></script>
|
|
<script src="js/audio.js"></script>
|
|
<script src="js/rtc-audio.js"></script>
|
|
<style>
|
|
* {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
body {
|
|
background-color: #111;
|
|
color: #eee;
|
|
font-family: sans-serif;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 100vh;
|
|
gap: 20px;
|
|
}
|
|
|
|
.playbutton {
|
|
background-color: #222;
|
|
color: #eee;
|
|
border: 1px solid #444;
|
|
padding: 10px 24px;
|
|
border-radius: 6px;
|
|
font-size: 16px;
|
|
cursor: pointer;
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
.playbutton:hover {
|
|
background-color: #333;
|
|
}
|
|
|
|
.playbutton:active {
|
|
background-color: #444;
|
|
}
|
|
|
|
#volumeSlider {
|
|
width: 100%;
|
|
max-width: 800px;
|
|
accent-color: #4af;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.fmdx-webrtc-playbutton-host .fmdx-webrtc-playbutton {
|
|
background-color: #222;
|
|
color: #eee;
|
|
height: auto !important;
|
|
min-height: unset !important;
|
|
padding: 10px 24px !important;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="hide-phone">
|
|
<div class="panel-10">
|
|
<button class="playbutton">
|
|
<i class="fa fa-play"></i>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
|
|
<input type="range" id="volumeSlider" min="0" max="1" step="0.001" value="1">
|
|
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css">
|
|
</body>
|
|
</html> |