我这里有一个 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/
提前致谢。
最佳答案
试试这个,
<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>
关于javascript - 如何使用 lytebox 显示 YouTube 视频?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6260652/