I want to get video duration before upload. How to do this in angular2? There is my input code:
<input type="file" class="form-control" ng2FileSelect [uploader]="uploader" accept="video/*" #video (change)="getVideoInfor(video.value) "/>
I find some comparable example using jquery, but I have no idea to use in angualr2. Is it possible just using angular2 without jquery to do that?