Alekz
Forum Replies Created
-
Thank you NightL, I tried your solution and I can confirm it does remove the problem! YouTube embeds are working fine now.
Just to be clear in case anyone finds this through Google: that setting can be found in the Jetpack plugin settings, not in WordPress settings (I was confused at first).
Also thank you Alin for your help looking into this. Yes, that matches the process of embedding the video although the issue was still present until I tried NightL’s solution.
Thanks everyone! I’ll do some more testing but for now I’ll mark this as resolved.
Hello Erina, thank you so much for your reply.
You are correct, the problem doesn’t seem to happen when using Firefox, but it still happens on Chrome for some reason.
I am using the new WP block editor to embed the video (though I think the OP on the referenced thread is using classic indeed). In my writing process I just paste the YouTube URL in the editor and WP automatically converts it to a YouTube block.
Just to be sure, with diagnostic mode enabled (no plugins) I deleted the existing YouTube block and created the YouTube block again using the block UI (plus sign – YouTube – paste url), but the result is the same. This suggests Jetpack is doing something to the block when the post is rendered and it’s not an issue of the original information from when the post was created.
Also, while using diagnostic mode (default theme, no plugins) I tried clicking the same part of the embed and the link to YouTube worked fine.
Thanks again!
Forum: Fixing WordPress
In reply to: www.youtube.com is blocked www.youtube.com refused to connect.I have this exact problem. Posted on the Jetpack forum too:
https://www.ads-software.com/support/topic/youtube-video-embeds-lead-to-refuse-to-connect-error/
The iframe is being rendered like this, with a lot of extra stuff at the end of the embed src url. The original post only has the YouTube link in it so it’s WordPress or Jetpack that are rendering it like this.
<iframe loading="lazy" class="youtube-player" width="1080" height="608" src="https://www.youtube.com/embed/stsqoCeyINE?version=3&rel=1&showsearch=0&showinfo=1&iv_load_policy=1&fs=1&hl=es-ES&autohide=2&wmode=transparent" allowfullscreen="true" style="border:0;" sandbox="allow-scripts allow-same-origin allow-popups allow-presentation"></iframe>