Player docs

@mattebox/player@0.17.0Needs @mattebox/player-core ^0.10.1 and mattebox ^0.19.0.

The <mattebox-player> element and its controls.

npm install @mattebox/player

Chapters

  • Getting startedThis chapter goes from install to a playing stream, with the element first and then with the core alone.
  • The elementThis chapter explains <mattebox-player>: its attributes, its properties and its events. It then explains the controls placed inside it, which show over...
  • CDNThis chapter explains how to use the player from a script tag.
  • LanguagesThe controls of every package speak your viewer's language. You import the languages your page offers, register them once, and the players follow the...
  • Blocks and markersYour content API knows things a stream does not carry: where the credits are, which parts must not play, and why a programme does not play at all....
  • Fallback and versionsA programme can have more than one source: the same picture in two formats, at two CDNs, or in another version such as sign language. The player tries...
  • TrackersA tracker follows each programme the player plays. You add the trackers your page needs and remove them when it no longer may use them. The player only...