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

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

Closed
designarti opened this issue Jun 20, 2018 · 5 comments
Closed

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

designarti opened this issue Jun 20, 2018 · 5 comments
Labels
[Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed

Comments

@designarti
Copy link

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.

@designarti designarti changed the title Youtube video embed doesn't seem to work Youtube video embed block doesn't seem to work Jun 20, 2018
@tofumatt
Copy link
Member

I just tried this locally and it worked:

2018-06-20 11 01 07

Are you using the YouTube block or the Video block? If you insert a YouTube URL into the Video block it won't work, but the YouTube one will.

@designarti
Copy link
Author

designarti commented Jun 20, 2018

I was using the video block. Didn't know it won't work. My issue had "block" in title. You are closing it because it is a known issue, not because for you another widget works, am I right? What you've tried locally doesn't apply to the issue presented.

giphy

@tofumatt
Copy link
Member

tofumatt commented Jun 20, 2018 via email

@tofumatt
Copy link
Member

Nevermind, looks like this is an existing issue already: #6824.

@designsimply designsimply added the [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed label Jul 9, 2018
@a4jp-com
Copy link

a4jp-com commented Apr 5, 2019

I have a similar problem but when I try and upload an MP4 files to my server. The other thing that is annoying is when the URL goes missing when I click the edit button.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed
Projects
None yet
Development

No branches or pull requests

4 participants