browser.tabs.captureVisibleTab doesn't capture video player content (video player have black screen)
Categories
(GeckoView :: General, defect)
Tracking
(firefox134 affected, firefox135 affected, firefox136 affected)
People
(Reporter: mironnesvetaylov, Unassigned, NeedInfo)
Details
Attachments
(1 file)
3.94 KB,
application/zip
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Steps to reproduce:
- Install the attached extension on your Android device.
- Go to YouTube (or any website with a video player) and start watching any video.
- Open the extension popup and press the "Take Screenshot" button.
Actual results:
The tab page was successfully captured and inserted into the popup, but the video player appears black. I have attached a video for better understanding. (The extension and the screen recording are in one archive because I am unable to attach multiple files here.)
Note: You might think the black screen of the video player is due to opening the popup window, but it also occurs when I capture a screenshot through repl when debugging the extension without opening the popup.
Expected results:
The screenshot should contain the video player content.
Reporter | ||
Comment 1•5 months ago
|
||
Due to the 10MB limit, I was unable to attach the ZIP archive, so I uploaded it to Dropbox
Comment 2•5 months ago
|
||
Hello,
I reproduced the issue on the latest Nightly (136.0a1 Build #2016066663, hg-bf40d95ccc9b+,
GV: 136.0a1-20250108093633, AS: 136.20250107050243), Beta (135.0b1 Build #2016066343, hg-a1e5d1f58aca+, GV: 135.0-20250106170344, AS: 135.0) and Release (134.0 Build #2016064983, hg-b8005f63d9eb+, GV: 134.0-20241230151726, AS: 134.0) for Android on an Oppo Reno6 5G running Android 13.
The screenshot taken via the extension does not contain the video player content and appears black.
Comment 3•5 months ago
|
||
The severity field is not set for this bug.
:willdurand, could you have a look please?
For more information, please visit BugBot documentation.
Updated•4 months ago
|
Comment 4•4 months ago
|
||
This is almost certainly not a bug in extensions framework, but I'm not sure if it's a bug in GV, or some lower layout/rendering layer, so moving to Firefox Untriaged for someone who knows better where it belongs.
Comment 5•4 months ago
|
||
Trying with GeckoView::General
Comment 6•4 months ago
|
||
Attaching test extension here.
It seems to work fine for me on macOS, not sure if it fails with a specific type of video/codec.
Reporter | ||
Comment 7•4 months ago
|
||
(In reply to Francesco Lodolo [:flod] from comment #6)
Created attachment 9468271 [details]
test extension.zipAttaching test extension here.
It seems to work fine for me on macOS, not sure if it fails with a specific type of video/codec.
I forgot to point out in the issue title that the problem only appears in Firefox on Android devices. Everything works fine on PC. Or do you mean something else when you said it works on macOS?
Comment 8•3 months ago
|
||
The severity field is not set for this bug.
:owlish, could you have a look please?
For more information, please visit BugBot documentation.
Description
•