【问题标题】:AMP-video-docking doesn't work on iOS when served from Google AMP Cache url从 Google AMP Cache url 提供时,AMP-video-docking 在 iOS 上不起作用
【发布时间】:2019-07-23 04:03:42
【问题描述】:

当使用 amp-video-dock 组件并且 AMP 页面使用 Google AMP 缓存时,停靠效果在 iOS/safari 上不起作用。

例如: https://www.google.com/amp/s/www.supereva.it/i-ragazzi-della-iii-c-che-fine-hanno-fatto-i-protagonisti-57782/amp/

我在 AMP 演示中也看到了相同的行为

https://www.google.com/amp/s/amp.dev/documentation/examples/multimedia-animations/advanced_video_docking/preview/?format=mobile

我看到谷歌缓存对组件使用了以下实验

https://cdn.ampproject.org/experiments.html

但是当我在浏览器上打开 video-dock 时,我没有看到任何效果。

对这个问题有什么想法吗?

【问题讨论】:

    标签: amp-html docking


    【解决方案1】:

    感谢您的提问。不幸的是,由于 iOS Safari 端 (https://medium.com/@dvoytenko/amp-ios-scrolling-and-position-fixed-b854a5a0d451) 的限制,AMP 查看器中的 iOS 不支持视频对接。我在github 上记录了这个问题。

    【讨论】:

    • 避免链接到外部资源,因为它们可能会在某些时候出现故障,从而使您的答案对其他用户无用
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多