Add a script that builds the demo as a static site #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/demo-site"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
npm run build:sitecopies the demo page, the library (without the encoder) and the film intosite/, ready for any static host. It also writes a_headersfile that caches the parts for a month and revalidates the manifests. A film insite/film/portrait/andsite/film/landscape/gets one per orientation; otherwise it copiesdemo/film.This is how the live demo at scrollfilm.lucianonery.dev is built, with an excerpt of the Residenza Vela film. Tested on the Galaxy A14: WebGL2, all 855 frames, no page errors.