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 {