Skip to content

HTML5 Integration

HTML5 Web Integration

Peer5 can be integrated with any HTML5 video player and any media server that outputs HLS or DASH streams.

This guide assumes that you already have a media server that can output HLS or DASH streams. If this is not the case, we have a guide that explains how to set that up for live video as well as for VoD. In addition to nginx / nimble / ffmpeg, we also support (and recommend) Wowza.

Media Server and Digital Rights Management (DRM)

Peer5 is fully compatible with every media server and DRM technology. This means that integration with Peer5 requires no changes to your server side code.

Video Player

Peer5 supports every HTML5 player. Among the free options, we recommend Clappr or Video.js. Among the paid options, popular choices are JWPlayer and Bitmovin.

Besides the standard players, we also work with most custom HLS / DASH players. If you'd like to check if your player is compatible with Peer5, please Chat with us or send us an email.

Integration

After you've signed up, please go to the integration page. Peer5 will analyze your website and video player and recommend the specific integration code to use.

Architecture

Peer5 integrates with a broadcaster’s existing infrastructure by deploying two lines of Javascript on the web page where the video player resides. This client-side Javascript implements a hybrid switcher. Once Peer5 is integrated, users can fetch video segments from either an edge server or from their peer group, depending on which channel is performing better at that given moment in time. As more chunk requests are handled by the peer group, the broadcaster sees dramatic reductions in server load and, consequently, higher stream quality (faster load times, less buffering, longer viewing sessions) for all viewers.

Support

If you have any questions about integrating, please chat with us or send us an email.