1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Embedding HMTL code for document viewers?

Discussion in 'XenForo Pre-Sales Questions' started by Deepmartini, May 21, 2011.

  1. Deepmartini

    Deepmartini Well-Known Member

    Is it possible to embed document viewers like http://www.issuu.com or http://www.calameo.com within a thread? What about the Google document viewer? That way we can make PDF's viewable within the thread itself without people having to download an attached document. And people could leave comments underneath it.
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

  3. Deepmartini

    Deepmartini Well-Known Member

    This is a test.

    HTML:
    <!-- Copy paste this HTML code in your webpage //-->
    <div>
    <object id="calameo-viewer-0006975760b976c05d931-1306000676" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="500">
      <param name="movie" value="http://v.calameo.com/2.1/cviewer.swf?bkcode=0006975760b976c05d931&amp;langid=en" />
      <param name="quality" value="high" />
      <param name="wmode" value="opaque" />
      <param name="allowscriptaccess" value="always" />
      <param name="allowfullscreen" value="true" />
      <param name="swfversion" value="9.0.45.0" />
      <!--[if !IE]>-->
      <object id="calameo-viewer-inner-0006975760b976c05d931-1306000676" type="application/x-shockwave-flash" data="http://v.calameo.com/2.1/cviewer.swf?bkcode=0006975760b976c05d931&amp;langid=en" width="100%" height="500">
        <!--<![endif]-->
        <param name="quality" value="high" />
        <param name="wmode" value="opaque" />
        <param name="swfversion" value="9.0.45.0" />
        <param name="allowscriptaccess" value="always" />
        <param name="allowfullscreen" value="true" />
        <script type="text/javascript" src="http://s1.calameoassets.com/calameo-v4/widgets/loader/cloader.js"></script>
        <!--[if !IE]>-->
      </object>
      <!--<![endif]-->
    </object>
    </div>
     
  4. Deepmartini

    Deepmartini Well-Known Member

    Hmmm didn't work.
     
  5. Brogan

    Brogan XenForo Moderator Staff Member

    HTML is not permitted in posts.
     
  6. Deepmartini

    Deepmartini Well-Known Member

    Can admins put HTML in posts? How else can we get this to work?
     
  7. Brogan

    Brogan XenForo Moderator Staff Member

    Not without an add-on.

    As I posted above, you can do it with a custom BB Code, as others already have done.
     
  8. Deepmartini

    Deepmartini Well-Known Member

    What's a custom BB code? Where do we get that?
     
  9. Brogan

    Brogan XenForo Moderator Staff Member

Share This Page