Home > front end >  Tons of errors when embedding webpages in HTML
Tons of errors when embedding webpages in HTML

Time:11-27

I can't seem to embed anything on my website. At first I thought it was just the YouTube embed but then I tested another webpage and it didn't work either. The errors I get seem to change at random. You can see all the different errors if you open the inspect panel.

Screenshot

https://blendertimer.com

Here's the code for the embed. (though I've tried multiple different code variations, none of which worked)

<iframe style="aspect-ratio: 16 / 9" width="100%" src="https://www.youtube.com/embed/jxU3c0Gjboo" id="latest-video-video"></iframe>

Any ideas? I've done some looking around, but can't seem to find a solution to this problem.

CodePudding user response:

For Youtube, you need to log-in to your account then watch a video.

Click on share and select embed.

You will then have the right code for your iframe.

Just paste the code in your html.

For some videos you must click on "watch on Youtube".

CodePudding user response:

your embed showed up just fine for me although i can not interact with it on your website there seem to be no errors

  • Related