Feature (mux-player): Ability to refresh player when asset has been updatet #710
marcelfahle
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey! I often run into situations where an asset has been updated (eg when a subtitle track has been added), that I would like the player to reload the asset/playback_id to reflect those updates without doing a page refresh. I'm sure there's some undocumented way of doing this somewhere, but I can't figure it out.
For giggles, what I'm currently doing:
In a Phoenix LiveView application, when I receive the
video.asset.updated
(orvideo.asset.track.ready
) event, I set the player to a playback_id of a loading screen video, and then, after 500ms or so, back to the previous playback ID. It's not elegant, but does the job right now.. Are there better ideas?Thank you 🙂
Beta Was this translation helpful? Give feedback.
All reactions