v1.6.0
libbitsub v1.6.0
Changes
- Add WebGL2 renderer support.
- [Breaking Change] Remove
preferWebGPUOption fromVideoSubtitleOptions, Renderer will be handled automatically.
REMINDER: Update your web worker files.
# For Next.js, Vite, or similar frameworks
mkdir -p public/libbitsub
cp node_modules/libbitsub/pkg/libbitsub_bg.wasm public/libbitsub/
cp node_modules/libbitsub/pkg/libbitsub.js public/libbitsub/Installation
npm / bun
npm install libbitsub
# or
bun add libbitsubJSR (Deno)
deno add jsr:@altq/libbitsub