Navigation

    APPDRAG Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular

    REMINDER

    Please be respectful of all AppDragers! Keep it really civil so that we can make the AppDrag community of builders as embracing, positive and inspiring as possible.

    How can I add EMBED code to the website?

    How-to, Tutorials
    2
    2
    252
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Gabo Bruno
      Gabo Bruno last edited by

      I did not find any section or element, which would be pure <insert code>. I have a beautiful 3D images in http://app.tripbeen.com/bruno-4/at-home-in-prague-21 and there is an option to embed them into any website.
      I can only insert some other components and then replace a code (icon on the right side), but everything disappears. I probably deleted some important part of the code.
      I want just embed for example this code:
      <!-- Start Embed Map -->
      <div style="margin:auto;width:100%;max-width:800px">
      <iframe src="http://app.tripbeen.com/embed-photo360/4-4d504720398b48177e9ed12aba13212f+originals+59454b2db63d6a6ef8753413c2b870cd?fr=fr_cfd09&ratio=0.8"
      id="fr_cfd09" frameborder="0" width="100%"

      </iframe>
      <script>
      (function(){
      var i='fr_cfd09', f=document.getElementById(i), j=document.getElementById(i+'_w');
      window.addEventListener('message', function(m){
      var d=m.data;
      if (d.t==='r' && d.i===i) {f.height=d.v+'px'}
      else if (d.t==='v') {
      j.classList.add('open');
      setTimeout(()=>{j.contentWindow.postMessage({i:d.i,v:d.v},'*');},10);
      }
      else if (d.t==='x') {j.classList.remove('open');}
      }, false);
      }())
      </script>
      </div>
      <style>
      .tb-fs-mw{position:fixed;left:0;top:0;width:100%;height:100%;display:none;background:black;}
      .tb-fs-mw.open{display:block !important;}
      </style>
      <!-- End Embed Map -->

      1 Reply Last reply Reply Quote 0
      • Joseph Benguira
        Joseph Benguira last edited by

        Hello

        You can add a source code block on your page and paste there the code provided by your third party

        we have an example here to paste embed code provided by facebook, but it's the same for any third party code:
        https://integrations.appdrag.com/blog/64-Facebook-Pixel.html

        1 Reply Last reply Reply Quote 0
        • First post
          Last post