From 510101a2c2d1a5f2e9f9b404f37e54695ef2b257 Mon Sep 17 00:00:00 2001 From: Eli Mallon Date: Mon, 1 Jun 2026 20:46:40 -0700 Subject: [PATCH] web: frontend-redirect at:// video links to //video/ resolveAtUriNavigation handled authority + livestream at:// URIs but let place.stream.video fall through to the home 'not found' branch. Map it to the VodPlayerDemo route so react-navigation rewrites the URL to the canonical //video/ VOD path. Co-Authored-By: Claude Opus 4.8 --- js/app/src/linking-config.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/js/app/src/linking-config.ts b/js/app/src/linking-config.ts index e43c3f6df..334c7cd6c 100644 --- a/js/app/src/linking-config.ts +++ b/js/app/src/linking-config.ts @@ -58,6 +58,18 @@ function resolveAtUriNavigation( }, ], }; + } else if (atUri.collection === "place.stream.video" && atUri.rkey) { + // A video record: redirect to the canonical VOD player URL + // (//video/). react-navigation rewrites the address bar + // to that path. + return { + routes: [ + { + name: "VodPlayerDemo", + params: { user: atUri.authority, tid: atUri.rkey }, + }, + ], + }; } else { // otherwise, redirect to home page and do a 'could not find' return { -- 2.51.2