Mkv/webm formats are now included for quality select (will get merged into mp4 at the end)

downloader-improvements
Isaac Abadi 5 years ago
parent 44647f3306
commit 365cbc3ffa

@ -1033,8 +1033,8 @@ export class MainComponent implements OnInit {
}
} else if (format_obj.type === 'video') {
// check if video format is mp4
const key = format.height.toString();
if (format.ext === 'mp4') {
const key = format.format_note.replace('p', '');
if (format.ext === 'mp4' || format.ext === 'mkv' || format.ext === 'webm') {
format_obj['height'] = format.height;
format_obj['acodec'] = format.acodec;
format_obj['format_id'] = format.format_id;

Loading…
Cancel
Save