Developer Guide Javascript API Reference Developer Tools Release Notes

MPEG-DASH

This demo shows adaptive streaming with MPEG-DASH.

github

MPEG-DASH is the industry standard for adaptive streaming. It provides support for HTML5 for mobile and desktop, faster starts and seeks, easy file management, and VP9.

const playerInstance = jwplayer('player').setup({
  playlist: '//cdn.jwplayer.com/v2/media/1g8jjku3?sources=mpd'
});


const provider = document.getElementById('provider');
playerInstance.once('meta', () => {
  provider.textContent = playerInstance.getProvider().name;
});

const sourceType = document.getElementById('source-type');
playerInstance.once('playlistItem', e => {
  sourceType.textContent = e.item.sources[0].type;
});
This player implementation is a Proof of Concept only provided to show the possibilities of the JW Player and Platform and should not be taken as an offer to create, edit or maintain custom integration or development.