getElementById("videoStatus").innerHTML += "onComplete(), playback completed<br />";
}
function onError(message) {
  document.getElementById("videoStatus").innerHTML += "onError():"+ message + "<br />";
}

function onFragment(bandwidth,level,width) {
  document.getElementById("videoStatus").innerHTML += "onFragment(): bandwidth:" + bandwidth + " level:" + level + " width:" + width + "<br />";
}

function onManifest(message) {
  document.getElementById("videoStatus").innerHTML += "manifest loaded<br />";
  p