mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-09-07 18:19:03 +00:00
add recommendations assignment in video details class
Changelog: added
This commit is contained in:
parent
3361b77aec
commit
78f5169880
1 changed files with 4 additions and 0 deletions
|
@ -263,6 +263,10 @@ class PlatformVideoDetails extends PlatformVideo {
|
||||||
this.rating = obj.rating ?? null; //IRating
|
this.rating = obj.rating ?? null; //IRating
|
||||||
this.subtitles = obj.subtitles ?? [];
|
this.subtitles = obj.subtitles ?? [];
|
||||||
this.isShort = !!obj.isShort ?? false;
|
this.isShort = !!obj.isShort ?? false;
|
||||||
|
|
||||||
|
if (obj.getContentRecommendations) {
|
||||||
|
this.getContentRecommendations = obj.getContentRecommendations
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue