Automattic / Automattic/jetpack
VideoPress: take advantage of the edit-when-uploading to store the video sizes
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description

Maybe we can get the video size initially, even before to get uploaded. It would be nice to store the size in the block attribute to reduce the jumps when rendering the block.
Contributor guide
Research direction
Start by tracing the VideoPress block's edit-when-uploading flow and how its block attributes are used while rendering. Determine where the video size becomes available before upload completes and define the rendered behavior that should avoid layout jumps. Done means the size is stored in the block attribute early enough to reduce those jumps.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100