forked from EXT/VR180-Web-Player
npm testing
This commit is contained in:
@@ -45,11 +45,20 @@ When the page loads, the video is embedded normally with a play button over the
|
||||
## Demo
|
||||
Run `npm run build`, then open this repository's `index.html` through a local web server and switch `data-projection` between `vr180` and `plane` to test both modes.
|
||||
|
||||
For local experimentation, run:
|
||||
|
||||
```sh
|
||||
npm run dev
|
||||
```
|
||||
|
||||
This builds the TypeScript player once, then serves `index.html` with Vite at a local URL.
|
||||
|
||||
## Development
|
||||
The player source is TypeScript in `src/vr180player/`. Generated JavaScript files in `vr180player/` are ignored by git so CI/CD can build and publish them from source.
|
||||
|
||||
```sh
|
||||
npm install
|
||||
npm run dev
|
||||
npm run build
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user