iPad JS 上的 Flash
现在我们都知道 iPad 上不支持 Flash。
但我的问题是 iPad 是否会返回某种我们可以在 Javascript 中捕获的错误。我知道一种选择是从 UA 字符串中检测 iPad。但想知道调用 Flash 时可以在 JS 中捕获什么内容,无论是作为直接的 .swf 请求还是在某些包含 html 文件中?
Now we all are aware that there is no Flash supported on the iPad.
But my question is does the iPad return some kind of error which we can capture in Javascript. I know one option is just to detect iPad from UA string. but wanted to know what can be captured in JS when Flash is called , either as a direct .swf request or within some containing html file?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
开发页面时就像 Flash 不可用一样。使用 JavaScript 检测 Flash 是否存在,并在页面加载期间添加它。
Develop the page as if Flash wasn't available. Detect the presence of Flash with JavaScript and add it in during page load.