|Description||Displays a document file supported by Google Drive.|
|Required Script|| |
|Supported Layouts||fill, fixed, fixed-height, flex-item, nodisplay, responsive|
|Examples||See AMP By Example's amp-google-document-embed example.|
amp-google-document-embed component displays document files like Word documents,
Excel spreadsheets, and PDFs.
<amp-google-document-embed src="https://www.example.com/document.pdf" width="800" height="600" layout="responsive" > </amp-google-document-embed>
The URL of the document.
This element includes common attributes extended to AMP components.
See amp-google-document-embed rules in the AMP validator specification.
You've read this document a dozen times but it doesn't really cover all of your questions? Maybe other people felt the same: reach out to them on Stack Overflow.Go to Stack Overflow Found a bug or missing a feature?
The AMP project strongly encourages your participation and contributions! We hope you'll become an ongoing participant in our open source community but we also welcome one-off contributions for the issues you're particularly passionate about.Go to GitHub