【问题标题】:jQuery shadowbox video not working in IE7jQuery shadowbox 视频在 IE7 中不起作用
【发布时间】:2014-01-18 00:07:33
【问题描述】:

shadowbox 视频插件在 IE7 中无法运行,但在 Firefox 和 Safari 中运行良好。

任何 cmets 将不胜感激。

网站:

http://www.carolinedawes.com.au/update/abc-gardening-australia.html

HTML:

<a href="m/abc-gardening-australia-caroline-dawes.mov" rel="shadowbox;height=272;width=480">
<img src="i/abc-gardening-australia-caroline-dawes-gardening-adelaide.jpg" alt="caroline dawes" />
</a>

Javascript:

<script type="text/javascript">
Shadowbox.init({
    players:    ["qt"]
});
</script>

【问题讨论】:

  • 在 FF 中似乎也不起作用。
  • 我让它在 Mac 上的 FF 3.5.3 和 Safari 4.0.3 中工作
  • FF 3.5 on XP 我收到以下错误:“未捕获的异常:未知播放器:html”。
  • 根据shadowbox-js.com/usage.html - quicktime 视频被 'players: ["qt"]' 调用
  • 适用于我:ff 3.5.3,即 XP 上的 7 和 8

标签: javascript jquery html css shadowbox


【解决方案1】:

我知道这是一个非常古老的问题,但从看起来你可能对 IE 的 Dom:ready 事件顺序有问题,Voyta 在这里回答得很好:Shadowbox not working in IE

希望这对遇到此问题的其他人有所帮助。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2010-10-21
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多