Skip to content

Youtube video embed block doesn't seem to work #7394

Closed

Description

Adding youtube URL in the videoblock. Shows the following code:

<figure class="wp-block-video aligncenter"><video controls="" src="https://youtu.be/OJfOsoUYPts"></video>
	<figcaption>iPhone X – does it still worth 1k?</figcaption>
</figure>

After insertion, both backend and frontend looks like this:

screen shot 2018-06-20 at 10 43 52

And obviously doesn't work. Doesn't load.

Tried to insert both versions of the embeddable URL, youtube.com one and youtu.be one. Same output.

Using underscores theme from Automattic, with no code modifications. It is Gutenber 3.0.1. Running on MAMP Pro, on a Mac, regular setup, nothing wrong with the DE.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    [Status] DuplicateUsed to indicate that a current issue matches an existing one and can be closed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions