diff --git a/src/screens/Playback/RecordPlayback.web.js b/src/screens/Playback/RecordPlayback.web.js index 2183ac0..8ef8d9d 100644 --- a/src/screens/Playback/RecordPlayback.web.js +++ b/src/screens/Playback/RecordPlayback.web.js @@ -26,6 +26,7 @@ import CreateLyricsHeader from "../Writing/components/CreateLyricsHeader"; const TIME_BEFORE_INCREMENT_MS = 20000; const LOG_PREFIX = "[RecordPlayback.web]"; +const WEB_PREVIEW_WIDTH = 360; const toSeconds = (v) => { const n = Number(v ?? 0); @@ -709,7 +710,8 @@ const RecordPlayback = ({ route }) => { { const total = Math.max(0, Math.floor(Number(s || 0))); @@ -24,6 +25,8 @@ const toSeconds = (value) => { return n > 10000 ? n / 1000 : n; // heuristique ms → s }; +const WEB_PREVIEW_WIDTH = 360; + const RecordedPlayback = ({ route }) => { const { videoUri, project } = route.params || {}; const songUrl = project?.songUrl || null; @@ -156,11 +159,14 @@ const RecordedPlayback = ({ route }) => { {videoUri ? ( { storagePath: `users/${currentUID}/projects/${project.id}/playback.mp4`, }; - console.log("[DownloadSongs] calling upload-mergeVideoAndAudio", payload); + console.log( + "[DownloadSongs] calling upload-mergeVideoAndAudio", + payload + ); const { data: result } = await callable(payload); @@ -186,7 +189,7 @@ const DownloadSongs = ({ route }) => { }} > { /> - Prêt à télécharger{" "} - {action === "playback" ? "ton Playback" : "ta chanson"} ? + Prêt à télécharger + {action === "playback" ? " ton Playback" : " ta chanson"} ?