Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

use megabytes rather than mebibytes for video limit (#6117)

authored by

Samuel Newman and committed by
GitHub
b0b00c9c a78179aa

+1 -1
+1 -1
src/lib/media/video/compress.web.ts
··· 3 3 import {VideoTooLargeError} from '#/lib/media/video/errors' 4 4 import {CompressedVideo} from './types' 5 5 6 - const MAX_VIDEO_SIZE = 1024 * 1024 * 50 // 50mb 6 + const MAX_VIDEO_SIZE = 1000 * 1000 * 50 // 50mb 7 7 8 8 // doesn't actually compress, converts to ArrayBuffer 9 9 export async function compressVideo(