Fission - PiP from youtube subframe doesn't work
Categories
(Toolkit :: Video/Audio Controls, defect, P3)
Tracking
()
Fission Milestone | M6 |
People
(Reporter: wtds.trabalho, Unassigned)
References
(Blocks 1 open bug, )
Details
Attachments
(5 files)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0
Steps to reproduce:
- On Nightly
- Open: https://www.oficinadanet.com.br/smartphones/29691-samsung-lanca-oficialmente-o-galaxy-s20-s20-e-s20-ultra
- Try to run PiP from incorporated video
- I can't see the PiP button
If I try to force PiP, the modal try to appears but close after.
Actual results:
- I can't use PiP from that site youtube video iframe.
- I can't run PiP from incorporated video
Expected results:
Run PiP from incorporated Youtube videos.
Thanks!
Comment 1•5 years ago
|
||
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:75.0) Gecko/20100101 Firefox/75.0
20200211094607
Works for me.
Comment 2•5 years ago
|
||
(In reply to Gingerbread Man from comment #1)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:75.0) Gecko/20100101 Firefox/75.0
20200211094607Works for me.
Same here on both beta and nightly.
Reporter, can you reproduce on a clean profile?
Reporter | ||
Comment 3•5 years ago
|
||
Hi,
I can try. I will try as soon as possible.
Thanks!
Reporter | ||
Comment 4•5 years ago
|
||
Hi,
now I can see, but when I click, nothing happens.
Thanks!
Comment 5•5 years ago
|
||
Any errors in the browser console (ctrl-shift-j) when you click the item and nothing happens?
Reporter | ||
Comment 6•5 years ago
|
||
Thanks Gijs...
Browser console:
00:24:27.856 pictureinpicture.opened_method - Unknown scalar. 3
00:24:28.993 Request for fullscreen was denied because of FeaturePolicy directives. base.js:1164:37
00:24:29.005 TypeError: Fullscreen request denied base.js:1164:38
00:24:29.124 pictureinpicture.opened_method - Unknown scalar.
view-source:https://www.youtube.com/yts/jsbin/player_ias-vflp5fPn0/en_US/base.js:
hr=function(a){a.requestFullscreen?a.requestFullscreen(void 0):a.webkitRequestFullscreen?a.webkitRequestFullscreen():a.mozRequestFullScreen?a.mozRequestFullScreen():a.msRequestFullscreen?a.msRequestFullscreen():a.webkitEnterFullscreen&&a.webkitEnterFullscreen()};
Reporter | ||
Comment 7•5 years ago
|
||
Comment 8•5 years ago
|
||
00:24:27.856 pictureinpicture.opened_method - Unknown scalar. 3
This scalar is definitely defined ( https://searchfox.org/mozilla-central/source/toolkit/components/telemetry/Scalars.yaml#1022 , though only for Windows... I filed bug 1616045 for this.
The fullscreen requests should be unrelated.
However, I'm confused because in comment #3 you suggested you'd try a clean profile, but the screenshots you posted later have loads of add-on icons in the toolbar. Did you actually try a clean profile?
Reporter | ||
Comment 9•5 years ago
|
||
Hi<
Yes, I will post a print in a clean profile.
Thanks!
Reporter | ||
Comment 10•5 years ago
|
||
Sorry. Now I can open PiP in a clean windows...
But I've got that error in console:
23:04:57.503 can't access property "removeAttribute", controlsOverlay is null 2 PictureInPictureChild.jsm:725
onMouseOverVideo resource://gre/actors/PictureInPictureChild.jsm:725
checkLastMouseMove resource://gre/actors/PictureInPictureChild.jsm:659
mousemoveDeferredTask resource://gre/actors/PictureInPictureChild.jsm:390
_runTask resource://gre/modules/DeferredTask.jsm:333
_timerCallback resource://gre/modules/DeferredTask.jsm:305
_timerCallback resource://gre/modules/DeferredTask.jsm:324
callback resource://gre/modules/DeferredTask.jsm:179
(Async: ChromeUtils::IdleDispatch handler)
_startIdleDispatch resource://gre/modules/DeferredTask.jsm:192
callback resource://gre/modules/DeferredTask.jsm:173
Thanks!
Reporter | ||
Comment 11•5 years ago
|
||
But not working in my current profile with all addons disabled...
Can you help me to find the problem. Not is the addons.
Thanks!
Reporter | ||
Comment 12•5 years ago
|
||
I'm testing HTTP/3 and other browsers flags, WebGL, Webrender.
Maybe that things have influence:
https://gist.github.com/wellington1993/f529adcb88789dd6989c54565626becc
Thanks!
Reporter | ||
Comment 13•5 years ago
|
||
Non clean profile, but without enabled addons.
https://gist.github.com/wellington1993/f529adcb88789dd6989c54565626becc
Thanks!
Comment 14•5 years ago
|
||
(In reply to Wellington Torrejais da Silva from comment #10)
Sorry. Now I can open PiP in a clean windows...
But I've got that error in console:
23:04:57.503 can't access property "removeAttribute", controlsOverlay is null 2 PictureInPictureChild.jsm:725 onMouseOverVideo resource://gre/actors/PictureInPictureChild.jsm:725 checkLastMouseMove resource://gre/actors/PictureInPictureChild.jsm:659 mousemoveDeferredTask resource://gre/actors/PictureInPictureChild.jsm:390 _runTask resource://gre/modules/DeferredTask.jsm:333 _timerCallback resource://gre/modules/DeferredTask.jsm:305 _timerCallback resource://gre/modules/DeferredTask.jsm:324 callback resource://gre/modules/DeferredTask.jsm:179 (Async: ChromeUtils::IdleDispatch handler) _startIdleDispatch resource://gre/modules/DeferredTask.jsm:192 callback resource://gre/modules/DeferredTask.jsm:173
When does this happen? When the PiP window opens, or when it closes, or at some other point? Do you have steps to reproduce this from a clean profile?
(In reply to Wellington Torrejais da Silva from comment #11)
But not working in my current profile with all addons disabled...
Can you go to about:support in that current profile w/ add-ons disabled, click "copy raw data to clipboard", and paste as an attachment at https://bugzilla.mozilla.org/attachment.cgi?bugid=1614827&action=enter ?
Reporter | ||
Comment 15•5 years ago
|
||
Comment 16•5 years ago
|
||
Looks like you're enabling fission and in this case the video (and thus the PiP stuff) is in a subframe. I can reproduce if I restart with fission enabled and load the URL from comment #0. Mike, is that supposed to work at this point and/or is there a different bug tracking this?
Comment 17•5 years ago
|
||
This is being tracked by bug 1575868.
Comment 18•5 years ago
|
||
Gonna backlog this for now; we're aware there's some fission work remaining for PiP and it'll get prioritized as part of that.
Comment 19•5 years ago
|
||
(In reply to :Gijs (he/him) from comment #18)
Gonna backlog this for now; we're aware there's some fission work remaining for PiP and it'll get prioritized as part of that.
Duping to meta bug 1575868 because YouTube is just one case of PiP that will be fixed by bug 1575868.
Description
•