Player docs

@mattebox/player@0.18.0Needs @mattebox/player-core ^0.11.0 and mattebox ^0.21.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.
  • Localization (i18n)Every package ships the labels of its controls in English and in 11 other languages. You register the locales your page offers with...
  • Blocks and markersMarkers and blocks are data from your content API that a stream does not carry.
  • Fallback and versionsA programme can have several sources: the same video in two formats or at two CDNs, and other versions of the video such as sign language. The player...
  • TrackersA tracker is an object the player starts at each programme and stops at its end, for analytics. You add and remove trackers from your page. The player...