forked from 77media/video-flow
跳转智能剪辑平台加userid
This commit is contained in:
parent
596e695a1d
commit
6c283f2d19
@ -480,7 +480,7 @@ export const MediaViewer = React.memo(function MediaViewer({
|
||||
</motion.div>
|
||||
|
||||
{/* 添加到chat去编辑 按钮 */}
|
||||
<Tooltip title="Add to chat to edit">
|
||||
<Tooltip title="Edit video with chat">
|
||||
<Button
|
||||
className="absolute top-4 left-4 z-[21] bg-white/10 backdrop-blur-sm border border-white/20 text-white"
|
||||
onClick={() => {
|
||||
|
||||
@ -404,7 +404,7 @@ export function TaskInfo({
|
||||
|
||||
{/* 跳转剪辑按钮 */}
|
||||
{showGotoCutButton && (
|
||||
<Tooltip placement="top" title='Go to Smart Cut'>
|
||||
<Tooltip placement="top" title='AI-powered editing platform'>
|
||||
<GlassIconButton icon={Scissors} size='sm' onClick={onGotoCut} />
|
||||
</Tooltip>
|
||||
)}
|
||||
|
||||
@ -114,8 +114,8 @@ export function useWorkflowData() {
|
||||
}, [taskObject.currentStage]);
|
||||
|
||||
const generateEditPlan = useCallback(async () => {
|
||||
await getGenerateEditPlan({ project_id: episodeId });
|
||||
window.open(`https://smartcut.huiying.video/ai-editor/${episodeId}?token=${token}&userid=${useid}`, '_self');
|
||||
// await getGenerateEditPlan({ project_id: episodeId });
|
||||
window.open(`https://smartcut.huiying.video/ai-editor/${episodeId}?token=${token}&user_id=${useid}`, '_blank');
|
||||
}, [episodeId]);
|
||||
|
||||
// useEffect(() => {
|
||||
@ -160,7 +160,7 @@ export function useWorkflowData() {
|
||||
if (taskObject.videos.total_count > realTaskResultData.length) {
|
||||
loadingText.current = LOADING_TEXT_MAP.video(realTaskResultData.length, taskObject.videos.total_count);
|
||||
} else {
|
||||
loadingText.current = LOADING_TEXT_MAP.postProduction('generating rough cut video...');
|
||||
loadingText.current = LOADING_TEXT_MAP.postProduction('AI-powered video editing in progress…');
|
||||
}
|
||||
}
|
||||
if (taskObject.currentStage === 'final_video') {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user