AMP上的Google Form是否需要HTTPS?

我正在尝试在AMP页面上嵌入Google表单,但是当我尝试使用AMP代码时。它只是说“正在加载...”,而Google表单应该位于:http://mogotest.com/amp/purple-mattress-coupon.html(在移动设备上查看)

我到目前为止采取的步骤。 1.我将此代码放在AMP页面的标题中

<script async custom-element="amp-iframe"
  src="https://cdn.ampproject.org/v0/amp-iframe-0.1.js"></script>
  1. 我在页面上放置了此Google表单代码。
<amp-iframe src="https://docs.google.com/forms/d/e/1FAIpQLSeFJf7DVgmzPEE1UfYXE3Oy0aBef80QXmRtLfKd1-b8aek0IQ/viewform?embedded=true" width=“100%” height="678" frameborder="0" marginheight="0" marginwidth="0">Loading…</amp-iframe>

有人知道如何解决此问题,还是我的AMP页面不是HTTPS的问题?

appleapple12 回答:AMP上的Google Form是否需要HTTPS?

您需要将网站移至HTTPS才能使用视频,iframe

在下面的文章中,明确提到了哪些内容适用于http,而没有https则无效。

https://amp.dev/documentation/guides-and-tutorials/start/create/basic_markup/?format=websites

本文链接:https://www.f2er.com/3087938.html

大家都在问