Embed Any Document
  • Introduction
  • Getting Started
    • Installation
    • FAQ
  • Embedding Documents
    • Adding Documents
    • Uploading a Document
    • Add from Google Drive
    • Add from Dropbox
    • Add from Box.com
    • Add from OneDrive
  • Settings
    • General Settings
    • APIs & Credentials
    • Account
  • Viewers
  • Shortcode & Attributes
  • Configuring Cloud APIs
    • Getting Dropbox API Key
    • Getting Google Drive API
    • Getting Box.com API
    • Getting OneDrive Application ID
Powered by GitBook
On this page

Was this helpful?

Shortcode & Attributes

Example of a shortcode supported by Embed Any Document plugin is below

[embeddoc url="http://awsm.in/ppt.pptx" width="550px" height="700px" download="none" viewer="microsoft"]

Attributes are explained below

url

File URL Accepted Arguments: valid file URL

width

Width of document either in px or in %. Accepted Argument Examples: 90% , 590px etc.

height

Height of document in px. Accepted Argument Example: 500px.

download

Show or hide download link. Accepted Arguments: all – For all user logged – For logged user none – no download

viewer

Service provider Accepted Arguments: google, drive, box, microsoft

cache

Disables cache for documents embedded using Google Docs Viewer Accepted Argument: off

text

Changes default download button text Accepted Argument: Text input

boxtheme

To choose embed theme for Box.com embeds Accepted Arguments: dark,light

PreviousViewersNextGetting Dropbox API Key

Last updated 4 years ago

Was this helpful?