我在这里有一个youtube嵌入代码:<iframe width="560" height="349" src="http://www.youtube.com/embed/F_sbusEUz5w" frameborder="0" allowfullscreen></iframe>
我想使用名为lytebox的lightbox2的修改版本来显示它,可以在这里找到:http://www.dolem.com/lytebox/
提前谢谢。
发布于 2011-06-07 12:47:54
尝尝这个,
<a href="http://www.youtube.com/embed/F_sbusEUz5w" rel="lyteframe" rev="width: 560px; height: 349px; scrolling: auto;">Click here to view the video.</a>
发布于 2011-06-07 12:51:00
最简单的方法是:将iframe保存在不同的html页面中,并通过lytebox加载此页面。
<a href="http://yoursite.com/yourpage.html" rel="lyteframe" title="title"
rev="lytebox styling">Your video name</a>您也可以直接使用嵌入链接而不是页面
https://stackoverflow.com/questions/6260652
复制相似问题