Every new release of Mux Player is be posted here with release notes
storyboard-src
attribute and corresponding prop<mux-player>
web component to receive any Mux Data metadata-*
fields, beyond metadata-video-title
, metdata-video-id
and metadata-viewer-user-id
, now things like metadata-sub-property-id
and any other Mux Data fields can be passed with this syntax. Note the muxPlayer.metadata = { video_title: "My Title", sub_property_id: "Sub prop 123" }
syntax also still works.playback-id
are now correctly passed in playback core.disable-cookies
attribute and disableCookies
property.experimental-cmcd
attribute and experimentalCmcd
property for headers-based CMCD usage.mux-player-react
seekable
property to the APIplaybackRate
for mux-player-react
--media-object-fit
and --media-object-position
to mux-video
poster
by setting it to an empty stringprefer-mse
with prefer-playback
for more controlplayback-id
is unsetc
)iframe
usage)audio
UI height bugscrossOrigin
and playsInline
usage while respecting defaults/availability.HTMLVideoElement
type expectations, even on initializationplayback-id
preload
property supporttitle
property bugCSS.registerProperty
on vars to declare them as colors for better resilience/fallbackcurrentTime
proptertiaryColor
propvideo
CSS part for styling the <video>
element--controls-backdrop-color
CSS var to allow changing the backdrop colorv1.2.3
start-time
attribute now works on iOSnohotkeys
attribute to turn off keyboard shortcuts.defaultMuted
and defaultPlaybackRate
properties.textTracks
property, addTextTrack()
and removeTextTrack()
methods.mux-player
.mux-player
tests.@mux
NPM scope. Please update @mux/mux-player
references to @mux/mux-player
as of 0.1.0-beta.21
.audio
attributeplayback-token
attribute)commonjs
import files to cjs.js. This fixes some build systems that rely on the cjs.js extensionthumbnail-time
optional attribute that can be used to set the poster image thumbnail (if you're not using signing tokens)mux-player
, if mux-player JavaScript was loaded after your HTML, events wouldn't get registered. Sorry about that -- fixed now. And we have tests to make sure we don't accidentally introduce a regression down the road..hls
property on mux-player
is super-secret and should not be used unless you are a serious professional. We make no guarantee and your warranty is void if you use this property. To reflect this stance, it has been renamed to _hls
.mjs
so that Webpack 4 is happyprimary-color
attribute so that it is used for all controls, both icons + text. Previously it was only being applied to icon colorsFirst beta tag release 🎉
autoplay
, autoplay="muted"
and autoplay="any"
are all options now. See docs above for details.env-key
to be passed in (Mux Data will infer environment based on the PlaybackID)