New issue
Advanced search Search tips

Issue 921577 link

Starred by 1 user

Issue metadata

Status: Started
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome , Mac
Pri: 1
Type: Bug

Blocking:
issue 917303



Sign in to add a comment

Video with no audio in Picture-in-Picture is paused when tab is hidden

Project Member Reported by fbeaufort@chromium.org, Jan 14

Issue description

Chrome Version       : 71.0.3578.98
OS Version: OS X 10.14.2

What steps will reproduce the problem?
1. Go to https://beaufortfrancois.github.io/sandbox/media/picture-in-picture-playground
2. Open DevTools in a separate window
3. Hide window or switch tab
4. From DevTools, call video.requestPictureInPicture to enter Picture-in-Picture.

What is the expected result?
Picture-in-Picture video playback continues

What happens instead of that?
Picture-in-Picture video playback pauses.
And it resumes when tab becomes visible again.

 
Description: Show this description
In the context of Auto Picture-in-Picture (http://crbug.com/917303), this is blocking as muted video in a PWA window that becomes hidden gets paused before entering Picture-in-Picture.
This results in a paused video in a Picture-in-Picture window.

Comment 3 by fbeaufort@chromium.org, Jan 16 (6 days ago)

Labels: OS-Chrome OS-Linux OS-Windows
Owner: fbeaufort@chromium.org
Status: Started (was: Available)
WIP CL at https://chromium-review.googlesource.com/c/chromium/src/+/1412455

Comment 4 by fbeaufort@chromium.org, Jan 16 (6 days ago)

Summary: Video with no audio in Picture-in-Picture is paused when tab is hidden (was: Muted video in Picture-in-Picture is paused when tab is hidden)

Comment 5 by fbeaufort@chromium.org, Jan 17 (5 days ago)

Blocking: 917303
Project Member

Comment 6 by bugdroid1@chromium.org, Jan 18 (4 days ago)

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/3f62f38a104f95d7fbcfdf9c44fc50fc325553eb

commit 3f62f38a104f95d7fbcfdf9c44fc50fc325553eb
Author: François Beaufort <beaufort.francois@gmail.com>
Date: Fri Jan 18 15:05:17 2019

Resume potentially paused video playback if entering Picture-in-Picture

This CL makes sure a video that was paused because it was no longer
visible resumes playback when it enters Picture-in-Picture.

Bug: 921577
Change-Id: I16549389dac16f619d8e06c4263d1e00f2af780a
Reviewed-on: https://chromium-review.googlesource.com/c/1412455
Commit-Queue: François Beaufort <beaufort.francois@gmail.com>
Reviewed-by: Mounir Lamouri <mlamouri@chromium.org>
Reviewed-by: Dale Curtis <dalecurtis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#624125}
[modify] https://crrev.com/3f62f38a104f95d7fbcfdf9c44fc50fc325553eb/chrome/browser/picture_in_picture/picture_in_picture_window_controller_browsertest.cc
[modify] https://crrev.com/3f62f38a104f95d7fbcfdf9c44fc50fc325553eb/chrome/test/data/media/picture-in-picture/window-size.html
[modify] https://crrev.com/3f62f38a104f95d7fbcfdf9c44fc50fc325553eb/media/blink/webmediaplayer_impl.cc
[modify] https://crrev.com/3f62f38a104f95d7fbcfdf9c44fc50fc325553eb/third_party/blink/renderer/modules/picture_in_picture/picture_in_picture_controller_impl.cc

Sign in to add a comment