forked from Furumi/furumi-web
Play podcast episodes in the web player
Episodes in the queue are no longer skipped. The player asks the podcast API for the audio source and the resume position, plays the publisher URL (or the same-origin proxy when the administrator enabled it and the direct URL fails or is http:// on an https:// page) and seeks before it starts, so it never reports a resumed episode that plays from elsewhere: a server that cannot seek to the saved position shows that and keeps the position until the user plays from the start. Progress follows the contract: Play starts a listening session as an explicit action above the handed-off generation, checkpoints go out every 20 s and on pause, a seek is an explicit action, the end of the stream completes the episode, and a stop, a page hide (beacon) or a handoff saves the final position. Writes of a session run one after another in the background; a superseded session stops writing, and a device that loses the playback role ends its session without a report. Reports always carry the position of their own episode. Jam placeholders stay unplayable and episodes stay private for Jam rules. A podcasts store holds the list, the podcast page and the explicit episode actions for the UI of the next commit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
2c551c5b71
commit
3ebfc45abb
4 files changed
+1566
-64
No files matched your search
+914
-14
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user