《登泰山记》是一部电影
四百四十八字,被很多同学当成“流水账”。换一种读法——{SHOT_NAMES.join('、')},五个镜头对应全文五段:读懂它的结构,也就背下了它。全片约 {Math.round(DURATION / 60)} 分钟,画面、配乐与音效均在网页中实时生成。
快捷键:空格 播放/暂停,← → 快退/快进 5 秒。手机竖屏观看请切换“竖屏 9:16”。
// 主页面 import { useEffect, useState } from 'react' import PlayerView from './PlayerView' import ExportPanel from './ExportPanel' import PublishPanel from './PublishPanel' import CoverPanel from './CoverPanel' import { Section, Toaster } from './ui' import { loadFonts } from '../video/fonts' import { DURATION, SHOT_NAMES } from '../video/timeline' const NAV = [ ['watch', '观看'], ['export', '导出 MP4'], ['publish', '发布文案'], ['cover', '封面'], ] as const export default function Studio() { const [ready, setReady] = useState(false) const [orient, setOrient] = useState<'l' | 'p'>('l') useEffect(() => { if (window.innerWidth < 768 && window.innerHeight > window.innerWidth) setOrient('p') loadFonts().then(() => setReady(true)) }, []) return (
四百四十八字,被很多同学当成“流水账”。换一种读法——{SHOT_NAMES.join('、')},五个镜头对应全文五段:读懂它的结构,也就背下了它。全片约 {Math.round(DURATION / 60)} 分钟,画面、配乐与音效均在网页中实时生成。
快捷键:空格 播放/暂停,← → 快退/快进 5 秒。手机竖屏观看请切换“竖屏 9:16”。