From a89f972afa3ff4188ddfcc653f3605df7a835eb7 Mon Sep 17 00:00:00 2001 From: vrubelroman Date: Fri, 25 Sep 2026 11:06:33 +0000 Subject: [PATCH] Add seek controls to the player MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - '−10s/+10s' buttons under the player for both modes: local video seeks directly, the YouTube embed now uses the official IFrame Player API (nocookie host, playsinline) with a plain-iframe fallback if the API fails to load. - Double-tap left/right halves of the local player to seek ±10s with a transient indicator (announced via role=status). --- .../2026-09-18-local-player-double-tap.md | 88 ++++++ frontend/src/App.css | 24 +- frontend/src/components/Player.tsx | 259 +++++++++++++++++- 3 files changed, 357 insertions(+), 14 deletions(-) create mode 100644 analytics/2026-09-18-local-player-double-tap.md diff --git a/analytics/2026-09-18-local-player-double-tap.md b/analytics/2026-09-18-local-player-double-tap.md new file mode 100644 index 0000000..e3ff9f8 --- /dev/null +++ b/analytics/2026-09-18-local-player-double-tap.md @@ -0,0 +1,88 @@ +# Перемотка ±10 сек в плеере: кнопки на обеих ветках + двойной тап в локальном плеере + +## Задача + +В локальном плеере (ветка `