Web plugin and server Windows

I’ve tried to run the blender-plugin on my website, but someting go wrong:

the “loading” bunny appear but the bar don’t progress. I’ve tried the same code on another website, where I have a small free account, and the plugin start!

What’s the problem? Maybe that the website were the plugin don’t start is a Windows hosting? (I don’t know the other website hosting machine).

The code that I used is this:

<object
classid=“clsid:5DB05CB8-7751-469D-A1DD-45C8C201C013”
id=“Blender3DPlugin”
width=“640”
height=“480”>
<param name=“blenderURL” value=“myprogram.blend”>
</object>
</p>

were “myprogram.blend” is my animation. I’ve tried also with

value = “http://www.mywebsite/myprogram.blend

but the problem is the same.

Please give me some suggestion.

Thanks

Alex

does your blend work in the game engine of 2.25?

Yes it work. I’ve also tried the little walkthrough model often used as example on the net, and it don’t work either.
I’ve tried to add a download link directly on the web page, like this:

Download My File

putting the .blend to be downloaded. But the download don’t start. The cause is a limitation of the extension that the user could download on my host windows server. Maybe the two problems are related?

Thank you for help, Alex

so you can’t make it work locally either?

No locally it works fine, without problem.

so the blend is not in the correct spot on the server? or at least not where your page says it is?

saying “the download doesn’t start” isn’t very helpful unless you can say WHY it doesn’t start. doesn’t it give an error?

There is no error message, as far as I can see, simply the loading bar don’t progress.

Here is the url of my test:

http://www.museovirtuale.org/mvprova.htm

this is the code of the page :

Download My File

<object
classid=“clsid:5DB05CB8-7751-469D-A1DD-45C8C201C013”
id=“Blender3DPlugin”
width=“640”
height=“480”>
<param name=“blenderURL” value=“http://www.museovirtuale.org/walkthrough_demo.blend”>
</object>
</p>

on “value” i’ve also tried:

value =“walkthrough_demo.blend”

but the problem remain.

The file walkthrough_demo.blend is on the root of my server. I’ve tried to put it on a folder, called “downloads” and to write

value =“downloads/walkthrough_demo.blend”

but… nothing.

But I’ve used the same code in a page in a free web space that I have on a “netscape” site, and here it worked!
Now don’t remember the url, tomorrow I’ll post you.

%| What can I do?

the page i got was the standerd somthing not right page
did you have the caps right on the file and is ther any spaces in the file name

When I was using the web plugin to display my games I found that one site worked fine aand another didn’t. The only difference I could see was the one that didn’t work had server animated banners and the one that worked didn’t.

jrt.

Here is the url of the working server:

http://mywebpage.netscape.com/abraccili/mvprova.htm

the code is the same of my site, here my url:

http://www.museovirtuale.org/mvprova.htm

In the first url all work fine, in the second all is stuck!

I’ve renamed my .blend file in wal.blend, to avoid errors with caps or spaces.

I don’t manage to see the difference between the two servers. About the server of the first url I don’t have any informations, about the second I know that is a window server.

Look also at the download problem. In the firs server you can download the file .blend (clicking on “download my file”), on the second the download don’t start.
The solution of this problem is that the .blend extension is not present in the MIME map of my windows server.
Maybe these to problems are related?

wow thats the weirdest thing i have ever seen i honastly cant see why that would work one server and not on a nother im pretty sure a mime type shouldent have anything to do with this a mime type is “A method used by Web browsers to associate files of a certain type with helper applications that display files of that type.” so you should be atleast able to download an unknow file type from a server if its not setup i looked at the source of both and thers nothing diffrent between them so im really stumped i need to look in to it but i have to work so it will be later on tonight after like 10 pm est
i do have proof that the blender embed works go here http://waynefox3.googlepages.com/Copyofblender3dembedcode.html
and see i ahve the cab for the plugin there to so you should be able to install it on ie atleast sorry firefox users i cant find the xpi for the firefox blender plugin install yet but it does work

---- sorry for one big post

Yes is really weird!

About the MIME problem I asked to my server assistance and they reply with this (I translate from italian):

MIME mapped on IIS on Hosting Windows 2003

Su Hosting Windows 2003 sono abilitate al server web le seguenti estensioni

On Hosting Windows 2003 the following extensions are enabled (or allowed):

MIME Maps
Extension Type

.323 text/h323
.3gp video/3gpp
.3gp audio/3gpp
.aaf application/octet-stream
.aca application/octet-stream
.acx application/internet-property-stream
etc…

where a .blend extension is not present.

according to them this is the reason why I can’t start a download of a .blend file on their server.
I don’t know if this is helpful. The whole thing is a mistery to me

well heres some food for though i have a web server abyss web server to be exact and i have used others that does not have a blender file tye mime type the only thing a mime type does from what ive seen is open in the browser an application to display said file eg… flash files are somthing like x-application/swf or what ever the mime type is for swf files

heres somthing i thought of yesterday when i got home does your server allow the upload if blender files some servers only allow certin files and will instantly delete files not allowed check to see if you files still there

you wouldent have any info about the 2 servers you showed in the last post
like free or paid file types allowed on the server ect…


it should work with out a mime type also because im pretty sure google doesent use one and i didnt have one on my server and the blender code still worked (throu the embed using the game engine to make somthing interactive and such not for the downloading part)

I check for my file and it’s still there. I don’t have a lot of informations about the two servers. The first server is a window server and, as far as I know, there is no problem with free or paid file type etc…
The second server is owned by netscape "
http://mywebpage.netscape.com". Maybe someone on this forum have an account with it and could give me some feedback.

thanks for the reminder

[netscape’s file manager is horrible…]

http://mywebpage.netscape.com/YinYangEvilSane/BlenderStuff/walkthroughCastleTextured.html

and it works just fine on my box [windows xp sp2] as a server, but I do have blender installed [I don’t know if iis cares]

I haven’t configured any mime types on my box and it works fine.

What you mean with the “box” that you use as a server? I apologise but I’m very ignorant in the matter

the word box is refered to a computer eg my box has windows

somthing else i thought of is maybe the codes wrong somewhere

may that be a possability?

ok i just did a little test and the one located on netscape works fine the walkthroudemo one atleast the other one the http://www.museovirtuale.org/mvprova.htm willl not get past the loading screen as mentioned earlyer i am absoloutly at a loss for words why this doesent work i really cant find anything wrong but theres somthing im not seeing


heres the codes i used to test maybe somting can be discovered from here




&lt;object
 classid="clsid:5DB05CB8-7751-469D-A1DD-45C8C201C013"
 id=Blender3DPlugin
 width = 640
 height = 480
 codebase="http://waynefox3.googlepages.com/Blender3DPlugin.cab#Version=2,25,4,0"&gt;
 
&lt;param name="blenderURL" value="http://mywebpage.netscape.com/abraccili/wal.blend"&gt;

 &lt;param name="ForeColor" value=65280&gt;
 &lt;param name="BackColor" value=255&gt;
 &lt;param name="useFileBackColor" value=1&gt;
 &lt;param name="frameRate" value=20&gt;
 
 &lt;EMBED
   type="application/x-blender-plugin"
   PLUGINSPAGE="http://plugin.blender.nl"
   name="NPBlender"
   WIDTH=640
   HEIGHT=480
   SRC="http://mywebpage.netscape.com/abraccili/wal.blend"
   
   ForeColor=65280
   BackColor=255
   useFileBackColor=1
   frameRate=20&gt;
  &lt;/EMBED&gt;

 &lt;/object&gt;
&lt;/p&gt;


the above worked

the below didnt

 


&lt;object
 classid="clsid:5DB05CB8-7751-469D-A1DD-45C8C201C013"
 id=Blender3DPlugin
 width = 640
 height = 480
 codebase="http://waynefox3.googlepages.com/Blender3DPlugin.cab#Version=2,25,4,0"&gt;
 
&lt;param name="blenderURL" value="http://www.museovirtuale.org/wal.blend"&gt;

 &lt;param name="ForeColor" value=65280&gt;
 &lt;param name="BackColor" value=255&gt;
 &lt;param name="useFileBackColor" value=1&gt;
 &lt;param name="frameRate" value=20&gt;
 
 &lt;EMBED
   type="application/x-blender-plugin"
   PLUGINSPAGE="http://plugin.blender.nl"
   name="NPBlender"
   WIDTH=640
   HEIGHT=480
   SRC="http://www.museovirtuale.org/wal.blend"
   
   ForeColor=65280
   BackColor=255
   useFileBackColor=1
   frameRate=20&gt;
  &lt;/EMBED&gt;

 &lt;/object&gt;
&lt;/p&gt; 

now the only diffrence is that i have a copy of the plugin cab on my site and i linked that there


ok just noticed somthing else i used ie to view and well it will do blender in the sence that the embed code works because the loading screen comes up im thinking that directory where that files located is wrong some where

like “www.domain.com/subdirectory1/file.blend
it might be “www.domain.com/subdirectory2/file.blend
somthing like that maybe??

— what do you us to upload files to the “http://www.museovirtuale.org” site?

ok somthing just occured to me i looked at the sites with ie and i think i know whats going on the file its looking for wal.blend or wallll.blend what ever one its looking for is not there thats why the loading screen doesent go away or the files not where the source is pointing to makesure the files is where the source points to or make the source point to the file
eg

the files located here at “http://waynefox3.googlepages.com/webtest.blend

my source looks like this

 



&lt;object
 classid="clsid:5DB05CB8-7751-469D-A1DD-45C8C201C013"
 id=Blender3DPlugin
 width = 640
 height = 480
 codebase="Blender3DPlugin.cab#Version=2,25,4,0"&gt;
 
&lt;param name="blenderURL" value="webtest.blend"&gt;

 &lt;param name="ForeColor" value=65280&gt;
 &lt;param name="BackColor" value=255&gt;
 &lt;param name="useFileBackColor" value=1&gt;
 &lt;param name="frameRate" value=20&gt;
 
 &lt;EMBED
   type="application/x-blender-plugin"
   PLUGINSPAGE="http://plugin.blender.nl"
   name="NPBlender"
   WIDTH=640
   HEIGHT=480
   SRC="webtest.blend"
   
   ForeColor=65280
   BackColor=255
   useFileBackColor=1
   frameRate=20&gt;
  &lt;/EMBED&gt;

 &lt;/object&gt;
&lt;/p&gt;

just as long as the file is located in the root of a webserver the source will work using the SRC=“webtest.blend”

in your case the stuff should look like this

the files located here at
http://www.museovirtuale.org/wal.blend

your source should look like this

 



&lt;object
 classid="clsid:5DB05CB8-7751-469D-A1DD-45C8C201C013"
 id=Blender3DPlugin
 width = 640
 height = 480
 codebase="http://download.blender.org/release/plugin/Blender3DPlugin.cab#Version=2,25,4,0"&gt;
 
&lt;param name="blenderURL" value="wal.blend"&gt;

 &lt;param name="ForeColor" value=65280&gt;
 &lt;param name="BackColor" value=255&gt;
 &lt;param name="useFileBackColor" value=1&gt;
 &lt;param name="frameRate" value=20&gt;
 
 &lt;EMBED
   type="application/x-blender-plugin"
   PLUGINSPAGE="http://plugin.blender.nl"
   name="NPBlender"
   WIDTH=640
   HEIGHT=480
   SRC="wal.blend"
   
   ForeColor=65280
   BackColor=255
   useFileBackColor=1
   frameRate=20&gt;
  &lt;/EMBED&gt;

 &lt;/object&gt;
&lt;/p&gt;

try that file off the root “http://www.museovirtuale.org/wal.blend
and the source like the one directly above

if this dosent work theres somthing wrong with the server its going on
thats the only other thing i can come up with

Unfortunately I think that the problem is hopeless!

I’ve put your first code

  


 
&lt;object 
 classid="clsid:5DB05CB8-7751-469D-A1DD-45C8C201C013" 
 id=Blender3DPlugin 
 width = 640 
 height = 480 
 codebase="Blender3DPlugin.cab#Version=2,25,4,0"&gt; 
  
&lt;param name="blenderURL" value="webtest.blend"&gt; 

 &lt;param name="ForeColor" value=65280&gt; 
 &lt;param name="BackColor" value=255&gt; 
 &lt;param name="useFileBackColor" value=1&gt; 
 &lt;param name="frameRate" value=20&gt; 
  
 &lt;EMBED 
   type="application/x-blender-plugin" 
   PLUGINSPAGE="http://plugin.blender.nl" 
   name="NPBlender" 
   WIDTH=640 
   HEIGHT=480 
   SRC="webtest.blend" 
    
   ForeColor=65280 
   BackColor=255 
   useFileBackColor=1 
   frameRate=20&gt; 
  &lt;/EMBED&gt; 

 &lt;/object&gt; 
&lt;/p&gt;

in both my web space, and I put your file, webtest.blend, in the root of both server. Here the two url of the sites:

http://www.museovirtuale.org/webtest.htm

and

http://mywebpage.netscape.com/abraccili/webtest.htm

in the second all is right, but in the first the plug-in don’t start…

I’ve also put your second code:



 
&lt;object 
 classid="clsid:5DB05CB8-7751-469D-A1DD-45C8C201C013" 
 id=Blender3DPlugin 
 width = 640 
 height = 480 
 codebase="http://download.blender.org/release/plugin/Blender3DPlugin.cab#Version=2,25,4,0"&gt; 
  
&lt;param name="blenderURL" value="wal.blend"&gt; 

 &lt;param name="ForeColor" value=65280&gt; 
 &lt;param name="BackColor" value=255&gt; 
 &lt;param name="useFileBackColor" value=1&gt; 
 &lt;param name="frameRate" value=20&gt; 
  
 &lt;EMBED 
   type="application/x-blender-plugin" 
   PLUGINSPAGE="http://plugin.blender.nl" 
   name="NPBlender" 
   WIDTH=640 
   HEIGHT=480 
   SRC="wal.blend" 
    
   ForeColor=65280 
   BackColor=255 
   useFileBackColor=1 
   frameRate=20&gt; 
  &lt;/EMBED&gt; 

 &lt;/object&gt; 
&lt;/p&gt;

in my museovirtuale.org space, with my wal.blend file in the server root, here
http://www.museovirtuale.org/wal.htm
and nothing… it don’t work.

It seems a server problem, as you say, is like the plug-in is unable to find the .blend file (when the .blend file is really not present on the server the plugin stop in the same manner). But how help the server to find the file I don’t know.