Embedding Youtube videos

I know this question has been asked before but none of the solutions work.
Students are trying to embed youtube videos onto their websites. When they copy and paste the embed code from youtube, they receive an error that iFrame is not allowed. So we remove iframe from the embed code and replace with video. Still no video. Any thoughts?
We even tried using the W3 schools tutorial for help like this,

No video, but we do get a grey box.
Here is a link to my project

Update! We have had success replacing the iframe with embed. Here is the code used

1 Like

embed width=“320” height=“240”
source src=“YouTube” title=“YouTube video player” frameborder=“0” allow=“accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture” allowfullscreen

surround with < >

1 Like