diff options
Diffstat (limited to 'shared/models/videos')
-rw-r--r-- | shared/models/videos/index.ts | 1 | ||||
-rw-r--r-- | shared/models/videos/video-resolution.enum.ts | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/shared/models/videos/index.ts b/shared/models/videos/index.ts index 64d1676c5..35144dbad 100644 --- a/shared/models/videos/index.ts +++ b/shared/models/videos/index.ts | |||
@@ -6,5 +6,6 @@ export * from './video-abuse.model' | |||
6 | export * from './video-blacklist.model' | 6 | export * from './video-blacklist.model' |
7 | export * from './video-create.model' | 7 | export * from './video-create.model' |
8 | export * from './video-rate.type' | 8 | export * from './video-rate.type' |
9 | export * from './video-resolution.enum' | ||
9 | export * from './video-update.model' | 10 | export * from './video-update.model' |
10 | export * from './video.model' | 11 | export * from './video.model' |
diff --git a/shared/models/videos/video-resolution.enum.ts b/shared/models/videos/video-resolution.enum.ts new file mode 100644 index 000000000..bdce77ed6 --- /dev/null +++ b/shared/models/videos/video-resolution.enum.ts | |||
@@ -0,0 +1,8 @@ | |||
1 | export enum VideoResolution { | ||
2 | ORIGINAL = 0, | ||
3 | H_240P = 240, | ||
4 | H_360P = 360, | ||
5 | H_480P = 480, | ||
6 | H_720P = 720, | ||
7 | H_1080P = 1080 | ||
8 | } | ||