Umair Umair - 2 years ago 101
HTML Question

My youtube embed code doesn't work on html website

<iframe width="420" height="315" src="//" frameborder="0" allowfullscreen></iframe>

I know its been posted around, but nothing's been working for me at the moment. I have HTML website and trying to put the html video youtube embed code, but its not working for me.
My site is online, very simple html.. And it has http in the video embed code as well..
I tried a lot, but cant get it working in any way.


Answer Source

You have to enable embedding first before the embed code will work from other websites.

  • Log in to
  • Click Edit on the video you want to embed
  • Click on Advanced Settings in the tab below
  • Click Allow Embedding to enable it under the Distribution options section.
  • Click Save Changes to save the new configuration.
  • Now your embed link is ready to be embedded on other websites!
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download