Skip to content

Commit

Permalink
fix(content-entry): fix file types for flavour upload (video and audio)
Browse files Browse the repository at this point in the history
  • Loading branch information
amirch1 committed Sep 24, 2017
1 parent a042ae1 commit 386dc4b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,10 @@ export class EntryFlavours implements AfterViewInit, OnInit, OnDestroy {
private _setUploadFilter(entry: KalturaMediaEntry): string{
let filter = "";
if (entry.mediaType.toString() === KalturaMediaType.video.toString()){
filter = "video/*";
filter = ".flv,.asf,.qt,.mov,.mpg,.avi,.wmv,.mp4,.3gp,.f4v,.m4v";
}
if (entry.mediaType.toString() === KalturaMediaType.audio.toString()){
filter = "audio/*";
filter = ".flv,.asf,.qt,.mov,.mpg,.avi,.wmv,.mp3,.wav";
}
return filter;
}
Expand Down

0 comments on commit 386dc4b

Please sign in to comment.