Skip to content

Uploading videos broken #3463

@swissspidy

Description

@swissspidy

Bug Description

Video upload seems to be broken because there doesn't seem to be a mediaUpload prop being passed anymore. Perhaps something changed upstream causing this to be missing.

Expected Behaviour

Uploading videos should work

Steps to reproduce

  1. Insert video block
  2. Upload video
  3. See block being broken

Screenshots

Screenshot 2019-10-08 at 10 18 57

Screenshot 2019-10-08 at 10 15 02

Additional context

  • WordPress version: 5.3 Beta
  • Plugin version: current develop
  • Gutenberg plugin version (if applicable): 6.6
  • Browser: Chrome on macOS

Do not alter or remove anything below. The following sections will be managed by moderators only.

Acceptance criteria

  • AC1: Enable users to successfully upload videos.

Implementation brief

  • Add conditional check to usage of media upload function (as per comments below)

QA testing instructions

  1. Insert video block
  2. Upload video
  3. See video successfully being inserted and working as expected also on the frontend

Demo

Changelog entry

N/A as it addresses a recently introduced regression

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions