Skip to content

Browser compiled version

Latest
Compare
Choose a tag to compare
@birme birme released this 11 Feb 10:47

This release includes a browser compiled version of the library

<script src="/dist/dashvalidator.min.js"></script>
<script>
  var validator = new DashValidator("http://example.com/test.mpd");
  validator.load().then(function() {
    return validator.validateDynamicManifest(2);
  }).then(function(result) {
    var status = document.getElementById("status");
    if (result.ok == result.iterations) {
      status.innerHtml = "All OK";
    }
  });
</script>