[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 <me@haileyok.com>
This commit is contained in:
parent
b7d78fe59b
commit
45a719b256
8 changed files with 146 additions and 46 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue