Mux Player features not (directly) in Media Chrome (but could be!) #372
Replies: 5 comments 3 replies
-
Super helpful! 🎉 Finishing up Stream Type here (just the live vs. on-demand part of it).
This feels pretty out of scope of media chrome. The implication of that is a player that wants to configure the media element differently based on stream type or latency desired will need to get that state another way. In Mux Player it looks like we're just using it to configure latency (aside from the other bullet points). Are there any UI impacts when low latency is desired?
It looks like in Mux player we only do this for the play-button. Is there any reason this shouldn't also happen on a media element click gesture? i.e. is this a global setting or a play button setting. I'm assuming the former and maybe both. |
Beta Was this translation helpful? Give feedback.
-
Relates to Stream Type - Proposal |
Beta Was this translation helpful? Give feedback.
-
Relates to #382 NOTE: Relies on assumption that a slotted media element's |
Beta Was this translation helpful? Give feedback.
-
Relates to #382 NOTE: This implementation uses a hard-coded offset value for computing the "live edge window" expediency. A more reliable/accurate implementation would require a Media UI Extension that allowed the slotted media element to advertise what that value should be, based on details of the manifest or playlists in question (e.g. low latency vs. "standard" live, segment durations, etc.) |
Beta Was this translation helpful? Give feedback.
-
Relates to #382 NOTE: Since the indicator relies on "Is Live Edge" to toggle the live edge indication and enable/disable button functionality, see "Is Live Edge" callout above on its current, simplified implementation. |
Beta Was this translation helpful? Give feedback.
-
(currently omitting themes and themes-related discussion such as breakpoints/player-size, automatic/well-defined export parts, well defined css vars with well defined semantics for component display, etc. Also currently omitting planned but currently unsupported features such as state management for timed metadata, multiple subtitles/CC, and rendition selection. For either of these, we can can add them to the list if centralization helps)
State Modeling and Functionality
Stream Type
mediaplayrequest
behavior to also seek to live for live content (See also: §Seek To Live, below)Is Live Edge
Seek To Live
media-play-button
dispatches amediaplayrequest
to also seek to live for any live/DVR media contentErrors
props.dialog
object and values is derived from errors)Shift Subtitle/CC Cues When Controls Are Showing
user-inactive
andpaused
)Components & Related Architecture
(Error) Dialog
isDialogOpen
)Live Indicator/Button
Beta Was this translation helpful? Give feedback.
All reactions