Skip to content

VideoPress: Video blocks encounter errors when using VideoPress URL #17925

@kdevnel

Description

@kdevnel

Steps to reproduce the issue

  1. Upload a video so it's on VideoPress
  2. Insert a new column block or layout grid
  3. Insert a video block and add the VideoPress URL
  4. Save and refresh
  5. Video will show an error.

What I expected

I expect the video to keep working. Although this isn't a standard way of adding videos it is quite easy to do it this way and end up with errors in blocks that can't be easily fixed.

What happened instead

The blocks break unless the video block contains a link to the video file directly in the media library instead of the VideoPress URL.

Replicated on a WordPress.com Business plan site and a WordPress.org site with Gutenberg plugin 9.3 and 9.4.1 both causing this error. It happened with and without the Layout Grid.

Screenshots
Markup 2020-11-24 at 17 55 45

Metadata

Metadata

Labels

BugWhen a feature is broken and / or not performing as intended[Feature] VideoPressA feature to help you upload and insert videos on your site.[Pri] Normal

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions