amp-fx-parallax demo无法在我的服务器上运行

时间:2017-05-09 09:17:29

标签: amp-html

我将AMP Playground中的代码完全复制到我服务器上的php文件中: https://ampbyexample.com/playground/#url=https%3A%2F%2Fampbyexample.com%2Fcomponents%2Famp-fx-parallax%2Fsource%2F

但它确实在那里工作,谷歌开发工具说:

Experiment "amp-fx-parallax" is disabled.

但它与AMP Playground中的代码完全相同。

1 个答案:

答案 0 :(得分:2)

amp-fx-parallax仍为experimental。您可以在浏览器的开发者控制台中输入:AMP.toggleExperiment('amp-fx-parallax'),在本地启用实验。