Home › Forums › General Questions › where should the files go ?
- This topic has 8 replies, 2 voices, and was last updated 4 years, 7 months ago by NaxosCG.
-
AuthorPosts
-
2020-05-04 at 1:56 pm #27162NaxosCGCustomer
Hello,
I’m about to deliver my very first Verge3D project (mini soccer table),
and i’d like to know if it is possible to do so :The client has his own web agency that creates and maintains the full web site;
I made the Verge3D part, with some html / v3D interactions;the easy way to maintain the V3D files (new colors, etc) would be to let the web agency to host all needed files, but i’m quite sure that they will charge the client just to copy some files on their hosting servers. and they could bypass me with new colors, editing the xml and files.
So i’d like to keep the V3D hosted on my servers, and let the web agency to host the rest of the web site, with simply iframe pointing to my host and the html.
Firsts tests i’ve made are not ok : if i host all files myself : HTML interaction are working, and if i put only the verge3D-oriented files (so gltf, gx, bin, base html, js and xml files, it does not work : i can see the 3D, but no interaction work.
Can you help me with that, please ? does the full interface html file has to be in the same folder than the verge3D files ?
"1+1=3... for large values of 1"
2020-05-05 at 4:46 am #27171Yuri KovelenovStaff2020-05-05 at 8:39 am #27186NaxosCGCustomerHere is the console, if you can have a look, please. Because i’m not a dev guy, i can’t figure out what is wrong.
"1+1=3... for large values of 1"
2020-05-05 at 8:45 am #27188Yuri KovelenovStaff2020-05-05 at 10:06 am #27205NaxosCGCustomerHum… ok, but i don’t really understand what is a “cross-origin” issue.
Is there a place where i can find the project structure explanations ?
As a remember i’d like to keep Verge3D part on my side, while the containing html website would be hosted elsewhere, the html with buttons that IDs are used in Verge3D puzzles.
"1+1=3... for large values of 1"
2020-05-05 at 10:23 am #27207Yuri KovelenovStaff2020-05-05 at 11:03 am #27211NaxosCGCustomerThat is the point :
the link started from https://cdn.soft8soft.com/…. server works well;
the link started form my own server works also,
both as all files are beside the verge3D project files.But what i’m trying to do is to get this project in iframe in a html file that is not in the same server / host.
It seams that it is not possible, as you said before.
“The html interface should be hosted in the same domain than the app”.Maybe this could be a request to let it be possible, if technically it is possible, that i don’t know.
btw, the project is here :
https://cdn.soft8soft.com/AROAJSY2GOEHMOFUVPIOE:4f921f28ff/applications/stella-champion/StellaChampion-responsive.html
All is there, so it works.If i try to access to another domain : use this one
https://cdn.soft8soft.com/AROAJSY2GOEHMOFUVPIOE:4f921f28ff/applications/stella-champion/StellaChampion-responsive-AirVB.html
Does not work."1+1=3... for large values of 1"
2020-05-06 at 8:32 am #27252Yuri KovelenovStaff2020-05-06 at 10:19 am #27259NaxosCGCustomerthat’s right – everything must be on the same domain – this is hardcoded in the web
so you can just upload 3D content to your own website rather than Verge3D Network (CDN)
Ok i get it.
Not really a problem, but than means that 3D guy and web guys will have to cooperate"1+1=3... for large values of 1"
-
AuthorPosts
- You must be logged in to reply to this topic.