Important: this documentation is not applicable to your currently selected format ads!



An amp-powr-player component displays the Powr Player as configured in the Powr platform.

Required Scripts

<script async custom-element="amp-powr-player" src=""></script>


The width and height attributes determine the aspect ratio of the player embedded in responsive layouts.




data-account (required) The Powr account id.
data-player (required) The Powr player id.
data-video (required if data-terms isn't provided) The Powr video id. Normally a string if characters.
data-terms (required if data-video isn't provided) A space separated list of keywords that describe the page displaying the player. Used to fetch a playlist relevant to the site content.
data-referrer Sets the referrer to be used for analytics within the player. This supports AMP variables such as EXTERNAL_REFERRER.

All data-param-* attributes will be added as query parameter to the player iframe src. This may be used to pass custom values through to player plugins, such as ad parameters or video ids for Perform players.

Keys and values will be URI encoded. Keys will be camel cased.

  • data-param-geo="us" becomes &geo=us
  • data-param-custom-data="key:value;key2:value2" becomes &customData=key%3Avalue%3Bkey2%3Avalue2
autoplay If this attribute is present, and the browser supports autoplay, the video will be automatically played as soon as it becomes visible. There are some conditions that the component needs to meet to be played, which are outlined in the Video in AMP spec.
common attributes This element includes common attributes extended to AMP components.


See amp-powr-player rules in the AMP validator specification.

Benötigst du noch Hilfe?

Du hast dieses Dokument mehrmals gelesen, hast aber immer noch Fragen? Vielleicht hatten andere Nutzer das gleiche Problem: Schau doch bei Stack Overflow vorbei und lass dir von ihnen helfen.

Zu Stack Overflow wechseln
Möchtest du einen Bug oder ein fehlendes Feature melden?

Das AMP Projekt ist auf deine Teilnahme und deine Beiträge angewiesen! Wir hoffen natürlich, dass du dich aktiv an unserer Open Source Community beteiligen wirst. Aber wir freuen uns auch über einmalige Beiträge zu den Themen, die dich besonders interessieren.

Zu GitHub wechseln