How to use the Podigee Podcast Player on AMP pages

To use the Podigee-Podcast-Player on AMP pages a special embed code is required. It can be created from the information included in the standard embed code.

Standard embed code

<script src="" data-configuration=""></script>

AMP embed code

For the AMP variant, the URL from the  data-configuration attribute of the standard embed code needs to be complemented with the parameter amp=true and used as the src of the amp-iframe element. If you use a custom theme you will also need to change the height attribute.

<amp-iframe src="" height="150" scrolling="no" sandbox="allow-scripts allow-same-origin allow-top-navigation" layout="fixed-height"></amp-iframe>