Get answers to common questions about Mux Player
Mux Player is designed with the Mux Platform in mind. Being tightly coupled with Mux Video is what enables features like timeline hover previews, and those sweet, descriptive errors in Mux Data.
Not yet, but we'd love to hear more about what you want out of this type of Mux Player integration experience. Please reach out!
The media.nativeEl
property is a reference to the underlying video element. You can use this to access the video element's properties and methods.
<MuxPlayer
playbackId="EcHgOK9coz5K4rjSwOkoE7Y7O01201YMIC200RI6lNxnhs"
ref={(muxPlayerEl) => console.log(muxPlayerEl.media.nativeEl)}
metadata={{
video_id: "video-id-54321",
video_title: "Test video title",
viewer_user_id: "user-id-007",
}}
/>
Yes, we have public beta SDKs for iOS and Android. If you're building directly in Swift/Objective-C or Kotlin/Java then you can use these SDKs directly. If you're building with Flutter or React Native you will need to bridge these native SDKs into your framework.
Please leave us some feedback and we'll be in touch!
Mux Player is built with Web Components. Web Components is a native browserAPI for defining custom HTML tags that can be used in the DOM. Mux Player is built on top of Media Chrome and the Mux Video HTML element. You can think of it like this:
Mux Player package targets ES2019, if you're targeting an older JavaScript runtime Mux Player might not be compatible with your build setup.
Mux Player supports the most recent versions of evergreen browsers on desktop and mobile. Evergreen browsers are the modern browsers that are automatically updated:
Mux Player is fully written in TypeScript version 4.5. If you are on an older version of TypeScript (pre-4.0), you will likely have to upgrade your TypeScript package in order to get the TypeScript benefits.