New issue
Advanced search Search tips

Issue 908400 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android , Windows , Chrome , Mac
Pri: 2
Type: Bug

Blocked on:
issue 919860



Sign in to add a comment

Exit PiP promise never settles when the video element has no source.

Project Member Reported by fbeaufort@chromium.org, Nov 26

Issue description

Google Chrome	70.0.3538.110

What steps will reproduce the problem?

    const video = document.createElement('video');
    video.src = 'http://techslides.com/demos/sample-videos/small.mp4'
    video.requestPictureInPicture()
    video.src = ''
    document.exitPictureInPicture()

What is the expected result?
Picture-in-Picture window closes and promise resolves.

What happens instead?
Picture-in-Picture window stays opened and promise is pending forever.
 
Cc: -mlamouri@chromium.org fbeaufort@chromium.org
Labels: -Pri-3 Target-73 Pri-2
Owner: mlamouri@chromium.org
I think this will be much easier to do when we have a Picture-in-Picture service as today, we need the WebMediaPlayer instance to carry the messages.
Is the Picture-in-Picture service the same as the mojo refactoring?
Yes :)
Blockedon: 919860

Comment 5 by fbeaufort@chromium.org, Yesterday (43 hours ago)

Note that both Canal+ and BBC folks are hitting this issue.

Sign in to add a comment