1

如果我使用带有 swfobject 2.2 的 jquery 媒体插件,我会在 IE 中得到一个“未知的运行时错误”。

它在 FF 和其他浏览器中运行良好。

如果我删除 swfobject.js,则媒体可以正常工作,因为它使用简单的对象/嵌入标签加载。

但我也需要使用 swfobject (用于其他事情)。

有没有人遇到过这个或修复?

一个。

4

2 回答 2

1

尝试为您的视频元素设置id属性。

<a class="media" href="video.flv" id="specimen_video">Specimen Video</a>

我有类似的问题,它对我有帮助。

于 2010-05-19T11:44:00.400 回答
0

尝试使用 jQuery 没有冲突。

jQuery.noConflict();
// Do something with jQuery
jQuery("div p").hide();
// Do something with another library's $()
$("content").style.display = 'none';
于 2010-03-02T17:09:44.007 回答