From c5a1ae500e68b759f76851552be6dd10631d34f4 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 11 Mar 2019 16:23:33 +0100 Subject: Playlist videos component --- shared/models/videos/video.model.ts | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'shared') diff --git a/shared/models/videos/video.model.ts b/shared/models/videos/video.model.ts index 6e7a6831e..963268674 100644 --- a/shared/models/videos/video.model.ts +++ b/shared/models/videos/video.model.ts @@ -18,6 +18,12 @@ export interface VideoFile { fps: number } +export interface PlaylistElement { + position: number + startTimestamp: number + stopTimestamp: number +} + export interface Video { id: number uuid: string @@ -55,11 +61,7 @@ export interface Video { currentTime: number } - playlistElement?: { - position: number - startTimestamp: number - stopTimestamp: number - } + playlistElement?: PlaylistElement } export interface VideoDetails extends Video { -- cgit v1.2.3