Skip to content

Latest commit

 

History

History
46 lines (29 loc) · 759 Bytes

README.md

File metadata and controls

46 lines (29 loc) · 759 Bytes

nodejs-streaming

Video streaming using nodejs

Requirements

  1. Node
  2. Express

Setup

  1. Clone the repo:
$ git clone https://github.com/brunovalenga/nodejs-straming.git
$ cd nodejs-streaming
  1. Install dependencies (npm v3+):

$ npm install


3. **Create directory:**

```shell
$ mkdir movies (Linux, OXS and Windows)
  1. Edit index.html:

Edit the file index.html in directory of the project and edit the attribute src

<video src="/movies/1.mp4" controls width="640" height="480"></video>
  1. Running:
$ node app.js