Joined: May 12, 2013
Post Count: 1545
Status:
Offline
Re: Export to HTML5 plug-in
Before I start updating the lib directory: Are Export to HTML5 plug-in 1.2 lib/*.js files compatible with older files (.zip and viewHome.html). Just about to export a couple of new homes, but would wish for the earlier to work as well. Or the other way around - that the existing 1.0/1.1 js files can deal with the new export.
Not a big problem, and fully understandable if not, just curious if I need to set aside some extra time to redo the old files. Will at some point anyway.
Joined: May 12, 2013
Post Count: 1545
Status:
Offline
Re: Export to HTML5 plug-in
Thanks. We will see whether I take the chance... - or do the entire presentation differently. Btw. I experienced some trouble. Updating files and viewing with Opera, some of the settings (the .zip file maybe) must have been cached somewhere, because the virtual visitor location refused to change even if the files were updated on the server. Spent a frustrating 30 minutes trying to figure out why my virtual visitor was always far underground even if the files were updated. But then I tried another browser. Probably nothing you can do about that - but good to know if someone is struggeling with updating their exports. Just try another browser (or clear all cached files).
Anyway. The HTML export really is a nice tool. Just to let you know your efforts are appreciated. ok
France
Joined: May 17, 2017
Post Count: 1
Status:
Offline
Re: Export to HTML5 plug-in
Hello Emmanuel, Thanks for you very nice work ! Sorry to ask this question but I find this plugin very useful so I downloded it After adding the plugin "exporter en hmtl", I" got a a zip file and tried to open with Firefox the file "ViewHome.
Here's the error message I got :
Error: ReferenceError: viewHome is not defined
I put myself as a customer receiving his plan to see how is was, and it was not.
My laptop is pretty new, with Windows 10 pro and I use mainly Firefox. Perhaps I need another plugin or software to see it work
Thanks a lot for your help and have a very nice day.
France
Joined: Nov 7, 2005
Post Count: 9176
Status:
Offline
Re: Export to HTML5 plug-in
Maybe you moved or didn't include the lib folder that contains the JavaScript program required by the HTML page?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
France
Joined: Nov 7, 2005
Post Count: 9176
Status:
Offline
Re: Export to HTML5 plug-in
If you look at the source code of your html file, you'll see that it consists of a few HTML5 and JavaScript tags. Searching how to integrate JavaScript and how to integrate a canvas in Wordpress should give you a solution.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
Russia
Joined: Apr 4, 2017
Post Count: 18
Status:
Offline
Re: Export to HTML5 plug-in
It will be too cumbersome to implement. Can then show this code in a frame? And how to make the 3D object rotate with fingers on mobile devices? I do not spin.
Russia
Joined: Apr 4, 2017
Post Count: 18
Status:
Offline
Re: Export to HTML5 plug-in
On desktop PCs, the rotation is performed by the mouse. How to implement 3D object rotation on mobile devices? Http://free-pc.ru/3D/septic/kolca/viewHome-2.html