在页面加载时在shadowbox中加载视频
16lz
2021-01-22
I need to load a video in shadowbox when the homepage loads I need to know what the code would be and specifically where the onload code would go to make this happen Thank you DeZiner76hd
我需要在主页加载时在shadowbox中加载视频我需要知道代码是什么,特别是onload代码会在哪里实现这一点谢谢DeZiner76hd
1 个解决方案
#1
Well, the actual details would depend on the shadowbox code you use. I'd recommend looking into jquery as there are a number of shadowbox/lightbox plugins for it. For the actual video I assume you'll be using flash. If this is the case you'll also want to look into swfobject (which also has a good jquery plugin) for handling the embedding.
那么,实际细节将取决于您使用的shadowbox代码。我建议调查jquery,因为它有很多shadowbox / lightbox插件。对于实际视频,我假设您将使用闪光灯。如果是这种情况,您还需要查看swfobject(它还有一个很好的jquery插件)来处理嵌入。
更多相关文章
- jQuery分页插件jBootstrapPage,一个Bootstrap风格的分页插件
- arcgis api for js入门开发系列十 自定义Navigation控件样式风格
- 五十行javascript代码实现简单的双向数据绑定
- 在内容可编辑DIV中的选定文本周围包装bb代码
- Cordova相机插件ios11无法从库中选取图像
- javascript适合移动端的响应式瀑布流插件实例演示
- 常用验证JS代码基础及实例
- 试着在我的javascript代码中理解“this”(一件事有效,另一件没有)
- 代码点火-如何从控制器返回Json响应