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: 'http://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;
});