diff options
Diffstat (limited to 'client/src/app/shared')
-rw-r--r-- | client/src/app/shared/video/video-details.model.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/src/app/shared/video/video-details.model.ts b/client/src/app/shared/video/video-details.model.ts index 8463e15d7..22f024656 100644 --- a/client/src/app/shared/video/video-details.model.ts +++ b/client/src/app/shared/video/video-details.model.ts | |||
@@ -52,4 +52,8 @@ export class VideoDetails extends Video implements VideoDetailsServerModel { | |||
52 | getHlsPlaylist () { | 52 | getHlsPlaylist () { |
53 | return this.streamingPlaylists.find(p => p.type === VideoStreamingPlaylistType.HLS) | 53 | return this.streamingPlaylists.find(p => p.type === VideoStreamingPlaylistType.HLS) |
54 | } | 54 | } |
55 | |||
56 | hasHlsPlaylist () { | ||
57 | return !!this.getHlsPlaylist() | ||
58 | } | ||
55 | } | 59 | } |