Embed Web stories into AMP

The following code will embed a CleverPush web story into an AMP page by using the official „amp-story-player“ element.

 

Head (Script):

<script async custom-element=“amp-story-player“ src=“https://cdn.ampproject.org/v0/amp-story-player-0.1.js“ ></script>

 

Body (Content):

<amp-story-player layout=“fixed“ width=“360″ height=“600″>
  <a href=“https://stories.example.com/story-url-here„>Story Name</a>
</amp-story-player>

Jetzt unverbindlich testen

Unverbindliche Testphase, endet automatisch nach 30 Tagen
Cookie Consent mit Real Cookie Banner