Automattic / Automattic/jetpack

VideoPress > Video Block: cannot upload when on multisite

Open
#21,610 1 comment 0 reactions 0 assignees View on GitHub
[Block] VideoPress [Feature] VideoPress [Focus] Multisite [Pri] Normal Bug
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

#### Steps to reproduce

1. Start by setting up a Multisite Network, and create a new site on that network (note: you can use JN for this)
2. Connect that new site to WordPress.com, and purchase a VideoPress plan.
3. Go back to wp-admin > Jetpack > Settings > Performance, and ensure that VideoPress is enabled.
4. Go to Posts > Add New, and add a new Video Block
5. Attempt to upload a video
6. You'll get the following error message:

![image](https://user-images.githubusercontent.com/426388/139829204-c0fda28c-8bee-431a-89cd-625f7077756f.png)

The video block from Jetpack is loaded though:

![image](https://user-images.githubusercontent.com/426388/139829543-e313b0e2-c1e0-4f86-980e-135980f28e63.png)
![image](https://user-images.githubusercontent.com/426388/139829668-d78734b3-b5a1-435b-8339-3358f23b0bdb.png)

Attempting to upload the same video via Media > Library works, VideoPress is triggered properly there.

*********

Reported here: p8oabR-K9-p2#comment-5598

Contributor guide

Open the contributing guide

Research direction

Reproduce the failure in wp-admin > Jetpack > Settings > Performance, then Posts > Add New with a Video Block on a WordPress multisite. Compare the Video Block upload path with Media > Library, where the same upload works; done means VideoPress uploads from the block on the connected multisite site.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, react
Domain
backend, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.