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



Displays a cloud-hosted Slike Player.


Required Scripts

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


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


<amp-slikeplayer required-attribute>
  height: 180
  width: 320


data-apikey The Slike apikey id. This attribute is mandatory.
data-videoid The Slike video content id - videoid. This attribute is mandatory
data-config It is the player configuration passed as string and enentually capturen as query parameter. Few examples autoplay=true, skipad=true etc
data-iframe-src The iframe source can be overriden by users own source. The default template is binded the component
common attributes This element includes common attributes extended to AMP components.


See amp-slikeplayer rules in the AMP validator specification.

Need more help?

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