ampproject / ampproject/amp.dev

Problem with multiple videos on Chrome Browser.

Open
#6,884 1 comment 0 reactions 0 assignees View on GitHub
Status: Pending Triage Type: Bug
Dominant language
HTML
Stars
600
Forks
675
PR merge metrics
No merged PRs in 30d

Description

## 🐛 Bug Report
When a page has several videos and a new video is played while another is playing, the previous video should be stopped and not paused because, as it is now, the last video is only paused, causing the Chrome Browser to hit its connection limits per domain.

Please read the bug report here:

https://issues.chromium.org/issues/398288318

### Current behavior
Now, when a new video is played, the old one is only paused, and the Chrome browser delays video playback by over 10 seconds because it is hitting its connection limits.

Please also provide:
- Page link:
- (Optional) Screenshots/videos:

https://www.makewebvideo.com/en/templates/popular

### Expected behavior/code
When a new video starts playing, the previous video stops completely to free up Chrome resources.

### Reproduction procedure
Please provide the steps to reproduce the problem:

1. Press the play button of a video there. When it starts playing, press the play button for the following video... Keep doing that until the problems happen. It won't take long to see a video not playing for 10s or more, and then it starts playing. Since this is not happening on Firefox, I am assuming it's a bug with Chrome. However, I see now that it's also happening on MS Edge.

- What browser are you using?

Please see the Chromium bug report link.

- What O/S are you using?

Please see the Chromium bug report link.

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.