Web Plugin Problems


(Riskbreaker) #1

I’ve recently put a test page
upto see if I have embedded a blend file correctly to a web page and I cant seem to find the problem, I keep getting a blender player read error, and for others, the blend file doesnt even load.
I used :

Publisher 2.25 NaN
Plugin 2.25 NaN
and the embedding
code for the html:

<object classid=“clsid:5DB05CB8-7751-469D-A1DD-45C8C201C013” codebase=“BlenderPlayer.cab#Version=1,0,3,0” id=BlenderPlayer width=“640” height=“480”><param name=“data”
value=“Ronin.blend”><embedtype="application/x-blender-plugin"pluginspage=“http://www.blender.nl/plugin/loadplugin.php”; name=“NPBlender” width=“640” height=“480” src=“Ronin.blend”></embed> </object>
I took that code of an install html
that i got from pablosbrain.com

http://mysite.iptic.com/dfektstudio/blendtest.htm

Can anyone please tell me whats the go here?


(mthoenes) #2

MAybe this will help.
Here is a link to page with a working plugin. (Works in Internet Explorer - I am using IE 5.5) I am assuming you installed the plugin on your system using the .cab file. It can be a bit tricky. What OS and Browser are you using?

http://home.att.net/~holywordkids/computer01_realtime.html

Here is the html for the page:

<!doctype html public “-//w3c//dtd html 4.0 transitional//en”>
<html>
<head>
<meta http-equiv=“Content-Type” content=“text/html; charset=iso-8859-1”>
<meta name=“Author” content=“Michael Thoenes”>
<meta name=“GENERATOR” content=“Mozilla/4.76 [en] (Windows NT 5.0; U) [Netscape]”>
<title>Blender Plugin</title>
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#0000EE" vlink="#551A8B" alink="#FF0000">

Left click to activate. Use arrow keys and home key to manipulate.
Title: Computer01_model.blend

<object

classid="clsid:5DB05CB8-7751-469D-A1DD-45C8C201C013"
id=Blender3DPlugin
width = 320
height = 256&gt;
&lt;param name="blenderURL" value="computer01_realtime.blend"&gt;

&lt;param name="ForeColor" value=65280&gt;
&lt;param name="BackColor" value=255&gt;
&lt;param name="frameRate" value=20&gt;

<EMBED
type=“application/x-blender-plugin”
PLUGINSPAGE=“http://plugin.blender.nl
name=“NPBlender”
WIDTH=256
HEIGHT=320
SRC=“computer01_realtime.blend”
ForeColor=65280
BackColor=255
frameRate=20>
</EMBED>
</object>
</p>
</body>
</html>


(Yamyam) #3

The link “http://www.Blender.nl” is not available.
You have to change the URL of codebase and PLUGINSPAGE of your page to directory
that was put the Blender3DPlugin.cab(ex." http://www.yo.rim.or.jp/~yamyam/download/";))


(Riskbreaker) #4

mthoenes: Im using WinME and IE6, and thanx dude for the code example. I’ll see if i can port it to my page.

Yamyam: Thanx dude, i’ll try that too.

Try it again fellas and see if I’ve done it right this time:

http://mysite.iptic.com/dfektstudio/blendtest.htm


(Riskbreaker) #5

I GOT IT!!!:o

Thanx for the help fellas!! :smiley:

Controls:
Use arrow keys to view
+/- numpad to zoom in/out.


(Yamyam) #6

I can see your page now. :slight_smile: