Giter VIP home page Giter VIP logo

Comments (5)

dyingsunlight avatar dyingsunlight commented on July 17, 2024 1

Regrettably, that's not possible because the core rendering engine is not open-source. The purpose of this library is to leverage some interfaces exposed by the online XMind Share website to load any user files. This way, we can better utilize the interface to customize the display content without needing to upload the files to the XMind Share server.

from xmind-embed-viewer.

alfem avatar alfem commented on July 17, 2024

I supposse I can not use this viewer in an Intranet website behind firewalls. Am I right?

from xmind-embed-viewer.

dyingsunlight avatar dyingsunlight commented on July 17, 2024

I supposse I can not use this viewer in an Intranet website behind firewalls. Am I right?

Firstly, you should check your Content Security Policy (CSP). If your website restricts the embedding of iframes from certain sources, it indeed won't load or function unless you allow xmind.app as a source for iframe loading.

Secondly, once you've confirmed that the loading of the iframe hasn't been blocked by the browser, if you're still unable to load the file, you should check whether your file is being correctly loaded and provided. This includes checking the file's CORS policy and whether it's a valid file format, etc.

If you're still encountering issues after going through the above checks, please provide the specific error details to us to slove the problem.

from xmind-embed-viewer.

alfem avatar alfem commented on July 17, 2024

I think I must clarify the 'Intranet' concept. Our users are in a corporate private network. Our intranet servers are in that network and users can browse webpages served by them. But neither users nor servers can access the Internet. If a frame, library or anything is not pre-downloadable and installed in our intranet servers by our tech team, then it just will not work.

from xmind-embed-viewer.

dyingsunlight avatar dyingsunlight commented on July 17, 2024

I think I must clarify the 'Intranet' concept. Our users are in a corporate private network. Our intranet servers are in that network and users can browse webpages served by them. But neither users nor servers can access the Internet. If a frame, library or anything is not pre-downloadable and installed in our intranet servers by our tech team, then it just will not work.

You are right, the embed viewer does not work without public network access, such as under a DMZ network etc. This is because it loads HTML and scripts from xmind.app.

from xmind-embed-viewer.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.