mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-04-19 19:14:51 +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.subtitles = obj.subtitles ?? [];
|
||||
this.isShort = !!obj.isShort ?? false;
|
||||
|
||||
if (obj.getContentRecommendations) {
|
||||
this.getContentRecommendations = obj.getContentRecommendations
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue