This shortcode allows you to embed various types of documents using Google Document Viewer.

[su_document url="https://www.gnu.org/licenses/gpl-3.0.rtf" responsive="yes"]
Option name Possible values Default value
url
Url to uploaded document. Supported formats: doc, xls, pdf etc.
The URL of uploaded file

none

width
Viewer width
Number from 200 to 1600 600
height
Viewer height
Number from 200 to 1600 600
responsive
Ignore width and height parameters and make viewer responsive
yes or no yes
class
Additional CSS class name(s) separated by space(s)
CSS class name(s) separated by space(s)

none