Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 1.57 KB

README.md

File metadata and controls

44 lines (30 loc) · 1.57 KB

<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.