AMP

amp-google-document-embed

Description

Displays a document file supported by Google Drive.

 

Required Scripts

<script async custom-element="amp-google-document-embed" src="https://cdn.ampproject.org/v0/amp-google-document-embed-0.1.js"></script>

Usage

The amp-google-document-embed component displays document files like Word documents, Excel spreadsheets, and PDFs.

Example:

<amp-google-document-embed
  src="https://www.example.com/document.pdf"
  width="800"
  height="600"
  layout="responsive"
>
</amp-google-document-embed>

Attributes

src

The URL of the document.

common attributes

This element includes common attributes extended to AMP components.

Validation

See amp-google-document-embed rules in the AMP validator specification.

さらに支援が必要ですか?

このドキュメントを何度読み返しても、ご質問のすべてを完全に解消することができませんか?他にも同じ事を感じた人がいるかもしれません。Stack Overflow で問い合わせてみましょう。

Stack Overflow にアクセスする
バグや不足している機能がありますか?

AMP プロジェクトでは皆さんの参加と貢献を強くお勧めしています!当社はオープンソースコミュニティに継続的にご参加いただくことを希望しますが、特に熱心に取り組んでいる問題があれば1回限りの貢献でも歓迎します。

GitHub にアクセスする