feat: implement reel improvements (clean text, deletion, mobile TTS)

This commit is contained in:
Michael committed 2026-02-13 10:11:04 +01:00
1 parent cb0ff8a0ea
commit dbddf3a74e
895 files changed
+26890 -93267

No files matched your search

+8
View File
@@ -69,6 +69,14 @@ export default function NewReel() {
const [drawText, setDrawText] = useState(true);
const [stabilize, setStabilize] = useState(true); // default to true
// Enable TTS by default on mobile
useEffect(() => {
const isMobile = window.innerWidth < 768;
if (isMobile) {
setTtsEnabled(true);
}
}, []);
// État audio preview
const [isPlaying, setIsPlaying] = useState<string | null>(null);