Adaptive Streaming with HTML5
// setup the video element and attach it to the Dash player function setupVideo() { var url = "http://213.174.160.10/dash/spaolo_live.mpd";
var context = new Dash.di.DashContext(); var player = new MediaPlayer(context); player.startup(); player.attachView(document.querySelector("#videoplayer")); player.attachSource(url); }