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