AMP on Blog

Hello community!
We’d like to use AMP for our blog posts. Unfortunately, there seems no way to really use the full featureset of AMP in the blog. Does anybody have a similar problem and got a solution? An answer from the Hubspot team is also highly appreciated.

I will describe the problem in detail and add a feature request in the end.

Our problem

As we are working in the audio production area, we put our podcasts or small snippets of podcasts into our blog posts. That’s why it is a requirement to have at least somehow a player or in the best case our branded player (using javascript and so on) embedded in our blog posts no matter whether AMP is enabled or not.
We totally understand what AMP is all about, so we are willing to use the special AMP audio components instead of “heavy” javascript. But it seems that we are not able to implement any “AMP native” components into the blog code which then will render correctly as AMP player. The only thing we could get running was the iframe component but it isn’t the best solution for us to have an iframe in both our normal and the AMP blog.
My feature request
It would be great to use the native audio-tag (or other components) to get it converted into AMP audio without any hassle.

In addition, it would be awesome to have kind of a switch which can be used to determine, what will be used for the normal blog and what is optimized for AMP pages. I could imagine something like this:

{% if AMP_enabled %}
<amp-audio></amp-audio>
<!-- or an amp iframe which will load a small page with our custom player -->
{% else %}
<audio id="ourcustomplayer"></audio>
<!-- this will rely on a custom javascript code -->
{% endif %}

Does anybody else could need these features?
@Hubspot What do you think about it?

Thanks in advance!

**
_hubspot-button-accept-as-solution-gif-v00.gif
**

Does this post help you? If so, then help others by accepting it as a solution.

Excellent suggestions. You may wish to add them to a new or existing thread in HubSpot Ideas.

You’ll typically get much more traction from the HubSpot Community AND the Ideas Forum is where HubSpot Product Teams monitor suggestions for popularity -- i.e., VOTES! :slightly_smiling_face:

Hope that helps.



hubspot-forum-signature-badge-v01.png

www.MFrankJohnson.com

Please include @MFrankJohnson in your message if you’d like me to reply.

@MFrankJohnsonthanks for the hint! I created an idea:

https://community.hubspot.com/t5/HubSpot-Ideas/Improving-AMP-on-Blog/idi-p/195825#M19014

Great @hffmr. I upvoted for you. Please mark as solved so more searchers will view this post. Thanks