Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Media Picker: Load video thumbnails for large videos #15443

Open
ashiagr opened this issue Oct 12, 2021 · 0 comments
Open

Media Picker: Load video thumbnails for large videos #15443

ashiagr opened this issue Oct 12, 2021 · 0 comments

Comments

@ashiagr
Copy link
Contributor

ashiagr commented Oct 12, 2021

Thumbnails for large videos cannot be previewed in the media picker. This is because the app uses Glide to load thumbnails which starts loading the whole video and allocates memory in order to keep it. This leads to OOM when the size is greater than the available memory. The app adds a check for video size (< 10MB) to avoid this OOM.

See PR #14085 for more details.

The goal of this task is to find out a way to load video thumbnails for large videos.

Steps to reproduce the behavior

  1. Go to a site with some big videos uploaded
  2. Go to My Site/Media
  3. Notice the big videos don't show a thumbnail, instead you can see a grey background (in the light mode)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant