mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-10-03 05:43:50 +02:00
Implement @mediabunny/prores extension, add onError callbacks to custom coders, fix visibleRect bug in VideoSample
This commit is contained in:
@@ -25,6 +25,8 @@ export default defineConfig({
|
||||
path.resolve(__dirname, './packages/aac-encoder/dist/bundles/mediabunny-aac-encoder.mjs'),
|
||||
'@mediabunny/flac-encoder':
|
||||
path.resolve(__dirname, './packages/flac-encoder/dist/bundles/mediabunny-flac-encoder.mjs'),
|
||||
'@mediabunny/prores':
|
||||
path.resolve(__dirname, './packages/prores/dist/bundles/mediabunny-prores.mjs'),
|
||||
},
|
||||
},
|
||||
plugins: [
|
||||
@@ -33,6 +35,10 @@ export default defineConfig({
|
||||
server: {
|
||||
hmr: false,
|
||||
allowedHosts: true,
|
||||
headers: {
|
||||
'Cross-Origin-Opener-Policy': 'same-origin',
|
||||
'Cross-Origin-Embedder-Policy': 'require-corp',
|
||||
},
|
||||
},
|
||||
build: {
|
||||
outDir: 'dist-docs', // Build them directly into the docs build folder
|
||||
|
||||
Reference in New Issue
Block a user