Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!
  • Guest, before posting your code please take these rules into consideration:
    • It is required to use our BBCode feature to display your code. While within the editor click < / > or >_ and place your code within the BB Code prompt. This helps others with finding a solution by making it easier to read and easier to copy.
    • You can also use markdown to share your code. When using markdown your code will be automatically converted to BBCode. For help with markdown check out the markdown guide.
    • Don't share a wall of code. All we want is the problem area, the code related to your issue.


    To learn more about how to use our BBCode feature, please click here.

    Thank you, Code Forum.

HTML Upload virtual tour on website

Quentin

New Coder
Hello,


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 (se picture here: https://www.cjoint.com/c/LElp6jXF1yR 4). I want to upload it on my website (on wix). 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.

I tried to upload it on my website with this code:


HTML:
‹video width="1200" height="720" controls> ‹source src="https://dl.dropboxusercontent.com/s/ gn7l60lnvdyjh7j/index.htm?raw=1"> frameborder="0" allow="accelerometer; encrypted-media; gyroscope; picture-in-picture" allowfullscreenallow="autoplay </video>


This doesn’t work.


I tryed the example virtual tour on this website: https://www.cloudpano.com/

The tour has this link:
Code:
<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.


When i try this code:
HTML:
<div style="position:relative; height:0; padding-top:56.25%"><iframe style="position:absolute; top:0; left:0; width:100%; height:100%;" src="https://www.dl.dropboxusercontent.com/s/gn7l60lnvdyjh7j/index.htm?dl=0" name="Sans titre 6" width="100%" height="100%" frameborder="0" allowfullscreen="true" allow="fullscreen; accelerometer; gyroscope; magnetometer; vr; xr; xr-spatial-tracking; autoplay; camera; microphone"></iframe></div>


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.
I tryed this code with iframe

HTML:
<iframe src=”https://www.dl.dropboxusercontent.com/s/gn7l60lnvdyjh7j/index.htm?raw=1” width=”600″ height=”450″ frameborder=”0″ style=”border:0;” allowfullscreen=””></iframe>


But it is written 404 not found.


So does anyone know how to do that?
 
Back
Top Bottom