« SpaceHey Forum

YouTube embeds won't play on my profile.

Hello, for some reason YouTube embeds won't work on my profile at all. I just get a message saying "www.youtube.com refused to connect." Can anyone else verify if it's working on their end?


Here is the code I'm using:

<iframe width="450" height="315" src="https://www.youtube.com/watch?v=QvNGiTCHpek" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen=""></iframe>
<style> 

I can't see anything in the code that will make it "refuse to connect."


Report Topic

2 Replies

Sort Replies:

Reply by saturnstellar✧˖*°࿐

posted
updated

I think we're using the same code. But yours lacks the loading and embed codes. Which may play a huge part. 


Try this (it has the video and sizes you placed in your own code)

<iframe width="450" height="315" src="https://www.youtube.com/embed/QvNGiTCHpek//?&;amp;;autoplay=1&;loop=1&;controls=1" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="" loading="lazy">
</iframe>


Permalink Report Reply