muxinc / next-video

The easiest way to add video in your Nextjs app.
https://next-video.dev
MIT License
853 stars 32 forks source link

Switch player to Media Chrome + smart media element selection #292

Open mmcc opened 2 months ago

mmcc commented 2 months ago

When we first added the direct player export, we used Mux Player for simplicity since that was our current player. However, it's kind of a weird fit given the ability to add non-Mux sources via other providers.

We've got an opportunity to do interesting stuff there between Media Chrome, Player.style, and smart selection of Media Element based on what's provided.

i.e., it an mp4 is provided, just use MC + the video tag, but if a DASH src is used, use the MC + dash-player, etc.