https://github.com/videosdk-live/videosdk-vod-react-api-example
This code sample demonstrates a Video SDK "Video On Demand API" using react js.
https://github.com/videosdk-live/videosdk-vod-react-api-example
encoding-videos hls sdk video video-encoding video-on-demand
Last synced: about 2 months ago
JSON representation
This code sample demonstrates a Video SDK "Video On Demand API" using react js.
- Host: GitHub
- URL: https://github.com/videosdk-live/videosdk-vod-react-api-example
- Owner: videosdk-live
- Created: 2021-07-26T09:26:58.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-01-17T11:25:44.000Z (over 4 years ago)
- Last Synced: 2026-01-01T19:37:19.823Z (6 months ago)
- Topics: encoding-videos, hls, sdk, video, video-encoding, video-on-demand
- Language: JavaScript
- Homepage: https://docs.videosdk.live/docs/video-on-demand/intro
- Size: 490 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Video SDK video on demand react api example
This code sample demonstrates [Video SDK Video On Demand API](https://docs.videosdk.live/docs/guide/video-on-demand/getting-started) using react.js.
- Built for serverless video on demand experience.
- Convert video from 240p to 4k.
- 98% device support.
- Low latecncy across the globe.
- Built for scale
- Adaptive video streaming
## Features
- [x] Upload large video files
- [x] Get video metadata in milliseconds.
- [x] Instant video encoding from 240p to 4k
- [x] Support multiple file and compression formats
- [x] Generate HD thumbnail images from video files.
- [x] Get notified when encoding is finished.
- [ ] protected video streaming
- [ ] 360 video support
- [ ] Embeded video players
## Prerequisites
You must have the following installed:
- Node.js
- NPM
## Getting started
1. Run the authentication server
Follow [videosdk-rtc-nodejs-sdk-example](https://github.com/videosdk-live/videosdk-rtc-nodejs-sdk-example) to run authentication server.
2. Clone the repo
```sh
git clone https://github.com/videosdk-live/videosdk-vod-react-api-example.git
```
3. Copy the `.env.example` file to `.env` file.
```sh
cp .env.example .env
```
4. Update the api server url in the `.env` file that points to the authentication server.
```
REACT_APP_SERVER_API="http://localhost:9000"
```
5. Install NPM packages
```sh
npm install
```
6. Run the app
```sh
npm run start
```
For more information, visit [official documentation](https://docs.videosdk.live/docs/guide/video-on-demand/getting-started)