Flash不能在Windows 8 / Internet Explorer 10上运行 [英] Flash not working on Windows 8 / Internet explorer 10

查看:233
本文介绍了Flash不能在Windows 8 / Internet Explorer 10上运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于某种原因,我的网页在Internet Explorer 10上没有显示Flash内容。它正在使用IE的早期版本。

我使用swfobject.js作为Flash内容。



以下是代码:

 < script type =text / javascript> 
swfobject.embedSWF(http://www.foobar.com/flash/movie.swf,noflash,223,154,9.0.0,http:// www .foobar.com /闪光/ expressInstall.swf);
< / script>

< div id =noflash>

< / div>

我注意到闪光灯在一些网站上工作,但不在我的网站上。



有什么可能是这里的问题?为了澄清,Internet Explorer 10和较高支持Windows 8及更高版本的Flash Player;但是,Internet Explorer中的现代化工作已经打破了SWFObject区分Internet Explorer和其他浏览器的能力。由于IE使用ActiveX控件而不是NPAPI或PPAPI插件,所以调用是不同的,IE中的更改会注入许多站点上现有JavaScript的兼容性问题。



SWFObject是一个有用的库,它为标准的HTML对象和嵌入标签提供了额外的好处。我在SWFObject bugbase中看到了一些评论,说这个问题已经在SWFObject 2.1中解决了,但是在SWFObject 2.2中没有解决。我还没有测试过,但这可能是一个很好的短期解决方法。

否则,您可以找到大量的示例如何使用传统的HTML方法在您的网站上嵌入Flash内容。以下是语法的完整指南: https:// helpx.adobe.com/flash/kb/flash-object-embed-tag-attributes.html



通过JavaScript嵌入插件成为流行这个方法在二十一世纪初就开展了一些专利捕鱼活动,但是我相信知识产权所有人已经成功地从口袋里掏钱,回到了各自的山洞里。 Object和Embed标签在所有主流浏览器中都可以工作,并且在SWFObject获得更新之前是一种可行的解决方法。


For some reason my webpage does not showing flash content on Internet Explorer 10. It is working earlier versions of IE.

I'm using swfobject.js for the flash content.

Here is the code:

<script type="text/javascript">
    swfobject.embedSWF("http://www.foobar.com/flash/movie.swf", "noflash", "223", "154", "9.0.0", "http://www.foobar.com/flash/expressInstall.swf");
</script>

<div id="noflash">

</div>

I notice that the flash is working on some of the websites but not in mine.

What could be the problem here?

解决方案

To clarify, Internet Explorer 10 and higher supports Flash Player on Windows 8 and above; however, modernization efforts in Internet Explorer have broken SWFObject's ability to distinguish between Internet Explorer and other browsers. Because IE uses the ActiveX control as opposed to the NPAPI or PPAPI plug-in, the invocation is different and the changes in IE inject compatibility problems with existing JavaScript on many sites.

SWFObject is a useful library, and it provides some additional benefit to the standard HTML object and embed tags. I've seen some comments in the SWFObject bugbase saying that the issue is resolved in SWFObject 2.1, but not in SWFObject 2.2. I haven't tested it, but that might be a good short-term workaround.

Otherwise, you can find a ton of examples on how to use the conventional HTML approach to embed Flash content on your site. Here's a complete guide to the syntax: https://helpx.adobe.com/flash/kb/flash-object-embed-tag-attributes.html

Embedding plug-ins via JavaScript became popular as a method for working around some patent trolling activity in the early 2000s, but I believe that the IP holders successfully extorted money from the folks with deep pockets and have returned to their respective caves. Object and Embed tags work in all major browsers at this point, and are a viable workaround until such time as SWFObject gets an update.

这篇关于Flash不能在Windows 8 / Internet Explorer 10上运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆