mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Video streaming
This commit is contained in:
parent
ea31d5c0f1
commit
28f65e699e
2 changed files with 68 additions and 0 deletions
25
views/stuff/video.ejs
Normal file
25
views/stuff/video.ejs
Normal file
|
@ -0,0 +1,25 @@
|
|||
<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;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<center>
|
||||
<h2>
|
||||
<%= fname %>
|
||||
</h2>
|
||||
<video id="videoPlayer" controls muted="muted" autoplay>
|
||||
<source src="http://localhost:8080<%= path %>?stream=true" type="video/mp4">
|
||||
</video>
|
||||
</center>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue