Tab should indicate that a <video> inside of it is being viewed in Picture-in-Picture, and perhaps not display the audio indicator
Categories
(Toolkit :: Video/Audio Controls, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox67 | --- | unaffected |
firefox68 | --- | unaffected |
firefox69 | --- | verified |
People
(Reporter: yoasif, Assigned: davejustishh)
References
Details
(Keywords: nightly-community)
Attachments
(2 files)
On Ubuntu Disco.
STR:
- enable media.videocontrols.picture-in-picture.enabled
- Visit https://www.youtube.com/watch?v=3WQHDUYk310
- Right click twice on video, choose Picture in Picture
What happens:
Video pops out, but audio can't be heard.
Expected result:
Audio should continue playing.
Reporter | ||
Updated•6 years ago
|
Updated•6 years ago
|
Updated•5 years ago
|
Comment 4•5 years ago
|
||
Hi Asif Youssuff, can you confirm that this is no longer an issue with bug 1521964 fixed?
Reporter | ||
Comment 5•5 years ago
|
||
Mike, I now hear audio, but the pop-out acts differently than I expect -- now, the audio seems to be coming from the tab that the video is popped out from - the mute button appears in the tab, and I can't pause the video based on focusing the pop-out.
Is that expected? It feels weird that the video is popped out but the audio is coming from the tab - feels more like ventriloquism than PIP.
Comment 6•5 years ago
|
||
(In reply to Asif Youssuff from comment #5)
Mike, I now hear audio, but the pop-out acts differently than I expect -- now, the audio seems to be coming from the tab that the video is popped out from - the mute button appears in the tab, and I can't pause the video based on focusing the pop-out.
Controlling the playback within the popped out video is something that still needs to be finished.
Is that expected? It feels weird that the video is popped out but the audio is coming from the tab - feels more like ventriloquism than PIP.
Can you describe what you mean by "the audio is coming from the tab"? Is this because the audio is controlled from the originating tab? FWIW, this is how Picture in Picture works in Opera, Safari and Chrome.
Reporter | ||
Comment 7•5 years ago
|
||
Can you describe what you mean by "the audio is coming from the tab"? Is this because the audio is controlled from the originating tab? FWIW, this is how Picture in Picture works in Opera, Safari and Chrome.
I guess I should play with the other browsers in this case. ;)
But yeah, that is the gist of the issue -- perhaps duplication of video is expected, but I guess I expected that the tab would no longer be playing sound and the popped out video would be playing the sound. In Chromium, at least, it seems like the video is not duplicated in the initial tab, but instead says "This video is playing in picture in picture mode" and the speaker indicator is not shown in the tab. Using the player's volume controls in Chromium seems to work, but the audio seems to be coming from the popped out video.
Comment 8•5 years ago
|
||
(In reply to Asif Youssuff from comment #7)
but instead says "This video is playing in picture in picture mode" and the speaker indicator is not shown in the tab. Using the player's volume controls in Chromium seems to work, but the audio seems to be coming from the popped out video.
Right - this is bug 1531101. Let's wait for that one to be fixed, and we'll revisit this one to make sure it's behaving as you expect.
Comment 9•5 years ago
|
||
Hi Asif,
Now that bug 1531101, and is available in Nightly, does it match your expectations, audio-wise? Or am I still misunderstanding the bug?
Reporter | ||
Comment 10•5 years ago
|
||
Mike,
Just tested the newest build. bug 1531101 definitely improves things, but I think that the way Chromium does it is still better than Firefox, since it stops showing the speaker icon when in PIP mode, and instead shows a PIP icon (attached). When the video is popped back into to the page, Chromium then shows the speaker icon again.
As mentioned previously, the speaker icon makes it seem like the audio is coming from the parent window - there is a visual disconnect that feels like ventriloquism, so it doesn't feel like the audio is coming from the popped out window.
Updating the icon would clear up that disconnect, imo.
Comment 11•5 years ago
|
||
Ah, I think I understand. Okay, thank you.
I'll see if I can get UX's take on this on how we should proceed.
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 12•5 years ago
|
||
Comment 13•5 years ago
|
||
Pushed by mconley@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1c62e73258b4 Show PiP Icon in parent tab of media. r=mconley
Comment 14•5 years ago
|
||
bugherder |
Comment 15•5 years ago
|
||
Since the status are different for nightly and release, what's the status for beta?
For more information, please visit auto_nag documentation.
Updated•5 years ago
|
Updated•5 years ago
|
Comment 16•5 years ago
|
||
It looks like .tab-icon-sound and .tab-icon-pip are mutually exclusive, and this could have been implemented as another variation of .tab-icon-sound? Why did you choose to add a separate element instead?
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 17•5 years ago
|
||
Why did you choose to add a separate element instead?
Initially we hadn't decided if we were going to show the .tab-icon-sound
beside the .tab-icon-pip
element.
this could have been implemented as another variation of .tab-icon-sound
True, happy to fix this up.
Comment 18•5 years ago
|
||
Build ID 20190626093633
User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0
Verified as fixed on the latest Nightly build on Windows 10.
Description
•