about summary refs log tree commit diff
path: root/src/lib/media/video
Commit message (Collapse)AuthorAgeFilesLines
* run `yarn lint --fix` (#9013)Samuel Newman2025-09-095-12/+12
|
* [APP-1318] `SelectMediaButton` (#8828)Eric Bailey2025-08-181-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Integrate Sonner for toasts * Fix animation on iOS * Refactor API * Update e2e file * [APP-1318] Post composer: combine image & video buttons (#8710) * add: select media btn * udpate: compose post with combined image and video support * add: video combine button with edge cases * add select media btn * test: select media btn * add: media button update * remove unused files and update toast on android * update: make strings shorter * add: ValidatedVideoAsset type * update link comments and add toast support for native and web * rebase latest toast and update toast structure * remove unused prop * fix types * undo changes to yarn.lock * remove: support for mkv files * update: eslint and prettier (cherry picked from commit f69779ee130f07e1c49219b53117e3bdd1a9f81b) * Add missing props to launchImageLibraryAsync (cherry picked from commit 2e80ae561fd66850f787cac0aae0fa5a6980f8f5) * Rough out new approach (cherry picked from commit 9add225160e7e407befc73e9cdd9743a30cdf1cd) * Comments and cleanup (cherry picked from commit e69bd186e7335372f440c446ae6643ed0fb15db9) * Handle native case (cherry picked from commit 74e38acdfd9181d0557426691fcbcbf0800481ca) * Refactor (cherry picked from commit 68aea496db8df54dba5f58da267ad962c28ef995) * Rename (cherry picked from commit 8609e59ad14219e7378ee6cb9514d633ce7efc27) * Cleanup, comments (cherry picked from commit 6c9c98648e37257285a9c8caeb1eadcc56c81402) * Rename (cherry picked from commit 66e3db539d5baa41436c9e49af06e87a78e9e7e1) * Handle selectionLimit on Android (cherry picked from commit 251f06dd5e65a7083b810bad3d81114b2fe9ab39) * create composer images in parallel (cherry picked from commit 70ea79d9d76d99e9c99a7d2296caed84c718650e) * Update toast API usage (cherry picked from commit e370018b8ed8cdfd7675c9634058c72cb59d39de) * Ensure once one type of media is selected, you can only select more of that type (cherry picked from commit 1a9e6e0cdb5234667f08e3dd9107ae598941fc23) * Remove TODO and debug code * Add more descriptive a11y label to button Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * Add back post success toast * Include mimeType in toast error * Remove unneeded toast * Clarify hint * Typo Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * allow gifs on native, just treat as images * disable haptic toast * allow gifs on native, treat as videos * only do keyboard dismiss on native * tweak pasting logic * hide web scrubber in certain situations * Update MaxImages translation Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * Add plural formatting to a11y hint translation Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * fix suggestion * Protect against no valid assets selected * Handle conversion of too-big assets on web * Reorder * Bump expo-image-picker to include bug/perf improvements See https://github.com/expo/expo/blob/main/packages/expo-image-picker/CHANGELOG.md#1700--2025-08-13 * Handle edge case validations * Ok actually bump expo-image-picker * Comment * HEIC support Android * Fix handling for new picker version, improve size validation * Remove getVideoMetadata handling, no longer needed * Handle web video duration * Update src/view/com/composer/SelectMediaButton.tsx Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> --------- Co-authored-by: Anastasiya Uraleva <anastasiyauraleva@gmail.com> Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Update `VideoTooLargeError` strings (#7923)surfdude292025-03-121-1/+1
|
* tweak ci (#7916)Samuel Newman2025-03-061-3/+2
|
* Add gif support to web (#6433)Samuel Newman2024-11-221-0/+4
| | | | | | | | | | | | | * add gif support to web * rm set dimensions * rm effect from preview * rm log * rm use of {cause: error} * fix lint
* use megabytes rather than mebibytes for video limit (#6117)Samuel Newman2024-11-051-1/+1
|
* Sort imports (#6009)dan2024-10-291-1/+1
| | | | | * Mark import sort/order/style rules as error * npm run lint -- --fix
* [Sheets] [Pt. 1] Root PR (#5557)Hailey2024-10-042-2/+2
| | | | | | | Co-authored-by: Samuel Newman <mozzius@protonmail.com> Co-authored-by: Eric Bailey <git@esb.lol> Co-authored-by: dan <dan.abramov@gmail.com> Co-authored-by: Hailey <me@haileyok.com>
* Rename some files and variables (#5587)dan2024-10-035-1/+289
| | | | | | | * Move composer reducers together * videoUploadState -> videoState * Inline videoDispatch
* fix min size for compression (#5272)Samuel Newman2024-09-111-9/+10
|
* [Video] TEMP disable skip compression (#5271)Samuel Newman2024-09-111-9/+9
|
* [Video] use correct max size (#5245)Samuel Newman2024-09-092-3/+3
| | | | Co-authored-by: Hailey <me@haileyok.com>
* [Video] Upload tweaks (#5228)Samuel Newman2024-09-081-1/+2
| | | | | * use correct mime type * fix wheel progress
* [Video] Fix type on web (#5211)Hailey2024-09-071-2/+4
|
* [Video] Check upload limits before uploading (#5153)Samuel Newman2024-09-071-0/+7
| | | | | | | | | | | | | | | | | * 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>
* [Video] Only compress if >25mb or unknown format (#5187)Samuel Newman2024-09-071-2/+15
| | | | Co-authored-by: Hailey <me@haileyok.com>
* fix mime checks (#5118)Samuel Newman2024-09-031-1/+1
|
* [Video] Upload errors and UI improvements (#5092)Samuel Newman2024-09-034-1/+11
| | | | | | | | | | | * surface errors in UI * style progress indicator * remove job status progress * rm log * fix webm ext
* [Videos] avoid using fetch for blob handling where possible (#5041)Samuel Newman2024-08-303-12/+40
| | | | | | | * avoid using fetch where possible * whoopsie wrong branch * more import fixes
* [Video] Make compress/upload cancelable (#4996)Samuel Newman2024-08-292-5/+12
| | | | | | | * add abort controller to video upload system * rm log * rm log 2
* [Video] Add uploaded video to post (#4884)Samuel Newman2024-08-291-36/+0
| | | | | | | | | | | | | | | | | | | | | * video uploads! * use video upload lexicons * add missing postgate * remove references to prerelease package * fix scrubber showing a "0" * Delete types.ts * rm logs * rm upload header --------- Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
* [Video] Uploads (#4754)Hailey2024-07-301-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * state for video uploads * get upload working * add a debug log * add post progress * progress * fetch data * add some progress info, web uploads * post on finished uploading (wip) * add a note * add some todos * clear video * merge some stuff * convert to `createUploadTask` * patch expo modules core * working native upload progress * platform fork * upload progress for web * cleanup * cleanup * more tweaks * simplify * fix type errors --------- Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
* Video compression in composer (#4638)Samuel Newman2024-07-053-0/+64
Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com> Co-authored-by: Hailey <me@haileyok.com>