Video server and timestamp #45

Merged
quoije merged 8 commits from cursor/video-server-and-timestamp-fc01 into 2026-video.backend 2025-12-22 01:50:21 -05:00
quoije commented 2025-12-22 00:25:29 -05:00 (Migrated from github.com)

Add a new Python video server for streaming and fix inconsistent video playback progress saving.

The playback progress saving was made consistent and reliable by storing whole-second timestamps, handling rare database upsert conflicts with client-side retries, and aligning JWT and video session cookie lifetimes to prevent silent progress loss during long watches. The player now also warns the user if their session expires mid-playback.


Open in Cursor Open in Web

Add a new Python video server for streaming and fix inconsistent video playback progress saving. The playback progress saving was made consistent and reliable by storing whole-second timestamps, handling rare database upsert conflicts with client-side retries, and aligning JWT and video session cookie lifetimes to prevent silent progress loss during long watches. The player now also warns the user if their session expires mid-playback. --- <a href="https://cursor.com/background-agent?bcId=bc-e3a36fb7-1a8b-4853-9ca5-dfe1d2cd7c93"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/open-in-cursor-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/open-in-cursor-light.svg"><img alt="Open in Cursor" src="https://cursor.com/open-in-cursor.svg"></picture></a>&nbsp;<a href="https://cursor.com/agents?id=bc-e3a36fb7-1a8b-4853-9ca5-dfe1d2cd7c93"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/open-in-web-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/open-in-web-light.svg"><img alt="Open in Web" src="https://cursor.com/open-in-web.svg"></picture></a>
cursor[bot] commented 2025-12-22 00:25:30 -05:00 (Migrated from github.com)

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

Cursor Agent can help with this pull request. Just `@cursor` in comments and I'll start working on changes in this branch. <sub>[Learn more](https://cursor.com/docs/background-agent/web-and-mobile) about Cursor Agents</sub>
Sign in to join this conversation.