Every new release of Mux Player for web is posted here with release notes
proudly-display-mux-badge
attributeaddChapters
and addCuepoints
now have correct TypeScript method typesaddChapters()
API'use client'
to components for better out of box functionality with Next.JSdisable-tracking
/ disableTracking
attribute / property to disable Mux Data trackingforward-seek-offset
/ forwardSeekOffset
+ backward-seek-offset
/ backwardSeekOffset
attributes / properties now also update keyboard hotkeys offsetstarget-live-window="NaN"
attribute sproutingextra-source-params
/ extraSourceParams
attribute / property for advanced usagedefault-duration
/ defaultDuration
before media loads_hlsConfig
property to media elements and playback coreselectmenu
for the new themeaccent-color
gets set properlygerwig
🎉
No functional breaking changes, only visual changestitle
will be used by Mux Data as video_title
if not overridden by explicit metadata0.ts
segment. See issue #688v1.4.1
.currentPdt
and getStartDate()
)0
in mux-player-react
.minimal
and microvideo
theme exports.mux-player-react
.player_error_context
to get better error grouping.--dialog
and --loading-indicator
CSS vars.v1.4.0-beta.2
.max-resolution
attribute on mux-player and mux-video.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)