feat: Add dual-server controls and richer structured metadata to view templates#53
Merged
justinhartman merged 1 commit intomainfrom Oct 15, 2025
Merged
feat: Add dual-server controls and richer structured metadata to view templates#53justinhartman merged 1 commit intomainfrom
justinhartman merged 1 commit intomainfrom
Conversation
… templates - `views/view.ejs:1` introduces hasMultiServer, adds season/episode badge for series headers, attaches id="player" to both iframe variants, and surfaces a server-toggle button next to Home/Watchlist when a second embed is available. - `views/partials/series-buttons.ejs:28` swaps the middle button to a toggle that flips between server URLs when server2Src is present, falling back to Watchlist otherwise. - `views/partials/footer.ejs:2` wires a lightweight script that listens for toggle clicks and swaps the player iframe src while updating the button label and state. - `views/partials/meta/og-view.ejs:13` now emits a video:series meta tag to better describe episodic content. - `views/partials/ld/view.ejs:1` restructures JSON-LD generation to safely hydrate Movie, TVSeries, or TVEpisode schemas with normalised person lists, canonical URLs, and aggregate ratings only when data is present.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
views/view.ejs:1introduces hasMultiServer, adds season/episode badge for series headers, attaches id="player" to both iframe variants, and surfaces a server-toggle button next to Home/Watchlist when a second embed is available.views/partials/series-buttons.ejs:28swaps the middle button to a toggle that flips between server URLs when server2Src is present, falling back to Watchlist otherwise.views/partials/footer.ejs:2wires a lightweight script that listens for toggle clicks and swaps the player iframe src while updating the button label and state.views/partials/meta/og-view.ejs:13now emits a video:series meta tag to better describe episodic content.views/partials/ld/view.ejs:1restructures JSON-LD generation to safely hydrate Movie, TVSeries, or TVEpisode schemas with normalised person lists, canonical URLs, and aggregate ratings only when data is present.