Live video on the AT Protocol

add danmu back to router, modify docs a bit for new settings

+18 -3
+12
js/app/src/router.tsx
··· 85 85 useNotificationToken, 86 86 useUserProfile, 87 87 } from "store/hooks"; 88 + import DanmuOBSScreen from "./screens/danmu-obs"; 88 89 import MobileGoLive from "./screens/mobile-go-live"; 89 90 import MobileStream from "./screens/mobile-stream"; 90 91 ··· 135 136 Embed: { user: string }; 136 137 InfoWidgetEmbed: undefined; 137 138 LegacyStream: { user: string }; 139 + DanmuOBS: { user: string }; 138 140 MobileGoLive: undefined; 139 141 }; 140 142 ··· 182 184 Embed: "embed/:user", 183 185 InfoWidgetEmbed: "info-widget", 184 186 LegacyStream: "legacy/:user", 187 + DanmuOBS: "widgets/:user/danmu", 185 188 MobileGoLive: "mobile-golive", 186 189 }, 187 190 }, ··· 619 622 <Drawer.Screen 620 623 name="InfoWidgetEmbed" 621 624 component={InfoWidgetEmbed} 625 + options={{ 626 + drawerLabel: () => null, 627 + drawerItemStyle: { display: "none" }, 628 + headerShown: false, 629 + }} 630 + /> 631 + <Drawer.Screen 632 + name="DanmuOBS" 633 + component={DanmuOBSScreen} 622 634 options={{ 623 635 drawerLabel: () => null, 624 636 drawerItemStyle: { display: "none" },
+6 -3
js/docs/src/content/docs/features/danmu.md
··· 3 3 description: Add flying bullet-style chat comments to the player, or your stream 4 4 --- 5 5 6 + :::note This feature is experimental and may change in future releases. ::: 7 + 6 8 [Danmu (or Danmaku)](https://en.wikipedia.org/wiki/Danmaku_subtitling) (弹幕, 7 9 "bullet curtain") is a comment style where messages fly across the video 8 10 horizontally. Originating from Niconico and Bilibili, it's a fun way to display ··· 20 22 In-player danmu is currently an experimental feature. To unlock it: 21 23 22 24 1. Open Settings in Streamplace 23 - 2. Tap the version number 5 times 24 - 3. You'll see "You are now a developer". congrats! 25 - 4. Scroll down to see the Danmu settings 25 + 2. Enter the "About" section 26 + 3. Tap the version number 5 times 27 + 4. You'll see "You are now a developer". congrats! 28 + 5. Go back to Settings, you should now see a "Danmu" section! 26 29 27 30 From there you can: 28 31