Reelora docs
v1.1.0
Live demo Get help
● Set up · Browser

Web player.
The same service in the browser.

The web player (TypeScript + Vite, hls.js) has the same features as the app: home rails, the For you feed, the vertical player, the unlock sheet, rewards, the store with web checkout, My list and the account. The server serves it at /.

hls.jsReadable build outputStripe and PayPal on the webSix languages

01Build

Windows

Commands on this page are for macOS or Linux. On Windows, run them in WSL (Windows Subsystem for Linux) or Git Bash.

cd web && npm ci && npm run build

The build type-checks, writes web/dist/ and checks that no output line is longer than 500 characters (the output is pretty-printed, not minified). The server serves web/dist at /; nothing else needs hosting.

Web player series page at desktop width with episode grid and synopsis
Series page in the web player.

02Develop with live reload

cd web && npm run dev     # http://localhost:5173, proxies /api and /media to the server

The dev server forwards API calls to http://localhost:8080, or to the address in the REELORA_SERVER environment variable.

03Domain

The web player calls the API on its own origin (/api), so the simplest setup is the one domain that serves everything. If you want the web player on a separate domain, route /api, /media and /s on that domain to the server through your proxy. CORS_ORIGINS lists browser origins allowed to call the API from another domain.

04Web checkout

The web store sells the same coin packs and VIP passes as the apps, with an optional extra bonus on the web (set per pack in Console → Store). Stripe, PayPal and manual top-up are turned on in Console → Payments (Payments).

Web player unlock dialog showing the episode price and the viewer's balance
The unlock dialog in the browser: the price is shown before the click.

05Share pages

https://your-domain/s/<series-slug> serves a page with Open Graph tags (title, description, image) for rich previews in messengers and social networks, then forwards the browser to the series in the web player. With ?ep=3 it opens that episode.