Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Media & Text block: allow video embed in addition to photo #30359

Open
bradhogan opened this issue Mar 29, 2021 · 3 comments
Open

Media & Text block: allow video embed in addition to photo #30359

bradhogan opened this issue Mar 29, 2021 · 3 comments
Labels
[Block] Media & Text Affects the Media & Text Block [Type] Enhancement A suggestion for improvement.

Comments

@bradhogan
Copy link

What problem does this address?

Currently, the "media & text" block only allows images to be placed in the "media" column.

What is your proposed solution?

The "media" should include all media (i.e. video such as Vimeo or Youtube embed options).

@skorasaurus skorasaurus added [Block] Media & Text Affects the Media & Text Block [Type] Enhancement A suggestion for improvement. labels Mar 29, 2021
@coreyworrell
Copy link
Contributor

coreyworrell commented May 26, 2022

It would be awesome to also allow any embeddable URL, and any arbitrary URL that would then just be loaded in an iframe (Google map, etc).

Screenshot from 2022-05-25 17-38-10

@skorasaurus
Copy link
Member

In absence of this, as a workaround: you could create a pattern that uses the row block with the first inner block of embed and the 2nd inner block would be a group block; and within the group block, you could add what you would like.
https://gutenberg.10up.com/reference/Blocks/block-patterns/ has some information to explain how to create block patterns.

@T4ngml
Copy link

T4ngml commented Sep 12, 2023

I really miss this! In the meantime, I can only display videos and text in 2 separate columns, which is not, which maintains the text in a narrow column.
That's not ideal for readability, and prevents adding some more content cleanly, on every viewport.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Media & Text Affects the Media & Text Block [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

4 participants