Add browser examples
This commit is contained in:
@@ -1,5 +1,14 @@
|
||||
Browser Examples
|
||||
==================
|
||||
# Browser Examples
|
||||
|
||||
## Setup
|
||||
|
||||
You need to download assets from npm before running the examples:
|
||||
|
||||
```bash
|
||||
$ npm run download
|
||||
```
|
||||
|
||||
## Run
|
||||
|
||||
To run this example, execute:
|
||||
|
||||
@@ -7,16 +16,13 @@ To run this example, execute:
|
||||
$ npm start
|
||||
```
|
||||
|
||||
Visit http://localhost:3000/examples/browser/transcode.html
|
||||
Visit http://localhost:8080 to check avaiable examples.
|
||||
|
||||
## Examples
|
||||
|
||||
Web Worker Examples
|
||||
==================
|
||||
|
||||
To run the webworker example, execute:
|
||||
|
||||
```
|
||||
$ npm run start:worker
|
||||
```
|
||||
|
||||
Visit http://localhost:3000/examples/browser/transcode.worker.html
|
||||
| Example | Description |
|
||||
| ------- | ----------- |
|
||||
| transcode.html | Transcoding example |
|
||||
| transcode.esm.html | Transcoding example using module |
|
||||
| trim.html | Video trimming exmple |
|
||||
| concatDemuxer.html | Video concat exmple |
|
||||
|
||||
Reference in New Issue
Block a user