mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-13 11:11:27 +03:00
Mkv/webm formats are now included for quality select (will get merged into mp4 at the end)
This commit is contained in:
@@ -1033,8 +1033,8 @@ export class MainComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
} else if (format_obj.type === 'video') {
|
} else if (format_obj.type === 'video') {
|
||||||
// check if video format is mp4
|
// check if video format is mp4
|
||||||
const key = format.height.toString();
|
const key = format.format_note.replace('p', '');
|
||||||
if (format.ext === 'mp4') {
|
if (format.ext === 'mp4' || format.ext === 'mkv' || format.ext === 'webm') {
|
||||||
format_obj['height'] = format.height;
|
format_obj['height'] = format.height;
|
||||||
format_obj['acodec'] = format.acodec;
|
format_obj['acodec'] = format.acodec;
|
||||||
format_obj['format_id'] = format.format_id;
|
format_obj['format_id'] = format.format_id;
|
||||||
|
|||||||
Reference in New Issue
Block a user