shoc-frontend-new/src/test/lib
Alexandre Brandizzi cfe83fc489 fix(media): read video duration from the MP4/MOV header in the browser
The browser pre-check decoded the picked file through a video element and
an object URL, which CodeQL flags as DOM text reinterpreted as HTML. Parse
the moov/mvhd movie header from file slices instead, the same way the
server enforces the 90-second limit, so both sides read one duration.
Unreadable headers still never block an upload.
2026-09-24 22:14:42 -03:00
..
address feat(vendors): structure the address into Street/City/State with autocomplete (#176) 2026-09-15 16:13:15 -03:00
auth Merge remote-tracking branch 'origin/dev' into feat/ab/sh-304-services-registry-ui 2026-09-17 15:34:52 -03:00
query fix(uplifts): restrict revoke to admins and quiet permission failures (SH-207) 2026-09-17 00:13:54 -03:00
mui-theme.test.tsx chore: upgrade frontend dependencies (#24) 2026-07-14 21:35:59 -03:00
probe-video-duration.test.ts fix(media): read video duration from the MP4/MOV header in the browser 2026-09-24 22:14:42 -03:00
resolve-api-prefix-url.test.ts Feat/vite typescript migration (#16) 2026-06-18 14:41:17 -03:00