load dispatch call fixed

This commit is contained in:
NikolaBorislavovHristov 2019-01-17 09:35:05 +02:00
parent bde6e72e7c
commit f8230ce408

View file

@ -46,7 +46,7 @@ class Player extends Component {
label: 'English'
}]);
this.dispatch('setProp', 'selectedSubtitleTrackId', 'https://raw.githubusercontent.com/caitp/ng-media/master/example/assets/captions/bunny-en.vtt');
this.dispatch('command', 'load', this.props.stream);
this.dispatch('command', 'load', this.props.stream, {});
}
onEnded = () => {