YouTube videos not embedding
-
I seem to be having an issue with embedding YouTube videos with the embed block. The issue is almost identical to the one listed here: https://github.com/WordPress/gutenberg/issues/1314
1) I open my post that I want to edit.
2) I insert a YouTube Embed block.
3) I paste in my YouTube video URL and clickEmbed
.
4) The embed block tells meSorry, we could not embed that content.
5) When I preview the post, the video appears, embedded into the page as expected.This is only on video blocks. If I create a Classic block, it will embed the preview as expected. It is only on video blocks.
I’ve followed the steps listed in the issue but I’m getting nowhere. The network tab shows me effectively the same code as the post linked above (albeit not in the same order):
{ "code": "rest_no_route", "message": "No route was found matching the URL and request method", "data": { "status": 404 } }
I’m using WordPress 4.9.4 and Gutenberg 2.3.0.
Unlike the original post, however, my permalinks were never set to
plain
, but were already instead set toMonth and Name
. I have changed them to plain and then back to Month and Name, and that does nothing. Not only that, but the REST API seems to be responding normally (my site’s/wp-json/
URL seems to give me a whole list of endpoints) where the issue above didn’t seem to have that.In the GitHub issue above, they said that this was not a Gutenberg issue per se, but rather an issue with the web server. For that reason, I am posting it here instead of on GitHub. If it does look to be an issue with Gutenberg, I shall repost it there.
Could someone please assist me and help me find out what on earth is wrong with it?
- The topic ‘YouTube videos not embedding’ is closed to new replies.