mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-22 10:03:20 +03:00
Fixed issue where navigating to a sub's video would play all videos from the subscription
This commit is contained in:
@@ -202,7 +202,7 @@ export class RecentVideosComponent implements OnInit {
|
|||||||
} else {
|
} else {
|
||||||
// normal subscriptions
|
// normal subscriptions
|
||||||
!new_tab ? this.router.navigate(['/player', {uid: file.uid,
|
!new_tab ? this.router.navigate(['/player', {uid: file.uid,
|
||||||
type: file.isAudio ? 'audio' : 'video', sub_id: sub.id}])
|
type: file.isAudio ? 'audio' : 'video'}])
|
||||||
: window.open(`/#/player;uid=${file.uid};type=${file.isAudio ? 'audio' : 'video'}`);
|
: window.open(`/#/player;uid=${file.uid};type=${file.isAudio ? 'audio' : 'video'}`);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user