Skip to content

Sample Node Project for Streaming Video (backend, frontend both included)

Notifications You must be signed in to change notification settings

Noverish/Node-Video-Streaming

Repository files navigation

Node Video Streaming (Sample Project)

Sample project which streaming video using Node.js and HTML 5 Video Tag

Demo

main.gif

Try with Docker

  1. Run docker container
$ docker run -d \
    -p 8080:80 \
    -v "/path/of/video/folder:/archive" \
    noverish/node-video-streaming
  1. Access to localhost:8080

  2. Enter password 123456789

  3. [Additional] Override users.json to your container if you want to manage users

$ docker run -d \
    -p 8080:80 \
    -v "/path/of/video/folder:/archive" \
    -v "/path/to/users.json:/app/assets/users.json" \
    noverish/node-video-streaming

Feature

  • Auto convert smi, srt subtitle file to vtt file
  • User control through login with jwt
  • Skip video for next of previous 10 seconds
  • Access logging

Used

  • Typescript
  • Video.js
  • Express, ejs
  • JSON Web Token

Todo

  • Logout
  • Prevent brute force attack

About

Sample Node Project for Streaming Video (backend, frontend both included)

Resources

Stars

Watchers

Forks

Packages

No packages published