ampproject / ampproject/amphtml

Videos using amp-video-docking don't show docking controls when used with amp-next-page

Open
#34,935 1 comment 0 reactions 1 assignee Assigned to @alanorozco View on GitHub
Component: amp-next-page Component: amp-video-docking P2: Soon Stale Type: Bug WG: components
Dominant language
JavaScript
Stars
14.9k
Forks
4.1k
PR merge metrics
No merged PRs in 30d

Description

### Description

AMP videos, when used with amp-next-page, don't show docking controls or docking overlays. However, if a video is present before the amp-next-page setup, the subsequent videos in the list work fine.

### Reproduction Steps

Here's a Glitch example made using an existing amp-next-page example: https://obsidian-evergreen-november.glitch.me
Code: https://glitch.com/edit/#!/obsidian-evergreen-november

Add the video component to either views/article1.html or views/article2.html. Docking works, however, docking overlay doesn't show up.

If you add the same video to views/layouts/index.html, the docking overlays in article1.html/article2.html work fine.

### Relevant Logs

_No response_

### Browser(s) Affected

_No response_

### OS(s) Affected

_No response_

### Device(s) Affected

_No response_

### AMP Version Affected

_No response_

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.