Added video streaming and sample file
Added bigbuck.mp4, the sample file Install nodemon module for streaming Modified index.html to contain the video, and changed the title Modified index.js to add /video dir for the video streaming
This commit is contained in:
@@ -3,10 +3,14 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Socket Thing1</title>
|
||||
<title>Client</title>
|
||||
</head>
|
||||
<body>
|
||||
Client page!
|
||||
<br/>
|
||||
<video id="videoPlayer" width="650" controls disablePictureInPicture controlsList="nodownload" autoplay>
|
||||
<source src="/video" type="video/mp4" />
|
||||
</video>
|
||||
</body>
|
||||
<script>
|
||||
// Create WebSocket connection.
|
||||
|
||||
Reference in New Issue
Block a user