Flash/Java Applet 的 NPAPI 插件的替代品 [英] Alternative of NPAPI plugins for Flash / Java Applet

查看:28
本文介绍了Flash/Java Applet 的 NPAPI 插件的替代品的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的问题是关于 2014 年 12 月发布的不支持 NPAPI 插件的 chrome 公告.Firefox 也遵循同样的规定.我在我的旧应用程序之一中有一个基于 NPAPI 的插件,并且到目前为止运行良好,但在 chrome 和 Firefox 发布公告后,我正在寻找替代方案.

My question is regarding chrome announcement of Not supporting the NPAPI plugins post December, 2014. Firefox is also following the same. I have a NPAPI based plugin in one of my legacy application and that was doing well till now but after announcements from chrome and Firefox I am looking for alternative.

我想问专家:

  1. NPAPI 有哪些替代选项?

  1. What could be alternative options for NPAPI ?

对于新选项,我是否需要编写一些新组件,或者我可以围绕我的插件制作一些包装器并在我的应用程序中使用它.很少有例子会受到赞赏

For new Option, do I need to write some fresh component or Can I make some wrapper around My plugin and use it in my application. Few examples will be appreciated

其他选项是否特定于浏览器?

Will other options be browser specific?

任何帮助和建议将不胜感激.

Any help and suggestions will be highly appreciated .

推荐答案

这个问题不能笼统地回答:没有单一的替代方案可以让您完成 Flash &Java 插件可以.

This question can't be answered in general: There will be no single alternative that allows you to do everything that Flash & Java plugins can.

您需要弄清楚所有新 WebAPI 等不支持的具体需求.与您安装的本地服务或特定于浏览器的解决方案(如扩展程序、NaCl、...
)进行通信的替代选项无论您最终选择什么,您最终都将不得不重写您的解决方案.

You need to figure out what specifically you need that isn't supported by all the new WebAPIs etc. Alternative options to that are communicating with a local service you installed or browser-specific solutions like extensions, NaCl, ...
Whatever you end up choosing, you will end up having to rewrite your solution.

一旦遇到更具体的问题,就应该提出这些问题.

Once you run into more specific questions, you should ask those.

附注:Firefox 在不久的将来不会放弃 NPAPI 支持,但它开始将大多数插件默认为点击播放.

这篇关于Flash/Java Applet 的 NPAPI 插件的替代品的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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