0

我在这里有一个 youtube 嵌入代码:<iframe width="560" height="349" src="http://www.youtube.com/embed/F_sbusEUz5w" frameborder="0" allowfullscreen></iframe>

我想使用 Lightbox 2 的修改版本(称为 lytebox)显示,可在此处找到:http: //www.dolem.com/lytebox/

提前致谢。

4

2 回答 2

1

最简单的一个是:将您的 iframe 保存在不同的 html 页面中并通过 lytebox 加载此页面

<a href="http://yoursite.com/yourpage.html" rel="lyteframe" title="title" 
rev="lytebox styling">Your video name</a>

您也可以直接使用嵌入链接而不是页面

于 2011-06-07T04:50:59.543 回答
1

尝试这个,

<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-07T04:47:54.460 回答