Make WordPress Core

Opened 7 weeks ago

Closed 5 weeks ago

#65157 closed feature request (wontfix)

Blocks: WordPress prevent videos from being set as backgrounds

Reported by: wurds's profile wurds Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Media Keywords: reporter-feedback close
Focuses: ui, administration, template Cc:

Description

I'm attempting to set a video as the background for a block.
this block is a group which is nested inside a row.

A filter is being applied to the media gallery which makes it so only images can be picked.

Change History (4)

#1 @blackstar1991
7 weeks ago

It's not a bug.
This is normal behavior of the component.
If you need a full-width video component, you can create it yourself or download the plugin.
The image can be set because there is a [background https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/background-image] property for CSS. You cannot put a video file in this property.

#2 @westonruter
7 weeks ago

  • Keywords reporter-feedback added
  • Version 6.9.4 deleted

The Cover block actually does allow you to set a video as the background.

Please try that block.

#3 @wildworks
6 weeks ago

  • Keywords close added

In WordPress 7.0, the cover block allows several providers to be embedded as background videos. See https://github.com/WordPress/gutenberg/pull/73023 for more details.

I believe this ticket can be closed.

#4 @poena
5 weeks ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.