Youtube embed doesn't work on Ethos

Hi there! I’m using x/ethos and embedded youtube videos don’t show up on the front end no matter how i embed them. They just arent in the code at all, though it shows up in the editor.

There should be one after the first paragraph of this post: https://soitgoes.hu/2019/05/23/ahelyett-hogy-nyugdijaznank-az-idos-kutyat-adjunk-neki-feladatot-kubinyi-enikot-az-elte-etologia-tanszekenek-tudomanyos-fomunkatarsaval-beszelgettunk/

After this paragraph:
“Egy barát segít a bajban. Ez igaz legjobb négylábú barátainkra, a kutyákra is. Segítségükkel ugyanis Kubinyi Enikő biológus, etológus a Szenior Családi Kutya Programban az ebek öregedése és kognitív hanyatlása tárgyában végez vizsgálatokat, amelyek alapján idővel az emberi öregedési folyamatok megértéséhez is közelebb kerülhetünk. A kutatások eredményeit folyamatosan publikálják a kutatók, amelyekből úgy tűnik egyre több tanácsot fogadhatnak meg azok is, akik felelős kutyatartóvá szeretnének válni. Kubinyi Enikőt kérdeztük.”

Could you help me?

Hi @devidrake,

Thanks for reaching out.

May I know what embed code you’re adding? And yes, I don’t see any embed code there, all I see is you installed youtube embed plugin. Is that what you’re trying to add? In that case, I recommend contacting the plugin author about the issue.

Also, it could be that part of your site’s security is blocking the iframe code. I also recommend contacting your hosting provider (if it’s managed wordpress hosting) to see if they can allow iframe codes for embed.

Thanks!

Hi there!

The plugin was an attempt to fix the issue, but since it didn’t help, I reverted to a normal iframe embed.

this is it:

<iframe width="1440" height="668" src="https://www.youtube.com/embed/jTuVDFyFydI" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

Hi @devidrake,

Are you using Gutenberg to create your posts? I tried to embed the video you indicated using iframe but there seems to be something in the video link that stops it from being embedded.

I tried to use the video block element in the block editor and used the actual video link instead of the embed link and it worked correctly.

Hope this helps.

Hello!

I used the classic editor, but after your advice, switched to Gutemberg. It still failed:

Update: Now I managed to get the embed block to work, but it still does not show up on the front end. It should now be at the very top, I put a caption on it, so you can see

Hi There @devidrake

When you’re using Gutenberg, please use the YouTube URL as follows (instead of embed link that you have used).

https://www.youtube.com/watch?v=jTuVDFyFydI

Then it should embed your video correctly.

Hope that helps.

Hi,

Yeah I managed to get to that point, but it still does not show up on the front end.

Hi There @devidrake

Can you please disable your 3rd party plugins and re-test this issue again. If the issue resolved, you can activate your plugins one by one to see which plugin causing this issue.

If you’re still having issues and if you’re using a child theme, please disable your child theme as well and re0-test this issue further.

Also if you have added any custom JavaScript into your site, please remove them temporarily as well and re-test your issue further.

Please make sure to clear all caches when testing your issue (https://www.wpbeginner.com/beginners-guide/how-to-clear-your-cache-in-wordpress/).

If you’re still having issues, please provide us with your WordPress login credentials in a secure note to check your issue further.

Thanks!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.