1
0

npm testing

This commit is contained in:
Aiden
2026-06-10 11:03:43 +10:00
parent 7265842deb
commit fd82e1666f
3 changed files with 873 additions and 3 deletions

View File

@@ -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
```