Skip to content

Conversation

@myieye
Copy link
Contributor

@myieye myieye commented Jun 20, 2023

We recently increased the max file size for audio and images to 10MB.

But webm is a significant file format in the browser (i.e. Language Forge) and it's not included in the list of known audio file types, so recording audio in LF never actually benefited from this previous change 😲😢,

Webm is a file-type that FLEx supports, so there's no obvious reason to me why we shouldn't include it here, it was simply forgotten.
image


This change is Reviewable

@myieye myieye force-pushed the feature/10MB-webm-files branch from 1522fad to a18a11f Compare June 20, 2023 15:00
@github-actions
Copy link

Test Results

       2 files  ±0     202 suites  ±0   43m 49s ⏱️ +37s
   874 tests ±0     852 ✔️ ±0  22 💤 ±0  0 ±0 
1 994 runs  ±0  1 929 ✔️ ±0  65 💤 ±0  0 ±0 

Results for commit a18a11f. ± Comparison against base commit fa4a8c6.

@ermshiperete ermshiperete merged commit 2601692 into sillsdev:master Jun 21, 2023
@myieye myieye deleted the feature/10MB-webm-files branch June 22, 2023 07:20
@hahn-kev
Copy link
Contributor

one reason that webm might have not been included is that FLEx doesn't support it in all cases. There's some cases where a webm file is encoded using PCM audio (by the browser) and that encoding isn't supported as a webm file in FLEx. Because of this issue in the Combine we decided to convert webm files to wav when they were exported to FLEx. We might run into the same issue here where files will now get exported properly, and FLEx will see them, but still can't play them.

@myieye
Copy link
Contributor Author

myieye commented Jun 26, 2023

@hahn-kev Interesting. Well, you could already send webm files to FLEx before this change. They just reverted to the default file size limit. All I did was increase the file size limit for them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants