I have a website and i want to embed my twitch live in the standard version of the site and also in the Google AMP version, but i have problems with this last one.
This is a standard page, and the embedding works
If I add “amp” at the end of the link, all work well, but when i try to search this page on google, i have another AMP link:
In this link the embed video doesn’t work.
ATTENTION - You have to open it from a mobile device, not desktop, beacause with a pc there is a redirect to the standard version.
I have used the amp-iframe script in the header:
< script async custom-element=“amp-iframe”
src=“https://cdn.ampproject.org/v0/amp-iframe-0.1.js”>< / script>
And this one in the first single content area:
< amp-iframe width=“400” height=“225”
< / amp-iframe>
Thanks in advance if someone can help me.