I made a virtual tour that I exported and saved in my dropbox to have a link. The vitruel tour consists of a folder with html code and different images inside. I want to upload it on my website. I have looked at some tutorials that deal with embed link, other tutorials that indicate that with dropbox, it is necessary to modify the link of the virtual tour by adding dl.dropboxusercontent.com or change dl=0 by raw=1, but I can’t do it, because I don’t know much about it.
Has anyone done this before or knows more about it than I do? I think it’s not complicated because I tried with a virtual tour from a website, and it worked (but it was in .js while mine is in .html)
Hi, thanks for your answer, when I publish my virtual tour in the format to upload it on the web, I have a folder which contains files showing in this picture: https://www.cjoint.com/c/LElp6jXF1yR
The tour has this link: <div id="MMqLrAhy2oN"><script type="text/javascript" async data-short="MMqLrAhy2oN" width="100%" height="500px" src="https://app.cloudpano.com/public/shareScript.js"></script></div>
And it works on my website. I understand that the second is javascript and the first is html.
I don’t know, my site is on wix, for my carousels I used dropbox so I thought I would do the same. I don’t know if I can and how to upload the folder of my virtual tour on the wix server
Okay and do you know how to code the html display? I also tried with iframe but it doesn’t display on my website. Is it necessary to code a java script which launches the display of the html?
Does in need to be in a frame, or are you wanting to see the tour as a standalone “page”?
As a page, you would simply link to the location of the tour HTML, like any other page.
To embed it, I would assume an iframe to work, though sizing may be an issue.
I wouldn’t think video was an appropriate element, unless it is in fact a video.
it open a window to know where I want to save the html file (but this is not that I want). If I change the dl=0 by raw=1 at the end of the source link, this is the same thing.
In case, do you know some other host which allow the html rendering?
Edit: I changed the path of the images and the .js and .css scripts in the html file. When I open my html file with a code editor, if I click on an image link, it opens correctly in my web browser. But when I want to launch the html, it stays on please wait… Here is th changed html file: https://www.cjoint.com/c/LErbyLysmeR
Any ordinary hosting will allow HTML to be rendered but I get the impression you are looking for free hosting.
Free hosting is available from a number of websites. I have free hosting at AwardSpace and InfinityFree but when accessing web pages there my antivirus throws up phishing warnings. Also emails from form submissions are not transmitted. I expect both these limitations are due to spammers trying to use the free hosting. On AwardSpace your carousel is currently working here: http://create.mywebcommunity.org/honogan.html. (note it’s not on World Wide Web). A friend is using free Google Sites for a sports club website with impressive functionality but I don’t think that allows you to upload your own HTML content.
Thanks for the information, I think I’m starting to understand things a little better. I noticed that for the carousel on my wix site, I have directly on my page inserted an html code with the carousel code that will seek the images from my dropbox. I think that’s why it works, I don’t render an html file, I just get the images.
For my virtual tour I tried to do the same thing. I looked in the html at all the files that were called like images, .js scripts and fonts.css.
I modified the font.css file that called fonts, I put the dropbox links of the fonts.
I modified the html file by putting the link of all the called files (the images, the .js and .css).
I integrated on my wix site a box to put a html link. When I look at the preview, it just says please wait.
So here, the html rendering is on my site, and the code fetches images and files stored on my dropbox (like for the carousel). But my render is not displayed correctly so two hypothesis (1) the files are not downloading from dropbox (which is strange because it works for the carousel) or (2) there is a problem in my html code although I was careful to change everything that is called. A last solution would be to maybe find another cloud to just save the files (because my website is already hosted in wix, I juste need a good link of the files).
From your Wix screenshot it looks like you can add a code snippet to go within a <div> element. You are adding the code for a complete HTML web page.
I suggest you delete everything that is not within <load><script> and <style> tags. That includes deleting <!DOCTYPE html>, <html>, <head>, </head>, <body onload="onload()">, </body>, </html>, the title and all meta tags.
Add an extra line to the end of the code to get the JavaScript to run: <script>onload();</script>