Add alpha option to Conversion API

This commit is contained in:
Vanilagy
2025-09-26 11:12:48 +02:00
parent d708df9a2c
commit 1b8e4f9f4b
4 changed files with 126 additions and 2 deletions
+3 -1
View File
@@ -24,7 +24,7 @@
chunked: true,
chunkSize: 2**20
});
const outputFormat = new Mediabunny.Mp3OutputFormat({});
const outputFormat = new Mediabunny.WebMOutputFormat({});
const button = document.createElement('button');
button.textContent = 'Cancel';
@@ -92,6 +92,8 @@
},
*/
video: () => ({
alpha: 'keep',
width: 320,
//discard: true,
//discard: true,
//crop: {