@mux/mux-player-astro
v3.10.2
Published
An open source Mux player for Astro that Just Works™
Downloads
2,181
Readme
Introduction
<MuxPlayer /> is a Mux-flavored Astro video player component, built on top of our mux-player web component and Media Chrome.
Installation
npm install @mux/mux-player-astroor
yarn add @mux/mux-player-astroUsage
Basic Usage
---
import { MuxPlayer } from '@mux/mux-player-astro';
---
<MuxPlayer
playbackId="DS00Spx1CV902MCtPj5WknGlR102V5HFkDe"
metadata={{
video_title: 'Big Buck Bunny',
viewer_user_id: 'user-id-1234',
}}
/>Docs
Docs and guides live on docs.mux.com.
API reference lives on Github.
