diff --git a/public/js/app_movies.js b/public/js/app_movies.js index 5eced52..ddd1c43 100644 --- a/public/js/app_movies.js +++ b/public/js/app_movies.js @@ -423,17 +423,21 @@ window.addEventListener('DOMContentLoaded', async function () { if (time > 1) { if (duration && Number.isFinite(duration) && duration > 0) { const pct = Math.max(0, Math.min(100, (time / duration) * 100)); - progressHtml = ` -
-
- Reprendre à ${formatClock(time)} - ${pct.toFixed(0)}% + // Hide "resume/progress" once we're basically at the credits. + // Backend uses 95% as the "credit roll" threshold too. + if (pct < 95) { + progressHtml = ` +
+
+ Reprendre à ${formatClock(time)} + ${pct.toFixed(0)}% +
+
+
+
-
-
-
-
- `; + `; + } } else { progressHtml = `