diff --git a/client/src/pages/mobile/new-reel.tsx b/client/src/pages/mobile/new-reel.tsx index 77e6173..4c0f6f7 100644 --- a/client/src/pages/mobile/new-reel.tsx +++ b/client/src/pages/mobile/new-reel.tsx @@ -58,7 +58,6 @@ export default function MobileNewReel() { // État TTS const [ttsEnabled, setTtsEnabled] = useState(false); - const [ttsVoice, setTtsVoice] = useState("fr-FR-VivienneMultilingualNeural"); // État audio preview const [isPlaying, setIsPlaying] = useState(null); @@ -83,14 +82,14 @@ export default function MobileNewReel() { const timer = setTimeout(() => { apiRequest('POST', '/api/reels/sync-info', { text: overlayText, - voice: ttsVoice, + voice: "fr-FR-VivienneMultilingualNeural", }) .then(r => r.json()) .then(data => setSyncInfo(data)) .catch(() => setSyncInfo(null)); }, 800); return () => clearTimeout(timer); - }, [overlayText, ttsVoice, ttsEnabled]); + }, [overlayText, ttsEnabled]); const { data: pages = [] } = useQuery({ @@ -231,7 +230,6 @@ export default function MobileNewReel() { stabilize: stabilize, drawText: true, ttsEnabled, - ttsVoice, enableEndingEffect, }); }; @@ -448,33 +446,9 @@ export default function MobileNewReel() { {ttsEnabled && (
-