@mux/mux-player
TypeScript icon, indicating that this package has built-in type declarations

2.5.0 • Public • Published

<mux-player>

Downloads Version License

New release: 2.0

Mux Player has recently released 2.0. See the [https://github.com/muxinc/elements/blob/packages/mux-player/UPGRADING_V1_to_V2.md and the blog post announcement.

Introduction

<mux-player> is the official Mux-flavored video player web component.

The player UI is built on Media Chrome and <mux-video> drives the core video logic used to play Mux Video content.

Installation

npm install @mux/mux-player

or

yarn add @mux/mux-player

Usage

<mux-player
  playback-id="DS00Spx1CV902MCtPj5WknGlR102V5HFkDe"
  metadata-video-title="Big Buck Bunny"
  metadata-viewer-user-id="user-id-1234"
></mux-player>

Docs

Docs and guides live on docs.mux.com.

API reference lives on Github.

Package Sidebar

Install

npm i @mux/mux-player

Weekly Downloads

66,899

Version

2.5.0

License

MIT

Unpacked Size

2.99 MB

Total Files

50

Last publish

Collaborators

  • mux-npmjs