-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Description
Hi! I'm trying to implement a Telegram-like floating video feature in my Compose Multiplatform app using this library.
The goal:
Video plays inside a LazyColumn item (circular video widget)
When user scrolls and the video goes out of view, it should seamlessly continue playing in a small floating widget (for example bottom-left corner of screen)
When scrolling back, video should return to the original position without restart or rebuffering
The problem:
LazyColumn destroys composables when they scroll out of view. I tried several approaches:
- Single VideoPlayerComposable positioned over the list (very complex and hacky solution)
- Two VideoPlayerComposable instances sharing one MediaPlayerHost → video restarts when switching between them
- movableContentOf → same issues as 1, very complex
Question:
Does your library support this kind of use case at all? Is it possible to keep video playback alive while moving between different UI containers?
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels