FancyVideo Light Box - 在页面加载时显示
我正在使用 fancyVideo 灯箱(http://chadly.net/demos/video-lightbox.html)来创建一个灯箱,并在单击链接时显示 YouTube 视频。
请参阅编码:
<div class="messageContainer" div id="watch_video">
<div class="containerWarning3" style="color:#f96f00">
<center><h2>Watch <a href="http://www.youtube.com/watch?v=gVLt2dMKx6k&feature=aso" rel="fancyvideo">this funny video</a> It is a good watch</h2></center>
</div>
</div>
但我现在希望灯箱出现在页面加载时,即不需要单击“观看视频”链接。选项?有想法吗?
谢谢。
I am using fancyVideo light box (http://chadly.net/demos/video-lightbox.html) to have a light box and YouTube video show when a link is clicked.
See coding:
<div class="messageContainer" div id="watch_video">
<div class="containerWarning3" style="color:#f96f00">
<center><h2>Watch <a href="http://www.youtube.com/watch?v=gVLt2dMKx6k&feature=aso" rel="fancyvideo">this funny video</a> It is a good watch</h2></center>
</div>
</div>
But I would now like to have the lightbox appear on page load ie so no need to click the Watch video link. Options? Ideas?
Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您必须通过 jQuery 触发该函数:
但是这是假设甚至可以触发 Flash 视频来播放 jQuery。我真的不知道是不是
You will have to trigger the function via jQuery:
But that's assuming it's even possible to trigger a Flash video to play jQuery. I don't really know if it is