I\'m writing a site where content is loaded dynamically via jQuery. The reason for this is to leave an audio player running while being able to navigate through page conten
You only need copy the from Youtube Embed section (click on SHARE below the video and then EMBED and copy the entire iframe). You can't add the youtube link directly from url
The error means that the document may only be used as iframe inside documents located at www.youtube.com
Use the URL of the embed-code instead:
http://www.youtube.com/embed/myvideo
it will send a X-Frame-Options
-header with a value of ALLOWALL