mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-12 20:16:15 -08:00
fix(playback): show the Up next card near the real end of an episode
The card appeared a fixed 8 minutes before the end: most of a short episode, and far into the story of a long one, with no way to hide it. - Adaptive lead: 4% of the episode, clamped to 40 s … 3 min. - A closing-credits chapter in the last third, when timeline segments carry one, brings the card forward to its start (capped at 5 min). - Close button and Escape dismiss the card for the current next episode. - After 10 s (not while hovered) the card collapses into a one-line pill. - Seconds countdown in the last minute. - New playback setting "Up next card" (default on) turns it off. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
388fa9e29d
commit
5f6e8b037f
43 files changed
+707
-107
No files matched your search
@@ -52,6 +52,14 @@ export const PLAYBACK_SETTINGS_SEARCH_ENTRIES: readonly SettingsSearchEntry[] =
|
||||
keywords: ['up next', 'next episode', 'autoplay'],
|
||||
fallbackId: 'video-player',
|
||||
},
|
||||
{
|
||||
id: 'player-up-next-card',
|
||||
section: 'playback',
|
||||
labelKey: 'SETTINGS.PLAYER_UP_NEXT_CARD',
|
||||
descriptionKey: 'SETTINGS.PLAYER_UP_NEXT_CARD_DESCRIPTION',
|
||||
keywords: ['up next', 'next episode', 'credits', 'popup'],
|
||||
fallbackId: 'video-player',
|
||||
},
|
||||
{
|
||||
id: 'fullscreen-channel-panel',
|
||||
section: 'playback',
|
||||
|
||||
Reference in new issue
Block a user