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

    Einmal editiert, zuletzt von savage (16. April 2018 um 16:15)

  • 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

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!