export class VideoDownloadComponent {
@ViewChild('modal') modal: ElementRef
- downloadType: 'direct' | 'torrent' | 'magnet' = 'torrent'
+ downloadType: 'direct' | 'torrent' = 'torrent'
resolutionId: number | string = -1
video: VideoDetails
case 'torrent':
return file.torrentDownloadUrl
-
- case 'magnet':
- return file.magnetUri
}
}