From 95e4358b01e3a34ea653ec47660b2110fb534e0b Mon Sep 17 00:00:00 2001 From: Bruno Charest Date: Sat, 26 Sep 2026 10:22:11 -0400 Subject: [PATCH] feat(watch): suivi transcript reel sur embeds YouTube MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - ecoute des events du player via postMessage (listening -> onReady/infoDelivery/onStateChange), extrapolation du temps entre events, fige a la pause; surlignage + autoscroll actifs aussi en embed - seek: ancre l'estimation sur la destination (pas de saut visuel) - toggle Suivi: saut immediat au passage en cours + intitulés explicites; (load) iframe pour (re)abonnement; reset par video --- src/components/watch/watch.component.html | 5 +- src/components/watch/watch.component.ts | 97 ++++++++++++++++++++++- 2 files changed, 97 insertions(+), 5 deletions(-) diff --git a/src/components/watch/watch.component.html b/src/components/watch/watch.component.html index cda1cf0..7d7b294 100644 --- a/src/components/watch/watch.component.html +++ b/src/components/watch/watch.component.html @@ -8,7 +8,7 @@
@if (embedUrl(); as src) { - @@ -400,7 +400,8 @@ } @if (transcriptAvailable() && transcriptLines().length > 0) { -