elements

Player element

The player element is the heart of all elements and it’ll render your video from mave as fast, smooth and nicely as possible depending on how you want to display it with all the power of mave. You can just tell us how you want to have it and we’ll take care of the heavy lifting for you (with adaptive bitrate, analytics, player settings etc).

<mave-player embed="{embed id}"></mave-player>

Although we do a lot of heavy lifting, the <mave-player /> element acts similarly to <video /> element. This means .play() and .pause() can be used in Javascript for instance.

Preview