ampproject / ampproject/amphtml

Video should be able to be minimized to an arbitrary slot element Doesn't work on real Mobile device

Open
#22,409 4 comments 0 reactions 1 assignee Claimed by @alanorozco View on GitHub
Component: amp-video & interface Customer: Developer P1: High Priority Stale Type: Bug Type: UX WG: components
Dominant language
JavaScript
Stars
14.9k
Forks
4.1k
PR merge metrics
No merged PRs in 30d

Description

Hello,
Minimizing to an arbitrary slot doesn't work on real mobile devices.

I prepared a test page using the code on AMP advanced docking demo by removing the css part which hide the dock slot on smaller devices to fallback to standard docking and it doesn't consistently dock/undock on any real mobile devices.

Link of the AMP demo:
https://playground.amp.dev/?url=https://preview.amp.dev/documentation/examples/multimedia-animations/advanced_video_docking

Link of my test page :
https://i.plug.it/st/iplug/js/lib/iol/video/test/amp.dock.sample.html

I tested this on Chrome simulating and it works as expected but doesn't work correctly on mobile device.

Please let me know your findings.

Thank you!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.