I'm using the XPI file (this one : http://ff-activex-host.googlecode.com/files/axhost.9a7774f37d.xpi).
I tried with a portable version of Firefox 3.5.6 and another portable
Firefox 3.0.15, and also with a normal Firefox 3.5.6.
I have the last Firebug installed on my Firefox.
I tried the different examples found in this group but none works.
Basically there is no error message in Firebug and when I call the
getElementById on my OBJECT then I find it but it's just a normal html
node.
Here one of the things I tried:
<html>
<head>
<title>Untitled 1</title>
</head>
<body>
<object
id="Control"
TYPE="application/x-itst-activex"
ALIGN="baseline" BORDER="0"
WIDTH="300" HEIGHT="300"
clsid="{D27CDB6E-AE6D-11cf-96B8-444553540000}"
progid="progid:ShockwaveFlash.ShockwaveFlash"
event_OnReadyStateChange="OnReady"
param_src="http://www.youtube.com/v/53RdNYwImYc">
</object>
<script type="text/javascript">
function OnReady() {
alert("Ok");
}
</script>
</body>
</html>
------
The function OnReady() is never called and the webpage is just
blank....
In Firebug no error message. Then I can do that:
>>> document.getElementById("Control")
<object id="Control" width="300" height="300" border="0"
align="baseline" param_src="http://www.youtube.com/v/53RdNYwImYc"
event_onreadystatechange="OnReady"
progid="progid:ShockwaveFlash.ShockwaveFlash" clsid="{D27CDB6E-
AE6D-11cf-96B8-444553540000}" type="application/x-itst-activex">
------
FYI if I don't have the plugin installed, then Firefox tells me that a
plugin is required.
Any ideas? Cheers.
logger="logger" debugLevel="5"
<div><span id='log'></span></div>
<script type="text/javascript">
function logger(msg) {
document.getElementById('log').innerHTML += msg + '<br/>';
}
</script>
--
You received this message because you are subscribed to the Google Groups "ff-activex-host" group.
To post to this group, send email to ff-acti...@googlegroups.com.
To unsubscribe from this group, send email to ff-activex-ho...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ff-activex-host?hl=en.
Nothing happens in adding logging things....
So, then I tried to install ffactivex-setup-9a7774f37d.exe and now it
works! But I'd prefer to propose to my user to install a Firefox
plugin instead of an .exe file.... Can you confirm me that the FF
plugin can be used without installing the .Exe file ?
FYI I'm using a corporate computer with Vista 32bits and Firefox
3.5.6.
--
Jarod_
On 7 jan, 11:08, Leeor Aharon <leeor.aha...@gmail.com> wrote:
> Hi Jarod,
>
> Sorry it took me a while to answer.
>
> Can you please add the following attributes to the object tag so that we'll
> get some more debug messages:
>
> logger="logger" debugLevel="5"
>
>
>
> Also, add this to the html:
>
> <div><span id='log'></span></div>
>
> > <script type="text/javascript">
> > function logger(msg) {
> > document.getElementById('log').innerHTML += msg + '<br/>';
> > }
> > </script>
>
> The fact that you're not seeing any error message in Firebug and the OnReady
> handler is not called is very strange. When you access the document element
> you should get the object printed in the Firebug console. Only attempting to
> access a member of the element will attempt to access an ActiveX element.
> So, the output you see when you type document.getElementById("Control") is
> fine, but you should type document.getElementById("Control").Version or try
> to access some other member (maybe readystate, you can use oleview32 to see
> the members) to see whether the ActiveX was loaded.
>
> Leeor.
>
> > ff-activex-ho...@googlegroups.com<ff-activex-host%2Bunsu...@googlegroups.com>
To unsubscribe from this group, send email to ff-activex-ho...@googlegroups.com.
On 7 jan, 15:07, Leeor Aharon <leeor.aha...@gmail.com> wrote:
> You can use the XPI archive. It's just another way to package the plugin.
>
> > <ff-activex-host%2Bunsu...@googlegroups.com<ff-activex-host%252Buns...@googlegroups.com>
To unsubscribe from this group, send email to ff-activex-ho...@googlegroups.com.
I'm just trying with the ShockwaveFlash example for now.
About Firefox I'm using right now the non-portable version just
updated to 3.5.7 (and I tried with a portable version just to be sure
there is no conflict with another plugin).
I use the XPI downloaded from your google group (Firefox says the
plugin version is 1.1) and I didn't change anything in it (I'm not
sure I'm able to compile it at all...)
Cheers.
On Jan 7, 3:54 pm, Leeor Aharon <leeor.aha...@gmail.com> wrote:
> Hmm, are there any error messages in firebug or the logging element when
> working with the XPI? Basically, both the XPI and the EXE installer are
> using the same dll. Is it true to any ActiveX you're using? Or just a
> specific one? Also, did you test the XPI only on a portable version?
>
> > > > <ff-activex-host%2Bunsu...@googlegroups.com<ff-activex-host%252Buns...@googlegroups.com>
> > <ff-activex-host%252Buns...@googlegroups.com<ff-activex-host%25252Bun...@googlegroups.com>
--
You received this message because you are subscribed to the Google Groups "ff-activex-host" group.
To post to this group, send email to ff-acti...@googlegroups.com.
To unsubscribe from this group, send email to ff-activex-ho...@googlegroups.com.
Here is what I have in my registry (it's a screenshot hosted by
imageshack) :
http://url.ie/4lhg
And here is my HTML code:
http://url.ie/4lhh
I'm really appreciate your help on this one.
FYI I'd like to use your plugin to work with Excel.Application in
order to manipulating Excel with Javascript. I have some limitations
so I have to use the client side to do it, it's why I'm using ActiveX.
It works great with IE but I'd like to make it enable for Firefox as
well...
Thanks.
On 7 jan, 16:46, Leeor Aharon <leeor.aha...@gmail.com> wrote:
> This is most likely due the registry authorization mechanism.
>
> The binary installer creates the needed registry keys as part of the install
> process, but the XPI does not. To make sure this is the reason, please add
> the following keys to your registry, under HKLM, with the installer version
> not installed:
> "SOFTWARE\MozillaPlugins\@itstructures.com/ffactivex
> \MimeTypes\application/x-itst-activex\clsid\*"
> "SOFTWARE\MozillaPlugins\@itstructures.com/ffactivex
> \MimeTypes\application/x-itst-activex\progid\*"
> "SOFTWARE\MozillaPlugins\@itstructures.com/ffactivex
> \MimeTypes\application/x-itst-activex\codeBaseUrl\*"
>
> Under each of these keys, create a string named "*" with the value true, and
> verify that the plugin works.
> I should probably package a different DLL in the XPI, one that is not using
> the registry mechanism.
>
> For your needs, you can compile your own DLL (which is the recommended
> approach, especially when using an XPI) that is not using the registry
> authorization and is locked to your ActiveX and web site.
>
> Let me know if this solves your issue.
>
> > ff-activex-ho...@googlegroups.com<ff-activex-host%2Bunsu...@googlegroups.com>
To unsubscribe from this group, send email to ff-activex-ho...@googlegroups.com.
If you have any more information, please share them here ;-)
Thanks again!
On Jan 7, 5:28 pm, Leeor Aharon <leeor.aha...@gmail.com> wrote:
> Ok, I have to admit that I'm slightly less familiar with the registry
> authorization mechanism than the rest of the plugin code, since that
> mechanism has been developed by Ruediger and I am not using it personally. I
> am still compiling my own DLL with hard coded class IDs and prog IDs. Same
> holds for site lock URLs. If you are able to compile your own version of the
> DLL, I suggest that you do, and change the MIME type to something unique to
> your application as well.
>
> Otherwise, maybe I got this authorization registry keys a bit wrong and
> Ruediger could shed some light. I am unable to debug here locally it any
> further atm. Hopefully, I'll be able to do that next week, though it's
> shaping up to be a busy one.
>
> Leeor.
>
> > <ff-activex-host%2Bunsu...@googlegroups.com<ff-activex-host%252Buns...@googlegroups.com>
The first asterisk (part of the keyname) is the wildcard for the
allowed document url, the second asterisk (value name) is the wildcard
for the allowed clsid or progid.
Ruediger
Thanks Ruediger
On Jan 7, 5:43 pm, "ruediger.jungbeck" <ruediger.jungb...@rsj.de>
wrote: