HTML script for Blender Plug-In


(skuntz) #1

Reading throught the tutorials on how to use the plug-in it says “insert the following code into HTML…” but doesn’t tell you the code! Anybody know the answer? :-?


(z3r0 d) #2

 

	<object classid="clsid:5DB05CB8-7751-469D-A1DD-45C8C201C013" 
        codebase="http://download.blender.org/release/plugin/Blender3DPlugin.cab#Version=2,25,4,0"
        id=BlenderPlayer width="640" height="480">
        <param name="blenderURL" value="webnevaeh2.blend">
    <embed
    type="application/x-blender-plugin"
    pluginspage="http://www.blender3d.org/BlenderProducts/plugin_download_netscape.php"; name="NPBlender" 
    width="640" height="480" src="webnevaeh2.blend">
    </embed> 
    </object>		



The the width, height, and blender file url appear two times.
This was copied from http://www.blender3d.org/3DInAction/gallery/plugins/nevaeh.php

View the source of plugin pages to see how they work.

Oh, yeah, It seems the url mentioned in the object (for IE) code as the location of the plugin has changed in the past couple months. Previously installed plugins should still work because of the application/x-blender and the classid bits.