From 45a719b256173f98b20457cc80b4288e84f1c33f Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Sat, 7 Sep 2024 19:27:32 +0100 Subject: [Video] Check upload limits before uploading (#5153) * DRY up video service auth code * throw error if over upload limits * use token * xmark on toast * errors with nice translatable error messages * Update src/state/queries/video/video.ts --------- Co-authored-by: Hailey --- src/lib/constants.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/lib/constants.ts') diff --git a/src/lib/constants.ts b/src/lib/constants.ts index 5be099d0e..9bf1fb35e 100644 --- a/src/lib/constants.ts +++ b/src/lib/constants.ts @@ -137,6 +137,9 @@ export const GIF_FEATURED = (params: string) => export const MAX_LABELERS = 20 +export const VIDEO_SERVICE = 'https://video.bsky.app' +export const VIDEO_SERVICE_DID = 'did:web:video.bsky.app' + export const SUPPORTED_MIME_TYPES = [ 'video/mp4', 'video/mpeg', -- cgit 1.4.1