playerx icon indicating copy to clipboard operation
playerx copied to clipboard

Media Player Web Component - Uniform Player API - Supports HLS, Dash, Mux, Vimeo, YouTube, JW Player, Wistia

playerx

Version Badge size

npm: npm i playerx
cdn: https://unpkg.com/playerx
module: https://unpkg.com/playerx?module

Features

  • Uniform player API across player platforms. Mimics the HTMLMediaElement API when possible.
  • UI framework independent, intentionally uses no specific framework to have great interop across the board and keep the bundle size in check.

Usage (Codesandbox)

<script src="https://unpkg.com/playerx"></script>
<player-x src="https://vimeo.com/638369396" controls></player-x>

Demo page: dev.playerx.io/demo

Supported media

Related

Big Thanks

To all the services that offered free plans for building, testing and measuring!