Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

[Follow up to #8364] When switching tabs, the first playing video always continue playing, and second video pauses. #8406

Open
hffvld opened this issue Nov 14, 2023 · 0 comments

Comments

@hffvld
Copy link
Collaborator

hffvld commented Nov 14, 2023

Description:

Follow-up to #8364

Steps to Reproduce

  1. Launch Brave
  2. Open 2 tabs with https://youtube.com
  3. Play any video in the tab #1 > Switch to the tab #2 > Confirm that video #1 is still playing
  4. Play any video in the tab #2 > Confirm that video #1 is paused and video #2 is playing
  5. Switch back to tab #1 > Observe that video #2 is paused and video #1 is playing automatically
  6. Switch back to tab #2 > Observe that video #2 is still paused and video #1 is playing

Actual result:

When switching tabs, the first playing video always continues playing, and the second video pauses.

2023-11-13_16-02-55.mp4

Expected result:

The behavior in Brave must be similar to what Chrome or Safari does:

  • Chrome. Switching a tab is pausing a video.
  • Safari. Switching a tab is pausing a video. But then plays it again when switched back to that tab, and pauses the other video.

Chrome

2023-11-13_16-08-39.mp4

Safari

2023-11-13_16-10-14.mp4

Reproduces how often: [Easily reproduced, Intermittent Issue]

Easily reproduced

Brave Version:

Brave build: 1.60 (23.11.12.17)
BraveCore: 1.60.114 (119.0.6045.124)
  • Can you reproduce this issue with the most recent build from TestFlight? YES
  • Can you reproduce this issue with the previous version of the current build from TestFlight? YES
  • Can you reproduce this issue with the current build from AppStore? YES

Device details:

iPad Air / iPadOS 16.7.2

Website problems only:

  • did you check with Brave Shields down? YES
  • did you check in Safari/Firefox (WkWebView-based browsers)? YES

Additional Information

Safari on iPhone just pauses the video similar to Chrome.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants