France
Joined: Nov 7, 2005
Post Count: 9418
Status:
Offline
Re: Export to HTML5 plug-in
If Ground3D is not defined, it must mean that some JS files are missing or have been truncated. Did you check in the JS debugger of your browser what JS files are available?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
Joined: Feb 5, 2013
Post Count: 137
Status:
Offline
Re: Export to HTML5 plug-in
JS debugger I don't know how to use. But the Export to HTML5 plug-in exported viewHome.html is working. The same site and browser, the wordpress SH3D plugin doesn't work ================= document.registerElement is deprecated and will be removed in M73, around March 2019. Please use window.customElements.define instead. See https://www.chromestatus.com/features/4642138092470272 for more details. module.exports.registerElement @ aframe-v1.0.4.min.js?ver=5.9.1:901 107.../utils/ @ aframe-v1.0.4.min.js?ver=5.9.1:899 o @ aframe-v1.0.4.min.js?ver=5.9.1:1 (anonymous) @ aframe-v1.0.4.min.js?ver=5.9.1:1 108../a-entity @ aframe-v1.0.4.min.js?ver=5.9.1:901 o @ aframe-v1.0.4.min.js?ver=5.9.1:1 (anonymous) @ aframe-v1.0.4.min.js?ver=5.9.1:1 112.../../lib/three @ aframe-v1.0.4.min.js?ver=5.9.1:909 o @ aframe-v1.0.4.min.js?ver=5.9.1:1 (anonymous) @ aframe-v1.0.4.min.js?ver=5.9.1:1 155.../package @ aframe-v1.0.4.min.js?ver=5.9.1:995 o @ aframe-v1.0.4.min.js?ver=5.9.1:1 r @ aframe-v1.0.4.min.js?ver=5.9.1:1 (anonymous) @ aframe-v1.0.4.min.js?ver=5.9.1:1 (anonymous) @ aframe-v1.0.4.min.js?ver=5.9.1:1 (anonymous) @ aframe-v1.0.4.min.js?ver=5.9.1:1 aframe-v1.0.4.min.js?ver=5.9.1:995 A-Frame Version: 1.0.4 (Date 2020-02-05, Commit #2b359246) aframe-v1.0.4.min.js?ver=5.9.1:995 three Version (https://github.com/supermedium/three.js): ^0.111.6 aframe-v1.0.4.min.js?ver=5.9.1:995 WebVR Polyfill Version: ^0.10.10 sweethome3dembed-public.js?ver=1.0.0:14 ReferenceError: Ground3D is not defined at HomeComponent3D.createGroundNode (viewhome.min.js?ver=1.0.0:20) at HomeComponent3D.createSceneTree (viewhome.min.js?ver=1.0.0:20) at HomeComponent3D.createComponent3D (viewhome.min.js?ver=1.0.0:20) at new HomeComponent3D (viewhome.min.js?ver=1.0.0:20) at HomePreviewComponent.createComponent3D (viewhome.min.js?ver=1.0.0:20) at Object.homeLoaded (viewhome.min.js?ver=1.0.0:20) at HomeRecorder.parseHomeXMLEntry (viewhome.min.js?ver=1.0.0:20) at Object.zipReady (viewhome.min.js?ver=1.0.0:20) at XMLHttpRequest.<anonymous> (viewmodel.min.js?ver=1.0.0:20)
Belgium
Joined: Dec 26, 2021
Post Count: 28
Status:
Offline
Re: Export to HTML5 plug-in
Hi all,
Ok, I found it, I was searching for answers but didn't look at html code, sorry for the question.
In the <head><style type="text/css"> of viewHome.html file:
<style type="text/css"> /* The class of components handled by the viewer */ .viewerComponent { } /* To display the viewer in full screen, uncomment the 3 following styles */
---------------------------------------- Dubito, ergo sum
Mobo: ASUS TUF GAMING Z690-PLUS CPU: Core i9-12900K RAM: 32 GB DDR4 3200 Ghz GPU: MSI GeForce GTX 1660 SUPER 6G OS: Win 11 Pro 3D: SH3D 6.6.1 and Blender
Germany
Joined: May 25, 2022
Post Count: 3
Status:
Offline
Re: Export to HTML5 plug-in
Hello.
I have Firefox for IOS on my iPhone 11 and this is my default browser. If I open the link to my plan in Firefox (hosted on an external server), I get an "Error: Script Error" have to click "OK" about 60 - 70 times, otherwise Firefox does not work anymore. In Safari it works as expected.