Skip to content

Transform video shortcodes to video blocks #14002

@mmtr

Description

@mmtr

It would be great if the video block contains a transform for the video shortcode.

That way, when opening an old post containing a [video] shortcode (or when pasting it in a new post), they are converted automatically to video blocks like we do with the gallery or caption shortcodes.

It seems that all the shortcode options except width and height are supported by the video block attributes, so we might need to add new attributes for the width and height (or maybe just ignore them).

Metadata

Metadata

Assignees

No one assigned

    Labels

    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