Repository navigation
fix(web): play series trailers to the end without the next-up screen - #3077
Merged
Quick104 merged 2 commits intoOct 26, 2026
Merged
Conversation
A trailer or other local extra that belongs to a series carries the series' id, so the watch page treated it as an episode: 30 seconds before the end it shrank the video into the corner and showed the next-up screen. The watch page now treats an item of type "extra" as outside the episode order. It plays to its end and returns to the page it was started from. Episodes keep their post-roll. Closes Silo-Server#3067
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
4 tasks done
Contributor
Contributor
There was a problem hiding this comment.
Actionable comments posted: 1

Review info
-
Run configuration-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: Organization UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
d329387d-b739-433d-be97-d984fe858f14
Files selected for processing: 2-
web/src/playback/WatchPlaybackChrome.endOfPlayback.test.tsxweb/src/playback/WatchPlaybackChrome.tsx
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 2 remain after this review.
-
A watch link opened directly carries no return location, so an ended series extra fell back to its own item page, which cannot render an extra. It now goes to its series page instead.
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
4 tasks done
4 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Closes #3067
Related issue: N/A
Validation tasks: none (the change reaches #1252 C9, which has not been run yet)
A local trailer or other extra that belongs to a series showed the episode post-roll on the web watch page. Thirty seconds before the end, the video shrank to the corner and a "You've finished " next-up screen covered the rest of the clip. On a 45-second trailer that is two thirds of it. Movie extras were not affected.
The server sends
series_idon a series-owned extra, and the watch page usedseries_idalone to decide that an item is an episode with a post-roll.Approach
The watch page now checks the item's
type. Anextrais kept out of the episode order even when it carries the series' id: it does not enter post-roll, does not load the series' episode list for next-episode navigation, and when it ends it goes back to the page it was started from, or to its series page when it was opened from a direct link, instead of/item/<extra id>, which renders "Unsupported item type: extra". Episodes and shuffles keep their post-roll.The fix stays on the client.
series_idon series extras is part of the watch payload and is used for series-level track preferences, so the server response is unchanged. Scaling the 30-second lead-in for short episodes, which the issue also suggests, is a separate change and is not included here.Validation
mainwith a synthetic series and a 45-second trailer in itstrailers/folder, played from the series page in headless Chromium at 1440 px and 390 px: seeking into the last 30 seconds put it into post-roll./watch/<trailer id>link and played to the end: lands on the series page, not the unsupported extra page (rechecked on a local build after the review fix).make test-web,pnpm run lint,pnpm run format:check,pnpm run build,pnpm run budget:check,make verify-local-paths,make verify-bidi,make verify-size-ratchet: pass.Evidence
Evidence: https://evidence.siloserver.org/r/silo-server/pr-3077/
Surface and build: web watch page, desktop 1440 px and phone 390 px, local build of
main(before) and this branch (after), same data.Risks
None identified. Only items the server marks
type: "extra"change behaviour.Checklist
AI Disclosure
Note
Play series extras to the end without the next-up screen in web playback
WatchPlaybackHostContent(WatchPlaybackChrome.tsx), items with type extra now get a separate owner-series identifier, and series episode loading and next-episode lookup exclude extras.WatchPlaybackHostContentmemo/callback dependencies if next-up behavior regresses for regular episodes.Macroscope summarized a989fb4.