Help with Embedding into Weebly site

  • I've looked through all the other threads and used the search function and am unable to find any help with what I'm trying to accomplish.

    I use Weebly (website builder) to host/run my website for me and up to this point I've been using the google VR View code to show photosphere content however I'm looking to swap over to KRpano if I can get it to work with my specific use case.

    I've tried to use html inserted code into the website and am hosting all the droplet created files in a dropbox folder which can be accessed through links.
    However I'm getting errors when I try and load the demo images into the online HTML.
    The viewer loads but doesn't load the image, just a black screen with the words DEMO on it. and I get an error "ERROR: No Embedding Target" when I try and run the HTML.

    The HTML I'm using to try this is


    <script src="https://dl.dropboxusercontent.com/s/5gw31hv5itrrhiu/krpano.js?"></script>

    <div id="pmill" style="width:100%;height:750px;">

    <script>
    embedpano({swf:"https://www.dropbox.com/s/c7rlmglvo22plye/pano.swf?", xml:"https://dl.dropboxusercontent.com/s/oybx8ur1ayskkmt/pano.xml?", target:"pmill", html5:"auto", mobilescale:1.0, passQueryParameters:true});
    </script>
    </div>

    all within an 'embedd HTML' box on the weebly website builder.

    I can't figure out where I'm going wrong, I've provided an ID for the DIV and a target which points to that DIV with no luck.
    Thanks in advance for any help

    Edited once, last by savage (April 16, 2018 at 4:15 PM).

  • Hi,

    sorry, but I don't know 'Weebly ' and about Dropbox - hasn't Dropbox recently stopped allowing direct linking to files?

    About 'just a black screen with the words DEMO on it':
    Please link to that case? Maybe the xml is empty or the server doesn't return a valid one...

    About 'ERROR: No Embedding Target' - that means there there is no element on the webpage with an "id" that would match the 'target' setting.

    Best regards,
    Klaus

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!