wordpress-mobile / wordpress-mobile/WordPress-Android

Slow thumbnails loading time for videos in WP Media library

Open
#13,224 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

[Type] Enhancement Media Performance
Dominant language
Kotlin
Stars
3.2k
Forks
1.4k
Avg merge
1d 11h
Merged PRs (30d)
69

Description

This is a stub reminder issue to further investigate this comment noticed during internal call for testing (pbMoDN-1oy-p2v#comment-2755); better check if we download the full videos or if the thumbnails are very slowly generated on the server.

Expected behavior

When loading video thumbnails from WP Media library, they load in a timely way.

Actual behavior

When loading video thumbnails from WP Media library, they loads slow.

Steps to reproduce the behavior
  • Be sure to have some videos (like 20) in the WP Media Library
  • In GB add Video block
  • Add video from WP Media Library
  • Notice the video thumbnails load slow
Tested on [Pixel 3 Emu], Android [API 30], WPAndroid [#13216 CI Build]

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue with about 20 videos in the WP Media Library, using the Gutenberg Video block on the Pixel 3 emulator with Android API 30 and the WPAndroid #13216 CI build. Investigate whether full videos are downloaded or thumbnails are generated slowly on the server. Done means the cause is identified and video thumbnails load in a timely way.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.