简体   繁体   English

从Google AMP缓存网址提供服务时,AMP视频停靠在iOS上不起作用

[英]AMP-video-docking doesn't work on iOS when served from Google AMP Cache url

When using amp-video-dock component and the AMP page is using Google AMP Caches the docking effect isn't working on iOS/safari. 当使用amp-video-dock组件并且AMP页面正在使用Google AMP缓存时,停靠效果在iOS / Safari中不起作用。

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

I see the same behavior also on the AMP Demo 我在AMP演示上也看到了相同的行为

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

I see that the Google cache uses the following experiments for the components 我看到Google缓存对组件使用了以下实验

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

But when I turned on video-dock on my browser I don't see any effect. 但是,当我在浏览器上打开视频扩展坞时,我看不到任何效果。

Any ideas about this issue? 关于这个问题有什么想法吗?

Thank you for the question. 感谢你的提问。 Unfortunately video docking is not supported on iOS inside the AMP Viewer due to limitations on the iOS Safari side ( https://medium.com/@dvoytenko/amp-ios-scrolling-and-position-fixed-b854a5a0d451 ). 不幸的是,由于iOS Safari方面的限制,在AMP Viewer中的iOS上不支持视频停靠( https://medium.com/@dvoytenko/amp-ios-scrolling-and-position-fixed-b854a5a0d451 )。 I made an issue for documenting this on github . 我在github上记录这个问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM