Skip to content

Fix broken homepage links and YouTube embed (Error 153)#59

Merged
brooke-hamilton merged 2 commits into
mainfrom
brooke-hamilton-fix-broken-links
Jun 19, 2026
Merged

Fix broken homepage links and YouTube embed (Error 153)#59
brooke-hamilton merged 2 commits into
mainfrom
brooke-hamilton-fix-broken-links

Conversation

@brooke-hamilton

@brooke-hamilton brooke-hamilton commented Jun 19, 2026

Copy link
Copy Markdown
Member

Fixes broken homepage items found while link-testing https://radapp.io with Playwright.

1. Broken concepts/application-graph links (content/_index.md)

The docs concepts/ section was restructured and concepts/application-graph no longer exists (404). Updated both "Learn More" buttons to /concepts/applications/, which now documents the application graph (it has a dedicated "The application graph" section). Verified HTTP 200.

Old URL (404) New URL (200)
https://docs.radapp.io/concepts/application-graph https://docs.radapp.io/concepts/applications/
https://docs.radapp.io/concepts/application-graph https://docs.radapp.io/concepts/applications/

(These two links are on buttons with enable: false, so they aren't rendered on the live site, but the broken URLs were still in source.)

2. YouTube embed "Error 153 – Video player configuration error" (themes/bigspring-light/layouts/index.html)

The homepage "Learn more about Radius" video failed to load with Error 153. Root cause: the site sends Referrer-Policy: same-origin, which strips the referrer on cross-origin requests, so the YouTube player can't verify the embedding origin and refuses to play.

Fix: add referrerpolicy="strict-origin-when-cross-origin" to the embed iframe (the same value YouTube uses in its own oEmbed embed code), which overrides the document policy for that frame so the player receives the origin.

Reproduced the error and verified the fix loads the video correctly before/after the change.

Verification

Crawled all 3 pages in the radapp.io sitemap (/, /categories/, /tags/) and validated all 21 unique links — including every outbound docs.radapp.io link — all return HTTP 200.

Closes #58

@github-actions

github-actions Bot commented Jun 19, 2026

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

The docs concepts/ section was restructured and concepts/application-graph no longer exists (404). Point the two disabled 'Learn More' buttons to concepts/applications/, which now documents the application graph.

The Infrastructure Recipes link was already fixed on main in #57.

Fixes #58

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Brooke Hamilton <45323234+brooke-hamilton@users.noreply.github.com>
@brooke-hamilton brooke-hamilton force-pushed the brooke-hamilton-fix-broken-links branch from 08df290 to 7cd52f3 Compare June 19, 2026 18:54
@brooke-hamilton brooke-hamilton changed the title Fix broken links on homepage to removed docs pages Fix broken application-graph links on homepage Jun 19, 2026
@brooke-hamilton brooke-hamilton enabled auto-merge (squash) June 19, 2026 18:55
The site sends Referrer-Policy: same-origin, which strips the referrer on cross-origin requests. Without a referrer, the YouTube player cannot verify the embedding origin and fails with 'Error 153 - Video player configuration error'.

Set referrerpolicy=strict-origin-when-cross-origin on the iframe (the same value YouTube uses in its oEmbed embed code) so the player receives the origin and loads correctly. Verified with a reproduction that the embed loads after the change.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Brooke Hamilton <45323234+brooke-hamilton@users.noreply.github.com>
@brooke-hamilton brooke-hamilton changed the title Fix broken application-graph links on homepage Fix broken homepage links and YouTube embed (Error 153) Jun 19, 2026
@brooke-hamilton brooke-hamilton requested a review from Copilot June 19, 2026 19:12

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request fixes issues uncovered by automated link testing of the radapp.io homepage by updating two stale docs URLs in homepage content and adjusting the homepage YouTube iframe embed so it functions correctly under a restrictive Referrer-Policy.

Changes:

  • Update two disabled “Learn More” button links from the removed concepts/application-graph docs page to /concepts/applications/.
  • Add referrerpolicy="strict-origin-when-cross-origin" to the homepage YouTube embed iframe to prevent “Error 153” when the site uses Referrer-Policy: same-origin.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
themes/bigspring-light/layouts/index.html Adds referrerpolicy to the YouTube embed iframe in the screenshot section to fix playback under restrictive referrer headers.
content/_index.md Updates two homepage content links to the new docs location for application graph documentation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@DariuszPorowski DariuszPorowski self-requested a review June 19, 2026 19:21
@brooke-hamilton brooke-hamilton merged commit 85bccc6 into main Jun 19, 2026
7 checks passed
@brooke-hamilton brooke-hamilton deleted the brooke-hamilton-fix-broken-links branch June 19, 2026 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Broken links on radapp.io homepage point to removed docs pages

3 participants