Skip to content

fix: replace animated webview playback with mp4 pipeline#588

Merged
everpcpc merged 2 commits intomainfrom
codex/animated-video-preview-fix
Mar 1, 2026
Merged

fix: replace animated webview playback with mp4 pipeline#588
everpcpc merged 2 commits intomainfrom
codex/animated-video-preview-fix

Conversation

@everpcpc
Copy link
Copy Markdown
Owner

@everpcpc everpcpc commented Mar 1, 2026

Summary

  • Replace animated page playback from WebView overlays to native inline video playback using GIF/WebP to MP4 transcoding.
  • Remove autoplay/manual playback controls from settings and reader UI; default animated pages to automatic playback.
  • Keep animated sidecar outputs next to source files, add loading feedback before video is ready, and simplify playback state handling.
  • Ensure transcoding runs serially (one active transcode at a time) and add detailed debug logs for queue/reuse/encode/finalize stages.
  • Simplify animated preview loading to use direct platform image loading for first-frame placeholders.

Testing

  • make format
  • make build

everpcpc added 2 commits March 1, 2026 22:51
Switch animated page rendering from webview overlays to native inline AVPlayer playback backed by GIF/WebP to MP4 transcoding. Remove autoplay/manual playback toggles and related UI controls, default to automatic playback, and show loading indicators while playback media is preparing.

Align reader paths (scroll and curl/native) to the new playback flow, simplify playback state handling, and keep sidecar video outputs next to source images. Improve transcoder diagnostics and ensure one transcode runs at a time through actor-serialized execution.
@everpcpc everpcpc merged commit 1fb4ae1 into main Mar 1, 2026
3 checks passed
@everpcpc everpcpc deleted the codex/animated-video-preview-fix branch March 1, 2026 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant