0

Hopefully a simple one - I'm trying to embed my Youtube channel (not a specific video, which is what all existing answers are aimed at, it seems) in a Fancybox. The popup appears fine, but due to Youtube's

    X-FRAME-OPTIONS: SAMEORIGIN

... the content isn't displaying. I've included the origin parameter in the URL, but I still get denied due to the above. I'm probably just using the wrong syntax for channels or similar: could anyone help? The URL I'm using (without success) is below (actual channel/domain substituted):

    http://www.youtube.com/embed?listType=user_uploads&list=MyChannelName&origin=http://www.mydomain.com/
4

1 回答 1

1

对我来说很好 - http://jsfiddle.net/aTgsN/

于 2012-07-31T09:21:07.380 回答