YouTube video unavailable

I wondered about the embedding of YouTube videos. I know that some of them are not allowed to be embedded outside specific sites so that can lead to an error message on a not containing such a link.

What I’m trying to do

Embed a YouTube video

Things I have tried

What I tried was circumventing this issue by embedding via an iframe. My snippet looks like this, it is the video I am talking about:

What I tried was circumventing this issue by embedding via an iframe. My snippet looks like this, it is the video I am talking about:

<div class=iframe-container> <iframe width="427" height="240" src="https://www.youtube.com/embed/Xmw_1wfUmFs" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> </div>

What I wonder about:

The above pasted snippet is properly displayed in mobile app (Android) but comes up as unavailable through Desktop (Windows 11)

Apart from that:

How can I go about in such a case? If push comes to shove, I would actually prefer embedding the website via iframe but could not succeed in any of the ways I found.

Any ideas of how to deal with it?

On a sidenote

This video is maybe one of the best talks on the topic that I know of and is well worth watching the 125 minutes.

Thanks so much for your patience

Either of these work?

<iframe src="https://youtu.be/Xmw_1wfUmFs"></iframe>

OR

<center>
	<iframe
		border=1
		frameborder=1 
		height=400 
		width=600
src="https://youtu.be/Xmw_1wfUmFs">
	</iframe>
</center>


Thanks @anon63144152 for the fast reply.

They do work embedding the YouTube pages but for the YOuTube video itself this does not make much sense.

What did you do with the one below the two snippets? This one renders fine in forum. What is the snippet behind it?

1 Like

Mmm, not good to get the whole page. :sob: Sorry it didn’t work.

I just pasted the URL into the post itself. No other snippet. Just the forum doing its own thing with linked videos.

https://youtu.be/Xmw_1wfUmFs

Heck. So why is this not working in a desktop note the same way?

1 Like

THANKS A LOT for trying anyway!

1 Like

No idea. Hopefully one of the developers will be able to help. :crossed_fingers:

Something odd going on.

Thansk, yes. That’s what I hope.
In my vault, this is the first video that does not show up. As I said: ONLY in Desktop, not in mobile…

1 Like

I tried creating a basic HTML page to see if the video would run locally on that—it wouldn’t.

And yet a different video will, which would suggest that there is nothing wrong with the local file, firewall, restrictions, etc.

Does that imply that the issue rests with YouTube and how it is handling specific videos? :exploding_head:

<!DOCTYPE html>
<html>
<body>

<h1>Heading</h1>

<iframe width="560" height="315" src="https://www.youtube.com/embed/Xmw_1wfUmFs" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>


<iframe width="560" height="315" src="https://www.youtube.com/embed/cBm95iCcX2E" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

</body>
</html>

Very weird.

I am decidedly not enough of a programmers mind to know why this is the case. Or how to check for the embedding permissions.

Anyone else have an idea?

I am facing the same issue, just trying the documented way to embed a video:

![](https://youtube.com/watch?v=gVqUUcYEn0s)

Funnily enough, also a BigThink video. I tested other videos and it works for them. Maybe BigThink is blocking embeds?

Could be, the videos in this thread also don’t work on my iPad. But other videos are working.

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