使用Firefox处理缺少的QuickTime插件 [英] Handle missing QuickTime plugin with Firefox

查看:219
本文介绍了使用Firefox处理缺少的QuickTime插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用QuickTime插件显示360度全景文件的网页。显示360的代码如下所示:

 < object classid =clsid:02BF25D5-8C17-4B23-BC80- D3488ABDDC6Bcodebase =http://www.apple.com/qtactivex/qtplugin.cabheight =260width =320> 
< param name =srcvalue =/ images / x / 360 / x.pano>
< param name =autoplayvalue =true>
< param name =loopvalue =false>
< param name =controllervalue =true>
< / object>

我遇到的问题是当用户转到此页面时,正确的插件,浏览器的顶部会显示一条错误消息,说插件缺少显示页面,并且有一个按钮来安装缺少的插件。



点击按钮进入FirefoxPlugin Finder Service,它显示没有找到合适的插件。未知的插件(application / octet-stream)。

我的问题是,我怎样才能设置我的代码,所以Firefox认识到它需要Quicktime插件来显示内容,所以插件搜索服务建议用户安装QT插件,而不是这个通用的消息?
$ b

(FWIW当插件安装完成,这一切都完美,代码是罚款。)



 < embed src =/ images / x / 360 / x请尝试更改ur嵌入标记的pluginspage属性。泛oautoplay =trueloop =falsecontroller =true
pluginspage =http://www.apple.com/quicktime/height =260width =320>

 < embed src =/ images / x / 360 / x.panoautoplay =trueloop =falsecontroller =true
pluginspage =http://www.apple .com / quicktime / download /height =260width =320>

让我知道您是否有任何问题。


I have a web page that uses the QuickTime plugin to display a 360-degree panorama file. The code to display the 360 looks like this:

<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="260" width="320">
<param name="src" value="/images/x/360/x.pano">
<param name="autoplay" value="true">
<param name="loop" value="false">
<param name="controller" value="true">
<embed src="/images/x/360/x.pano" autoplay="true" loop="false" controller="true" pluginspage="http://www.apple.com/quicktime/" height="260" width="320">
</object>

The problem I'm running into is that when a user goes to this page and doesn't have the right plugin, an error message appears at the top of the browser, saying plugins are missing to display the page, and there's a button to install missing plugins.

Clicking the button goes to the Firefox "Plugin Finder Service," which displays the message "No suitable plugins were found. Unknown plugin (application/octet-stream)"

My questions is, how can I set up my code so Firefox recognizes that it needs the Quicktime plugin to display the content, so that the "Plugin Finder Service" suggests the user install the QT plugin, instead of this generic message?

(FWIW when the plugin is installed, it all works perfectly and that code is fine.)

解决方案

Try changing ur embed tag's pluginspage attribute from,

<embed src="/images/x/360/x.pano" autoplay="true" loop="false" controller="true" 
 pluginspage="http://www.apple.com/quicktime/" height="260" width="320">

to

<embed src="/images/x/360/x.pano" autoplay="true" loop="false" controller="true"
 pluginspage="http://www.apple.com/quicktime/download/" height="260" width="320">

Let me know if you have any issues.

这篇关于使用Firefox处理缺少的QuickTime插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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