Forum Moderators: open

Message Too Old, No Replies

OBJECT tag problem

Activex control in object tag not getting loaded

         

bbarodia

11:05 pm on Sep 3, 2009 (gmt 0)

10+ Year Member



Hi, I have a file which works well when i run it from my local machine. it has an object tag and uses classid to load the activex control for displaying video. however when i upload it onto a webserver , the control wont load on the same machine. Is it because my control isnt registered on the server?
if thats the case how do i register it on a unix server?

Thank you very much !

rocknbil

2:47 am on Sep 4, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome aboard bbarodia, my ActiveX is a little rusty but it's the browser that downloads/reads the object, not the server. I would look at path issues. If possible, try using a full URL or at least one relative to root. For example, on the site example.com, the following are equivalent, but the second is portable to any domain:

src="http://www.example.com/images/some-file.jpg"
src="/images/some-file.jpg"

The leading slash means "start at domain root and follow this path."

The second place to look is, are there any dependency files for your object that are present locally but not getting uploaded that might cause it to break?

bbarodia

2:57 am on Sep 4, 2009 (gmt 0)

10+ Year Member



I am using Classid. It has a key which is registered in the windows registry. Even i was of the opinion that the browser reaches out in the cache and gets the control. I asked my prof and he said the server wud give it to the browser.
I dont kno how do i check for dependent files.
Coz theres this object tag and it has a classid as i mentioned which can be indexed in the registry to find the class, which i then execute using my JavaScript.

will try to run the same files locally on another machine again to test for dependencies though.........but i doubt it.