shkomg:dash-js

A smart package that makes it easy to use Dash-js


Install
meteor add shkomg:dash-js@=0.0.1

Documentation

shkomg:dash-js

Dash-js packaged for meteor

Install

meteor add skomg:dash-js

How to use

in html template:

<video class="dashjs-player" autoplay preload="none" controls="true">
  <source src="http://dash.edgesuite.net/envivio/Envivio-dash2/manifest.mpd" type='application/dash+xml'>
</video>

in js template:

Template.videos.rendered = function() {
    var k=Meteor.setInterval(function () {
        if (Dash) {
            Dash.createAll();
            Meteor.clearInterval(k);
        };
    },200);
};