使用 JavaScript 检测 Android 浏览器设置
在 Android 浏览器中,您可以将“启用插件”设置为“始终打开”、“按需”、“关闭”。
这导致当 Flash 影片嵌入到浏览器页面中时,您需要点击箭头才能启动影片。
现在我的问题是,有什么方法可以通过 javascript 或类似的方式检测此设置吗? 这样我就可以嵌入 Flash 电影或使用解决方法?
谢谢!
In the android browser you can set "Enable Plug-ins" to "Always On", "On Demand", "Off".
this leads to the fact that when a flash movie is embedded into a browser page, you need to tap on an arrow to start the movie.
now my question is, is there any way to detect this setting via javascript or similar?
so that i can embed a flashmovie or use a workaround?
thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用
navigator.plugins
API:确定开/关状态。
按需状态是不确定的。
参考资料
适用于 Internet Explorer 11 和 Microsoft Edge 的 Flash Player 指南
面向未来的 Flash Player 检测脚本 | Adobe 开发人员连接
适用于 Flash Player 的 Adobe Flash Player 管理指南| Adobe 开发人员
连接
默认为 HTML5 Google Chrome - Flash Player - AS3Lang 社区
如何检测 IE8 中 Adobe Flash Player 插件的启用/禁用状态 - CodeProject
Use the
navigator.plugins
API:to determine the on/off state.
The on demand state is indeterminate.
References
Flash Player guidance for Internet Explorer 11 and Microsoft Edge
Future-Proofing Flash Player Detection Scripts | Adobe Developer Connection
Adobe Flash Player Administration Guide for Flash Player | Adobe Developer
Connection
HTML5 by Default for Google Chrome - Flash Player - AS3Lang Community
How to detect adobe flash player addon's enable/disable status in IE8 - CodeProject