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
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
X-Frame-Options
ALLOWALL