Add a readme, make it easier to install

This commit is contained in:
2026-07-13 13:10:10 +02:00
parent 3c9e850f31
commit 14dca7405e
8 changed files with 406 additions and 78 deletions
-5
View File
@@ -221,14 +221,9 @@ function PlayerExample({
autoplay={true}
showNotification={true}
subtitleAssets={{
// The worker is bundled by webpack; only the wasm binaries and the
// fallback font are self-hosted (see webpack devServer.static).
jassub: {
wasmUrl: "/jassub/jassub-worker.wasm",
modernWasmUrl: "/jassub/jassub-worker-modern.wasm",
fontUrl: "/jassub/default.woff2",
},
pgs: { workerUrl: "/pgs/libpgs.worker.js" },
}}
/>