Fancybox Youtube频道嵌入 [英] Fancybox Youtube Channel Embed
问题描述
希望这是一个简单的方法-我正在尝试将我的YouTube频道(似乎不是所有现有答案所针对的特定视频)嵌入到Fancybox中.弹出窗口看起来不错,但是由于Youtube的
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
...内容未显示.我已经在URL中包含了origin参数,但是由于上述原因,我仍然被拒绝.我可能只是对频道或类似内容使用了错误的语法:有人可以帮忙吗?我正在使用的URL(没有成功)在下面(实际的渠道/域替换了):
... 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/
推荐答案
对我来说很好- http://jsfiddle. net/aTgsN/
这篇关于Fancybox Youtube频道嵌入的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!