mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Added audio page
This commit is contained in:
parent
b8316bb989
commit
ef827ee7b4
1 changed files with 32 additions and 0 deletions
32
views/stuff/audio.ejs
Normal file
32
views/stuff/audio.ejs
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
|
||||||
|
<html>
|
||||||
|
|
||||||
|
<body bgcolor="#212127">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<title><%= fname %></title>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=0.6" />
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
|
font: normal 14px Verdana;
|
||||||
|
color: #999999;
|
||||||
|
}
|
||||||
|
video {
|
||||||
|
width: 100%
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<center>
|
||||||
|
<h2>
|
||||||
|
<%= fname %>
|
||||||
|
</h2>
|
||||||
|
<audio id="audioPlayer" controls style="width:100%">
|
||||||
|
<source src="<%= url %><%= path %>?stream=true" type=<%= contentType %>>
|
||||||
|
</audio>
|
||||||
|
</center>
|
||||||
|
</body>
|
||||||
|
<script>
|
||||||
|
console.log('a')
|
||||||
|
</script>
|
||||||
|
</html>
|
Loading…
Add table
Add a link
Reference in a new issue