Skip to content

🎥 Make videos programmatically with React

Rename video matting action button

JonnyBurgera58b7250b854
diff --git a/packages/example/e2e/transcription-modal.test.mts b/packages/example/e2e/transcription-modal.test.mts
index 0715494253..8f79c6a0b3 100644
--- a/packages/example/e2e/transcription-modal.test.mts
+++ b/packages/example/e2e/transcription-modal.test.mts
@@ -61,6 +61,9 @@ test.describe('transcription modal', () => {
name: 'Track matting vp8-vorbis.webm',
});
await expect(mattingDialog.getByTitle('Model')).toContainText('modnet');
+ await expect(
+ mattingDialog.getByRole('button', {name: 'Separate'}),
+ ).toBeVisible();
await expect(
mattingDialog.getByRole('textbox', {name: 'Base video output file'}),
).toHaveValue(
diff --git a/packages/studio/src/components/VideoMatting/VideoMattingModal.tsx b/packages/studio/src/components/VideoMatting/VideoMattingModal.tsx
index 2b5dfb9e52..f879e9816f 100644
--- a/packages/studio/src/components/VideoMatting/VideoMattingModal.tsx
+++ b/packages/studio/src/components/VideoMatting/VideoMattingModal.tsx
@@ -257,7 +257,7 @@ export const VideoMattingModal: React.FC<VideoMattingModalState> = ({
: BLUE_DISABLED,
}}
>
- Track matting
+ Separate
</Button>
</div>
<div style={panelStyle} className={VERTICAL_SCROLLBAR_CLASSNAME}>