This commit is contained in:
ct
2025-07-03 23:07:16 +08:00
parent b337db2a2c
commit 239b74fd5a
5 changed files with 97 additions and 1 deletions

View File

@@ -22,6 +22,10 @@ const EditorControls = ({ className = '', onEditClick = () => {}, isEditActive =
emitter.emit('video-open-download-modal');
};
const handleAIButton = () => {
emitter.emit('open-ai-editor-sheet');
};
const togglePlayPause = () => {
if (videoIsPlaying) {
handleReset();
@@ -62,7 +66,7 @@ const EditorControls = ({ className = '', onEditClick = () => {}, isEditActive =
<Share2 className="h-8 w-8" />
</Button> */}
<Button variant="outline" size="icon" className="font-display h-12 w-12 rounded-full border font-bold shadow-sm">
<Button onClick={handleAIButton} variant="outline" size="icon" className="font-display h-12 w-12 rounded-full border font-bold shadow-sm">
AI
</Button>