The Crocodoc Plugin allows you to upload pdf, doc/docx, ppt/pptx, png and jpg files from WordPress to Crocodoc and embed them in posts using ShortCode
The Crocodoc Plugin requires a valid Crocodoc API key. A free key can be obtained from https://crocodoc.com/dashboard/. Crocodoc's API is free for non-commercial use. For commercial applications, visit https://crocodoc.com/get-started/.
In the Crocodoc Setting page ('Settings' >> 'Crocodoc') enter the api key in the provided field, and select the post types you want Crocodoc to work with. Crocodoc can work with standard posts and pages as well as any defined custom post types. Next, select the actions you want the plugin to take when you remove an attachment from a post, or delete a post with a crocodoc attachment. Be sure to click the 'Save Changes' button.
When creating a post, use the Crocodoc uploader to select a file. Once a file is uploaded and selected, you will be given options to make the document downloadable and/or editable. When the post is published, the file will be uploaded to Crocodoc and associated with the given post.
In the content section of your post use the ShortCode [crocodoc] to display the attached document. The document will be embedded at the default width and height of 500 x 700. Control the size of the document with parameters 'width' and 'height' : [crocodoc width="300" height="500"]