Automattic / Automattic/jetpack
VideoPress: Video upload block stretching to full width in editor.
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
### Impacted plugin
Jetpack
### Steps to Reproduce
1. On a site using a theme which is not block-based (such as Twenty Twenty One), enable VideoPress.
2. Via the wp-admin post editor, upload a video.
3. Notice the block stretching to full-width in the editor and back to regular width several times during the upload process.
4. Switch to a block-based theme (such as Twenty Twenty Two), upload another video, and notice the above behaviour doesn't occur.
5. Selecting the video from the media library instead of uploading also results in the same behaviour.
Reported during internal testing: p8oabR-QB-p2#comment-6180
### A clear and concise description of what you expected to happen.
Uploading a video using a non-block based theme would show the same behaviour in the post editor as a block-based theme, which is to not stretch to full-width in the upload process.
### What actually happened
_No response_
### Other information
https://user-images.githubusercontent.com/16754605/165910733-e8fb2608-29df-47db-918b-4f2344ce7908.mov
### Operating System
macOS
### OS Version
12.1
### Browser
Chrome/Chromium
### Browser Version(s)
100
Contributor guide
Research direction
Start by reproducing the upload and media-library selection in the wp-admin post editor with VideoPress, comparing non-block-based and block-based themes. The work is done when the video block stays at the regular editor width throughout the upload process in both cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100