Commit Graph

16 Commits

Author SHA1 Message Date
Nikita
3509b91c08 Add ProfileSidebar component for user profile display and update route to use it 2025-12-24 23:36:11 -08:00
Nikita
797311eeba Improve VideoPlayer event handling and streamline viewer count sync
- Add a `callReady` function to ensure `onReady` is called only once
- Attach `canplay` event listener for native HLS support to trigger `onReady`
- Call `onReady` immediately after manifest parsing for HLS streams
- Simplify `useStreamViewers` hook to skip viewer count sync for user "nikiv"
- Silently handle errors during viewer count synchronization to avoid unnecessary logs
2025-12-24 19:54:00 -08:00
Nikita
e4a15b9c29 Add LiveNowSidebar component for live status notification and integrate it into relevant pages 2025-12-24 19:19:25 -08:00
Nikita
3141241626 Improve VideoPlayer to notify when ready and update StreamPage to handle player readiness and connection state 2025-12-24 19:06:58 -08:00
Nikita
cf4a43779e Implement setup task for worker admin environment and add new database schema and snapshot files 2025-12-24 16:31:01 -08:00
Nikita
26fa0b0ec9 Add URL management schema, route, and related updates for URLs feature 2025-12-24 15:10:38 -08:00
Nikita
9233104381 Implement soft fullscreen mode with timeout handling in VideoPlayer component; update fullscreen state management and styling accordingly. 2025-12-23 14:25:07 -08:00
Nikita
15b92cc16b Improve fullscreen support for CloudflareStreamPlayer and VideoPlayer components
- Add missing `webkitallowfullscreen` attribute in CloudflareStreamPlayer
- Enhance VideoPlayer to detect iOS devices and use `webkitEnterFullscreen` when available
- Adjust fullscreen state setting to account for WebKit-specific fullscreen elements
2025-12-23 14:07:53 -08:00
Nikita
4a6b510a5e Update production setup docs with new Spotify secret; enhance video components for fullscreen handling; add Spotify now-playing API module. 2025-12-23 13:54:34 -08:00
Nikita
244aa9324a Add cross-browser fullscreen handling and event listeners to VideoPlayer component 2025-12-23 12:31:55 -08:00
Nikita
93bd99f9ed Implement WebRTC URL resolution and update stream playback logic across components and API routes 2025-12-23 11:32:08 -08:00
Nikita
f45c28f941 fix: remove obsolete commit checkpoints file; update WebRTCPlayer for error handling; improve stream fallback logic in StreamPage 2025-12-22 11:47:17 -08:00
Nikita
01102c6817 Add WebRTC playback support: implement WebRTCPlayer component, update schema, database, playback types, and API endpoints to handle webrtc_url field and streaming logic 2025-12-21 18:34:06 -08:00
Nikita
f188310411 Add real-time viewer count component and integrate it into stream page; update presence tracking logic with Jazz. 2025-12-21 15:12:32 -08:00
Nikita
103a4ba19c feat: Add Cloudflare StreamPlayer component and update schema with billing and access control
- Introduced `CloudflareStreamPlayer` React component for embedding streams
- Updated `package.json` with new dependencies: `@cloudflare/stream-react` and `stripe`
- Extended database schema with user tiers, Stripe billing, storage, and archive management
- Added access control logic in `access.ts` for user tiers and feature permissions
- Enhanced billing logic with archive storage limits and subscription checks
2025-12-21 14:56:30 -08:00
Nikita
8cd4b943a5 . 2025-12-21 13:37:19 -08:00