Replies: 3 comments 2 replies
-
@shrugs thanks for the feedback! there is a undocumented moving this issue to discussion (idea) because we might want to expose a getter for |
Beta Was this translation helpful? Give feedback.
-
ah thanks i keep forgetting discussions are a thing. i'll definitely use that _hls handle then! it could be neat to have a "live" prop on the element that ensures this behavior |
Beta Was this translation helpful? Give feedback.
-
I ended up switching to a "always playing (initially muted), never pausable" mechanic with the new react player and don't explicitly need this feature anymore, but could be a nice library improvement |
Beta Was this translation helpful? Give feedback.
-
Context
I'm trying to ensure that the user is always playing the latest of an
ll-live
stream, and to do so i'd like to seek to the hls live position as the playback core code does whenever the user pauses the stream, but this requires a handle to the playback engine, which the react bindings don't provide.https://github.com/muxinc/elements/blob/main/packages/playback-core/src/autoplay.ts#L107
Feature Request
the react bindings should include a handle to the playback engine so that i can write code like
Beta Was this translation helpful? Give feedback.
All reactions