This article is for users of the Acast Create embed player. If you are unsure whether you are an Acast Create or Acast Open user, please reach out via Intercom.
What is AMP?
AMP stands for Accelerated Mobile Pages - it's a standard developed by Google that allows webpages to load faster. The Acast embed player can be used with AMP on your website to reduce the complexity of your code, make set up simple and make the loading of you show faster.
How do I use AMP?
The AMP iFrame documentation has more detail on how to use AMP with the embed player to create a valid iFrame.
AMP and oEmbed
For ease of use, Acast includes the AMP iFrame code within the oEmbed API response.
Example API call:
Response (AMP section):
"amp":"<amp-iframe width=\"600\" height=\"180\" layout=\"responsive\" title=\"218. Tenet & Irresistible\" sandbox=\"allow-scripts allow-same-origin\" frameborder=\"0\" src=\"https://embed.acast.com/film-chat/218.tenet-irresistible\"></amp-iframe>"