Hi @javier-lorente,
Can you tell me how are you adding youtube videos?
Quick solution: Just add the amp-youtube js in Advance settings->Header
I add the simple URL in “visual” mode
Hi @javier-lorente,
can you share a sample URL?
Till then please add this js in Settings->Advanced Settings->Enter HTML in Header
<script async custom-element="amp-youtube" src="https://cdn.ampproject.org/v0/amp-youtube-0.1.js"></script>
an example where I put the two forms, pasting the url of youtube into the visual editor (which generates a tag in the code amp, amp-youtube) and also onendo the iframe code that you give in youtube.com that then generates a tag <amp-iframe that requires the iframe.js library, which does not refer to the code you can see it at https://cursos.com/prueba-video-youtube/ If I put the two js in advance settings> header. solve, thank you very much!
Hi @javier-lorente
I’m glad to see that your issue has been solved.
It was resolved by always putting the reference to .jsen the “advanced” field, but I do not know what would happen if I removed it. We try