mardi 24 janvier 2017

video mpeg dash player with Ember.js

Is there any Ember addon for using video-contrib-dash player? Basically I have a continuous video stream that uses mpeg dash protocol for recording and I want to play it using Ember application

Right now I am using ivy-videojs with type "application/dash+xml" but it does not play mpeg-dash. Here is the code snippet:

video.js:

import Ember from 'ember';
src: {src: 'http://someurl.mpd', type: 'application/dash+xml'},    
export default Ember.Component.extend({
      actions: {
        ready(player, component) {
           component.bindPropertyToPlayer(player, 'src');
           player.play();
        },
});

video.hbs:



Any help on playing Mpeg-dash player would be greatly Appreciated

Thanks !




Aucun commentaire:

Enregistrer un commentaire